Skip to content

feat: add source_url to framework_sources - #266

Merged
chaksaray merged 1 commit into
developfrom
feat/framework-sources-source-url
Sep 9, 2026
Merged

feat: add source_url to framework_sources#266
chaksaray merged 1 commit into
developfrom
feat/framework-sources-source-url

Conversation

@chaksaray

Copy link
Copy Markdown
Contributor

What

Adds source_url as a new optional field to every framework_sources.<field> entry: the resolved tree URL at commit, so a reader can check a framework mapping's source directly without reconstructing it from repo and sha by hand. Optional even when commit is present.

Why

BerkantACUN/guardmcp PR #3 ("Pin the OWASP spec commit the mapping was drafted against") independently designed the same shape -- a specCommit/specSource pair in its SARIF taxonomy properties -- for the same OWASP MCP Top 10 versioning gap that OWASP/www-project-mcp-top-10#52 raised and that framework_sources itself exists to close. That PR is a separate repo's own fix for the gap #52 describes, not a comment posted in #52 -- worth being precise about since it's easy to conflate the two.

Notably, guardmcp's specCommit pins the exact same commit sha AVE's own owasp_mcp backfill already used: 165fe0f78ef104459237b4a8e0f6e78db9b02391. Two unrelated projects independently converged on pinning the same commit to close the same gap -- source_url closes the remaining gap between the two shapes (a resolved link, not just a bare sha).

Why no issue

Per CONTRIBUTING.md's Schema changes section: additive changes (new optional field, no version bump, no new required field, no rename/removal, no changed validation rule) are a standard PR. This isn't a structural change, so it doesn't need the issue-first + 30-day comment period that applies to those.

Changes

  • schema/ave-record-1.1.0.schema.json, schema/ave-record.schema.json (kept byte-identical): add framework_sources.*.source_url (type: string, format: uri)
  • docs/terms-relationships.md: extended the existing framework_sources relationship note with the source_url addition and its real origin (appended, not rewritten)
  • docs/terms.md: regenerated via scripts/generate_terms.py, confirmed with scripts/check_terms_sync.py

Validation

  • python3 scripts/validate_records.py -- all 80 records still valid
  • pytest tests/ -x -q -- 470 passed
  • python3 scripts/check_terms_sync.py -- docs/terms.md matches the live schema
  • Both schema mirror files confirmed byte-identical after the edit

Optional field alongside commit -- the resolved tree URL at that
commit, so a reader can check a framework mapping's source directly
without reconstructing it from repo and sha by hand.

Mirrors specCommit/specSource, a shape BerkantACUN/guardmcp PR #3
independently designed for the same OWASP MCP Top 10 versioning gap
OWASP/www-project-mcp-top-10#52 raised (not a comment posted in #52
itself -- a separate repo's own fix for the gap #52 describes). That
PR's specCommit pins the identical commit sha AVE's own owasp_mcp
backfill already used, 165fe0f78ef104459237b4a8e0f6e78db9b02391 --
independent convergence on the same fix from two unrelated projects.

Additive: new optional field, no required-field change, no version
bump. Per CONTRIBUTING.md's Schema changes section this is a standard
PR, not an issue-first structural change.

- schema/ave-record-1.1.0.schema.json, schema/ave-record.schema.json:
  add framework_sources.*.source_url (string, format: uri)
- docs/terms-relationships.md: extend the existing framework_sources
  relationship note with the source_url addition and its real origin
- docs/terms.md: regenerated via scripts/generate_terms.py
@chaksaray
chaksaray merged commit 08a6b0b into develop Sep 9, 2026
6 checks passed
@chaksaray
chaksaray deleted the feat/framework-sources-source-url branch September 9, 2026 15:38
chaksaray added a commit that referenced this pull request Sep 9, 2026
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: chaksaray <15962335+chaksaray@users.noreply.github.com>
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