refactor: remove 4425 lines of migrated duplicates#517
Merged
Conversation
…534 Updated 4 files to import from ../math_bridge.zig: - src/gravity/math_formulas.zig - src/gravity/einstein_bridge.zig - src/blind_spot/unified_framework.zig - src/brain/microglia.zig (comment already correct) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Удалены файлы, перенесённые в zig-golden-float и trinity-training: - JIT, бенчмарки, загрузчики данных (mnist/cifar10) - bigint, hybrid, packed_trit, packed_vsa - math/gen_*, formats.zig, constants.zig - cifar-10-python.tar.gz (35 MB) Файлы уже существуют в соответствующих репозиториях.
- Convert `build.zig` → `build.zig.tri` (VIBEE spec format) - Add `golden_float` package dependency via zig-pkg - Remove legacy .bak2 files from brain/ and storm/
Extract Knowledge Graph components from Trinity: - knowledge_graph.zig (26KB) — RDF triples storage - kg_server.zig (57KB) — HTTP API for KG operations - kg_cli.zig (19KB) — CLI for KG management Total: ~102KB extracted from monolith. Добавлены: - build.zig.zon — с зависимостью от zig-golden-float - README.md — документация репозитория - LICENSE — MIT лицензия Разгружка монолита: часть плана экосистемы.
…pository - Extract sequence_hdc.zig (510KB) to zig-hdc - Extract vsa.zig, vsa_jit.zig to zig-hdc - Extract src/vsa/ (27 files) to zig-hdc - Remove shakespeare_extended.txt (not needed in monolith) - Add zig-hdc as dependency in build.zig.zon Разгружаем монолит на 510KB + 27 файлов VSA. Русский перевод описания изменений. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add zig-hdc (Hyperdimensional Computing) to build.zig.zon - zig-hdc provides sequence_hdc, VSA, and JIT compilation Русский перевод описания изменений. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Вынесены в отдельный репозиторий zig-knowledge-graph: - knowledge_graph.zig (26KB) - kg_server.zig (57KB) - kg_cli.zig (19KB) Total: ~102KB удалено из монолита. Разгрузка монолита продолжается.
Deleted 17 files (4425 lines) that were migrated to dedicated repos: - src/bench/ (9 files, 66KB IGLA benchmarks) → trinity-training/src/bench/ - src/vsa_hybrid/ (8 files, 79KB ternary operations) → zig-golden-float/src/ternary/ - src/test_gen_core.zig (21 lines, outdated) → removed These files are now maintained in their specialized repositories, reducing trinity monolith size and build time. Миграция дубликатов в специализированные репозитории. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes 17 files (4425 lines) that were migrated to dedicated repositories.
What was deleted
src/bench/trinity-training/src/bench/src/vsa_hybrid/zig-golden-float/src/ternary/src/test_gen_core.zigWhy
These duplicates increase monolith size and build time. They are now maintained in their specialized repositories:
Impact
Checklist
vsa_hybrid/only used internally (self-referential)test_gen_core.zigimported non-existent path (outdated)