Skip to content

refactor(build): centralize plugin surface metadata - #8

Merged
sent-dm merged 1 commit into
mainfrom
codex/public-surface-metadata
Aug 9, 2026
Merged

refactor(build): centralize plugin surface metadata#8
sent-dm merged 1 commit into
mainfrom
codex/public-surface-metadata

Conversation

@sent-dm

@sent-dm sent-dm commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • Added scripts/repository_metadata.py as the shared loader for canonical version, discovered skills, tool ownership, mutation class, and confirmation policy.
  • Added packages/sent/public-surface.json as the explicit MCP allowlist and generated it into every adapter surface.
  • Derived validator and generator behavior from canonical metadata instead of hardcoded version, skill-count, and tool-count constants.
  • Validated skill/eval/tool ownership, OpenAI annotation consistency, confirmation rules, commands, and generated trees against the same metadata.
  • Added temporary-source version propagation coverage across root, Codex, Claude, and marketplace manifests.
  • Removed low-value skill/tool counts from marketing descriptions.
  • Added rejection gates for unexpected tools, invalid owners, and mutation annotation drift.

Why

Version, skill, and MCP surface facts were duplicated across Python constants and marketing copy. A new skill or release could require unrelated count edits and still drift from submission metadata.

Validation

  • python3 scripts/generate_adapters.py --check
  • python3 scripts/validate.py
  • python3 scripts/test_fixtures.py
  • python3 scripts/test_contracts.py
  • python3 scripts/test_validation_gates.py
  • git diff --check

Stacked on #7.

@sent-dm
sent-dm changed the base branch from codex/channel-aware-mdr to main August 9, 2026 22:22
@sent-dm
sent-dm marked this pull request as ready for review August 9, 2026 22:22
@sent-dm
sent-dm merged commit ac26c85 into main Aug 9, 2026
2 checks passed
@sent-dm
sent-dm deleted the codex/public-surface-metadata branch August 9, 2026 22:24
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.

1 participant