Skip to content

Consolidate IR/index storage to a single project .codc with root HOOK.toml#93

Merged
DanexCodr merged 9 commits into
mainfrom
copilot/update-index-structure
Apr 13, 2026
Merged

Consolidate IR/index storage to a single project .codc with root HOOK.toml#93
DanexCodr merged 9 commits into
mainfrom
copilot/update-index-structure

Conversation

Copilot AI commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

The storage model is now project-scoped instead of root-unit scoped: one .codc per project, no s_idx, and one shared index entry. The index is now stored as HOOK.toml at the container root (not under idx/).

  • Container topology

    • Switched .codc selection from per-root-unit files to a single project container:
      • src/bin/project.codc
    • Artifact entries remain unit-qualified inside the container:
      • <unit>/<Class>.codb
  • Index topology

    • Removed root-unit index partitioning and standalone s_idx fallback path.
    • Standardized on one shared in-container index entry:
      • HOOK.toml at .codc root
  • Read/write path updates

    • IRManager now resolves index entry name directly to HOOK.toml (no idx/ prefix).
    • Index load/save flow now targets the single shared container index document.
    • Updated related comments/log text to reflect project-scoped container/index behavior.
src/bin/project.codc
  ├─ HOOK.toml
  ├─ math/Vector.codb
  └─ app/Main.codb

Copilot AI and others added 9 commits April 13, 2026 02:30
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/4406dea4-5099-4330-8990-ed9e8f0ac13b

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/4406dea4-5099-4330-8990-ed9e8f0ac13b

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/4406dea4-5099-4330-8990-ed9e8f0ac13b

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/48b0c447-3fad-45cc-b283-44f5c1288492

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DanexCodr/Coderive/sessions/48b0c447-3fad-45cc-b283-44f5c1288492

Co-authored-by: DanexCodr <216312766+DanexCodr@users.noreply.github.com>
@DanexCodr DanexCodr marked this pull request as ready for review April 13, 2026 02:54
@DanexCodr DanexCodr merged commit 4fad1f4 into main Apr 13, 2026
@DanexCodr DanexCodr deleted the copilot/update-index-structure branch April 13, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants