Repository navigation
fix(architecture): keep fixture names and one plugin's requirements out of the landscape record - #15595
Conversation
Re-records docs/architecture/landscape.json on main's tree with landscape-record.sh --source "current repository plus reference graph" --remote "not used". The record was last generated 2026-09-25; the drift report against it before this change listed 149 added edges, 4 removed (bitinn/node-fetch, dometrain/mcp installs-plugin, miroapp/api-clients, modelcontextprotocol/modelcontextprotocol), 39 changed edges (73 changed edge facts), 5 changed repository facts (runtime, tooling, dependencies, dev_dependencies, evidence) and the https remote form. A drift check after the re-record reports none. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 886f1a2d96
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-security-review reviewed Security review: PR #15595 at
|
…ecord Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
|
claude-review reviewed Code review: PR #15595 (incremental, a3443be..3a16775)No blocking findings. This lane has already reviewed earlier heads of this PR, so this pass reported blocking findings only and dropped advisory ones. This push adds the collector fixes and tests that the last review said were missing. It also re-records the landscape from the fixed collectors. The diff now matches what the PR description claims. Checked against the earlier findings
Notes
|
…of the landscape collectors reference-edges.sh skips test files in any language (*.test.*, *.spec.*) and *.vectors.json tables, treats `other` and `eval-fixture` as placeholder owners, and rejects an owner segment holding a dot, so test names such as o/r and an elided github.com/.../issues no longer chart as systems. portfolio-facts.sh lets only a root-level runtime-scope requirements file claim the Python runtime. A nested requirements file declares no package and speaks for its own component; letting it win reported a shell repository as python and discarded its development-scope CI requirements. A nested pyproject.toml or setup.py still claims it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
…xed collectors The 13 placeholder cites edges (o/r, o/other, xo/r, axb/c, a.b/c, evil/x, npm/attestation, x/y, someowner/somerepo, other/repo, melodic-software/other, eval-fixture/app, .../issues) drop out, and the subject repository reads runtime shell, tooling node,python, with .github/requirements-ci.txt back as the Python development-scope source. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
… placeholders Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
Post-merge mutation testingKilled 5, survived 1, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
No related issue: the committed landscape record had drifted from the repository since 2026-09-25.
Summary
Fixes two map-landscape collector defects the re-record exposed, then re-records
docs/architecture/landscape.jsonand re-renderslandscape.mdandportfolio.mdfrom the current tree. The first re-record charted test placeholder names (o/rwith 94 references,x/y,evil/xand ten more) as real systems, and reported this shell repository as Python because one plugin ships an optionalrequirements.txt.Fix
reference-edges.shskips test files in any language (*.test.*,*.spec.*, previously only.sh,.tsand.js) and*.vectors.jsontest-input tables. It also treatsotherandeval-fixtureas placeholder owners, and rejects an owner segment that holds a dot. GitHub account names hold no dots, so the elidedgithub.com/.../issuesin a skill body anda.b/cin a test now drop out. The rule is stated in the script header.portfolio-facts.shlets only a root-level runtime-scoperequirements*.txtclaim the Python runtime. A requirements file declares no package, so a nested one speaks for its component (hereplugins/animation/requirements.txt) and not for the repository. Letting it win had reported the runtime aspythonwithnumpyandopencv-python-headless, and had discarded.github/requirements-ci.txt. A nestedpyproject.tomlorsetup.pystill claims the runtime.landscape-record.sh --source "current repository plus reference graph" --remote "not used" --edges-from <repo> <repo>and rendered withrender-landscape.sh. Both outputs are committed unedited.Drift against origin/main's record (95 edges before, 227 after):
bitinn/node-fetch,dometrain/mcp(installs-plugin),miroapp/api-clients,modelcontextprotocol/modelcontextprotocoldev_dependencies(the CI Python pins, cut at the collector's 25-entry cap) andevidence.runtimestaysshell,toolingstaysnode,python, anddependenciesstays empty, with.github/requirements-ci.txt (development scope)cited again.remotemoves from the ssh form tohttps://github.com/melodic-software/claude-code-plugins, because the collector records the origin URL of the clone it runs in. The script reports a transport change without gating on it.Against the first re-record, the only removed edges are the 13 placeholders:
o/r,o/other,xo/r,axb/c,a.b/c,evil/x,npm/attestation,x/y,someowner/somerepo,other/repo,melodic-software/other,eval-fixture/appand.../issues. Some real edges (melodic-software/ci-workflows,github-iac,standards,azure-iac) lost the citations they had from test files. The first re-record was taken before the main merge, so a few counts also moved with the tree, for exampleci-workflowsuses-workflow going from 367 to 368.Verification
reference-edges.test.sh(seven negatives, plus positive controls for a real URL and a dotted repository name) and 9 inportfolio-facts.test.sh(a nested requirements file, a root one beside it, and a nested pyproject). The new negatives fail against the unfixed scripts: 7 in reference-edges, 6 in portfolio-facts.reference-edges.test.sh108 cases,portfolio-facts.test.sh96,landscape-record.test.sh92,render-landscape.test.sh120, all with 0 failures.runtimeshell,toolingnode,python,dependencies[], andpytestandpyyamlindev_dependencies. A grep finds no home, temp or drive paths in the record or the rendered files.landscape-record.sh --drift-against docs/architecture/landscape.jsonafter the commit reports no gating drift; onlylast_touchedmoved.shellcheck,typosandscripts/check-changelog-fragments.sh --check-required origin/mainpass.Follow-ups
portfolio-facts.shcapsdev_dependenciesat 25 sorted names..github/requirements-ci.txtnow pins 35 packages, transitive pins included, soruff,tree-sitter*andzizmorfall past the cap even though the file is read. Raising the cap would change the contract for every repository.*.shas runtime evidence, which is nowlib/check-convention-facts.test.shand waslib/hook-utils.shbefore.Related
session: AI Hero
🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr