Skip to content

Add canonical-code index integration, model-terminology audit, and canonicalization of symbolic tooling#70

Merged
CAM-Initiative merged 2 commits into
mainfrom
codex/fix-symbolic-structures-validator-workflow
May 24, 2026
Merged

Add canonical-code index integration, model-terminology audit, and canonicalization of symbolic tooling#70
CAM-Initiative merged 2 commits into
mainfrom
codex/fix-symbolic-structures-validator-workflow

Conversation

@CAM-Initiative
Copy link
Copy Markdown
Owner

Motivation

  • Replace and align legacy symbolic-structures index usage with the canonical code index and improve symbolic-lint robustness and CI compatibility.
  • Provide a deterministic, repository-wide scan for model/sub-model terminology and emit a machine-readable audit for governance review.
  • Regenerate governance index artifacts to reflect updated instrument metadata and newly-added Annex/Schedule records.

Description

  • Point lint-symbolic-structures.py at the canonical index (.github/Indices/canonical-code-index.json), add --require-index/--require-registry flags, and make the tool tolerant of a missing legacy index while deriving validation from the canonical index when available.
  • Extend update-CAM-BS2025-AEON-003-SCH-01.py to scan Governance/**/*.md for model terminology, classify terms via classify_model_term/classify_review_status, inject a model-register summary into SCH-01, and write a full audit file to .github/Indices/CAM.Governance.Model-Terminology.Audit.md.
  • Add new/updated generated indices and documentation: canonical-code-index.json, canonical-code-index.md, the model terminology audit file, and update maintainer docs and workflows to use build-canonical-code-index.py in place of the old symbolic builder.
  • Add automated tests for the linter and SCH-01 updater (.github/scripts/tests/test_lint_symbolic_structures.py and .github/scripts/tests/test_update_sch01_registry.py) and update multiple generated governance artifacts (Governance/CAM.Governance.JSON, CAM.Governance.Index.md, constitution/schedule files) to reflect refreshed metadata and new Annex/Schedule entries.

Testing

  • Ran the script unit tests with python -m pytest .github/scripts/tests, and all tests passed.
  • Executed the updated linter against the generated canonical index (python .github/scripts/lint-symbolic-structures.py --index .github/Indices/canonical-code-index.json) which completed without error in non-strict mode.
  • Ran the registry updater (python .github/scripts/update-CAM-BS2025-AEON-003-SCH-01.py) to regenerate SCH-01 and confirmed the model summary block was inserted and the audit file .github/Indices/CAM.Governance.Model-Terminology.Audit.md was written.

Codex Task

@CAM-Initiative CAM-Initiative merged commit 0f62a21 into main May 24, 2026
@CAM-Initiative CAM-Initiative deleted the codex/fix-symbolic-structures-validator-workflow branch May 24, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant