Title: mcpx docs: story.md's AGENTS.md claims are stale again (109 vs 120 lines) and no test guards them · Issue #365 · developing-today/code · GitHub
Open Graph Title: mcpx docs: story.md's AGENTS.md claims are stale again (109 vs 120 lines) and no test guards them · Issue #365 · developing-today/code
X Title: mcpx docs: story.md's AGENTS.md claims are stale again (109 vs 120 lines) and no test guards them · Issue #365 · developing-today/code
Description: Re-homed from dezren39/darwin-nix#264 This issue is the surviving half of dezren39/darwin-nix#264. That issue was filed against the vendored mcpx copy in dezren39/nix, whose pkgs/mcpx/docs/story.md quoted a 62-line AGENTS.md that was alr...
Open Graph Description: Re-homed from dezren39/darwin-nix#264 This issue is the surviving half of dezren39/darwin-nix#264. That issue was filed against the vendored mcpx copy in dezren39/nix, whose pkgs/mcpx/docs/story.md...
X Description: Re-homed from dezren39/darwin-nix#264 This issue is the surviving half of dezren39/darwin-nix#264. That issue was filed against the vendored mcpx copy in dezren39/nix, whose pkgs/mcpx/docs/story.md...
Opengraph URL: https://github.com/developing-today/code/issues/365
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mcpx docs: story.md's AGENTS.md claims are stale again (109 vs 120 lines) and no test guards them","articleBody":"## Re-homed from dezren39/nix#264\n\nThis issue is the surviving half of https://github.com/dezren39/nix/issues/264. That issue was filed against the vendored mcpx copy in dezren39/nix, whose `pkgs/mcpx/docs/story.md` quoted a 62-line `AGENTS.md` that was already 109 lines. The vendored copy was deleted in dezren39/nix#469 (PR https://github.com/dezren39/nix/pull/469, merge 42b94f39); this repo's `pkgs/mcpx` is now the only copy, so the remaining work lives here. Per the mcpx-extraction plan (step 3: move the open mcpx issues), nix#264 is being closed with a pointer to this issue rather than duplicated.\n\n## What this copy already does right\n\n`pkgs/mcpx/docs/story.md` in this repo already adopted the fix nix#264 proposed as option 1: the quote is explicitly abridged (\"Abridged — the full file is 109 lines and adds profiles, per-tool `types`, `catalog --budget` and the `globalThis` bindings, which this walk does not need and #264 is about\"), instead of quoting a stale file in full.\n\n## What is still rotten here (verified 2026-10-19 on main 3ee06239)\n\n1. **The line count is stale again.** `docs/story.md:21` says \"the full file is 109 lines\" and `docs/story.md:2890` says \"109 lines today\". `pkgs/mcpx/AGENTS.md` is now **120 lines**: it grew 109 → 120 in d1078157 (\"feat(mcpx): give servers the secrets they need, held in memory\"), after the story text was written at the migration commit a03494f3 (where AGENTS.md was 109 lines). This is exactly the silent-rot failure mode nix#264 and `docs/release-runbook.md` describe.\n2. **The abridged quote no longer matches verbatim.** Spot-check of the quoted block (story.md ~:25-95) against current `AGENTS.md`: 46 of 48 non-empty quoted lines appear verbatim; two do not — the step-3 line \"`mcpx types \u003cnamespace>` — load signatures for that namespace only\" and the \"Import the generated client, which mcpx writes next to the script\" line (the current file's guidance is the `globalThis` no-imports form).\n3. **No guard exists.** `docs/parity.md` is held current by `TestParityDocumentIsCurrent` (`internal/cli/parity.go`); nothing in the test suite references `docs/story.md` or checks its `AGENTS.md` claims, so the count and quote will keep drifting silently.\n\n## Acceptance criteria\n\n- [ ] story.md's AGENTS.md line-count claims (currently :21 and :2890) match `wc -l pkgs/mcpx/AGENTS.md`, or the counts are removed in favour of wording that cannot go stale.\n- [ ] The abridged quote in story.md matches the current AGENTS.md text it presents as quoted (or is clearly marked as paraphrase where it intentionally differs).\n- [ ] A test in the mcpx suite (mirroring `TestParityDocumentIsCurrent`) fails when story.md's quoted AGENTS.md block or its stated line count diverges from `pkgs/mcpx/AGENTS.md`.\n\nSingle-repo now: mcpx source lives only in this repo (dezren39/nix builds it from a pinned input of this repo). Deduped: issue searches for \"story\" / \"story.md\" in this repo return no matching issue.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-19T19:33:32Z","url":"https://github.com/developing-today/code/issues/365"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f176462d-4a3e-c8fe-5589-4b830dc8724e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE5E:28FBD0:707A25:9622D8:6B062C5E |
| html-safe-nonce | 1b6338c1d4fb14f09df28b4b4e61e287cb2e88b8f480203ca3bdaf7eb1a6631e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTVFOjI4RkJEMDo3MDdBMjU6OTYyMkQ4OjZCMDYyQzVFIiwidmlzaXRvcl9pZCI6Ijg2MzAzODM5NTE1NDQyMDAyODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c67c3bfb5cbb752ed11a65cd8a726d22653fd5480b80b6657ff7b4d2fd7168a0 |
| hovercard-subject-tag | issue:5930247814 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/365/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fb022adf1e07d86baff43539d2b621344e170ee1426cd9345fa232a8a776bf07/developing-today/code/issues/365 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb022adf1e07d86baff43539d2b621344e170ee1426cd9345fa232a8a776bf07/developing-today/code/issues/365 |
| og:image:alt | Re-homed from dezren39/darwin-nix#264 This issue is the surviving half of dezren39/darwin-nix#264. That issue was filed against the vendored mcpx copy in dezren39/nix, whose pkgs/mcpx/docs/story.md... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width