Skip to content

chore(specs): gardener checkbox sync - #824

Merged
Dumbris merged 2 commits into
mainfrom
claude/spec-gardener
Jul 13, 2026
Merged

Dumbris merged 2 commits into
mainfrom
claude/spec-gardener

Conversation

@Dumbris

@Dumbris Dumbris commented Jul 10, 2026 •

Copy link
Copy Markdown
Member

Pull Request

Description

Automated spec-gardener run (2026-07-10): 5 checkbox ticks applied, 2 un-ticks proposed for human review. Ran scripts/check-spec-evidence.py across all 57 specs, then adversarially verified every possibly_built (tick candidate) and unresolved/removed (un-tick candidate) finding against the actual code before touching anything. Only - [ ]/- [x] checkbox characters in specs/*/tasks.md were changed — no prose, no ROADMAP.md, no roadmap.yaml.

Testing

  • I have tested these changes locally (diff is checkbox-only; verified with git diff that no other content changed)
  • I have added/updated tests that prove my fix is effective or my feature works — N/A, this PR only edits spec tracking checkboxes
  • All existing tests pass — no code was touched

Applied ticks (5)

Spec / Task Evidence
006-oauth-extra-params / T041 cmd/mcpproxy/auth_cmd.go:578-584 — runAuthStatusClientMode prints Auth URL: / Token URL: lines
006-oauth-extra-params / T050 internal/transport/http.go:200-203 — logger.Debug("🔧 Using custom HTTP client with OAuth extra params wrapper", ...) when extra-params wrapper is active
007-oauth-e2e-testing / T083 internal/oauth/config.go:956-964 — "OAuth config created successfully" log includes structured fields scopes, redirect_uri, auth_server_metadata_url, registration_mode, discovery_mode, token_store
021-request-id-logging / T021 cmd/mcpproxy/upstream_cmd_test.go:1375 — TestOutputError_WithRequestID (labeled // T021)
021-request-id-logging / T022 cmd/mcpproxy/upstream_cmd_test.go:1454 — TestOutputError_WithoutRequestID (labeled // T022)

Of the 147 possibly_built candidates the checker surfaced, the other 142 were dropped on verification (see below) — most were genuinely unimplemented, not just relocated.

Proposed un-ticks (NOT applied)

Spec / Task Currently Evidence for absence
026-pii-detection / T031 [x] internal/security/detector_integration_test.go does not exist; no deletion in git log --diff-filter=D; no equivalent end-to-end secret-detection integration test exists anywhere under internal/security/ (the file's unit tests in detector_test.go and the scanner e2e tests under internal/security/scanner cover different specs, 076/077, not this one).
044-diagnostics-taxonomy / T080 [x] Task claims a Cobra test for doctor --server invoking the REST/socket client and validating table/JSON/YAML output. cmd/mcpproxy/doctor_test.go does not exist; doctor_cmd_test.go only has output-formatting unit tests (TestOutputDiagnostics_*); doctor_fix_cmd_test.go only has filtering tests (TestFilterDiagnosticsByServer_KeepsMatchingEntries). No single test (or combination) covers the --server flag plus REST invocation plus all three output formats together.

A human should confirm these two are genuinely missing (vs. covered by a test I didn't find) before un-ticking.

Dropped by verification

142 possibly_built and 61 unresolved/removed findings were investigated and dropped — i.e. the checkbox state was left as-is because either (a) the unchecked task genuinely isn't done despite cited files existing (stub, skipped test, missing wiring), or (b) the checked task's artifact was found alive under a renamed/relocated file and the current checkbox is correct. Representative examples:

  • 026-pii-detection (21 of 24 unresolved dropped): sensitive-data-detection functionality is real and tested, just consolidated into different files than the task prose cites — e.g. internal/security/paths.go instead of internal/security/patterns/files.go; internal/httpapi/activity.go instead of activity_handlers.go; frontend/src/views/Activity.vue instead of ActivityLogView.vue; cmd/mcpproxy/activity_cmd.go/activity_cmd_test.go instead of cmd/mcpproxy/commands/activity.go. 3 possibly-built tasks (T104/T108/T109 — E2E tests for custom patterns/SSE/API scenarios) remain genuinely unimplemented.
  • 009-proactive-oauth-refresh (26 of 26 dropped): almost all cited UI computed properties (oauthExpired, isAuthenticated, oauthError), badges ("Token Expired", "Auth Error"), and CLI flags/tests for OAuth logout simply don't exist in ServerCard.vue / auth_cmd.go — the task prose describes work that was never done. One (T005) was a false-positive un-tick: the fields exist in internal/contracts/types.go under a different filename than cited.
  • 042-telemetry-tier2 (25 of 25 dropped): most cited unit tests (e.g. TestBuiltinToolCounterIncrementsPerCall, TestOAuthRefreshFailureRecordsErrorCategory) were never written, even though the underlying feature code exists; several investigative/"read and note" tasks (T001-T004) have no artifact to verify by nature.
  • 004-management-health-refactor, 017-activity-cli-commands, 001-code-execution, 008-oauth-token-refresh (possibly-built, all dropped): consistent pattern of missing E2E/unit test coverage for features whose production code exists — restart flows, doctor E2E, code-execution failure-path tests, and OAuth correlation-ID logging were never actually added despite adjacent files existing.
  • 029-mcpproxy-teams / T009 (un-tick candidate, dropped): cmd/mcpproxy/teams_register.go was renamed to serveredition_register.go as part of a repo-wide Teams→Server rename (confirmed via git log); still gated by //go:build server and imports internal/serveredition — correctly still checked.
  • 047-cpu-hotpath-fix / T001: cited as a possible tick by the verification agent (pprof endpoint preserved), but this task is a one-time git-workflow instruction ("confirm working tree clean... preserve for PR"), not a durable, greppable artifact — dropped per the "default to dropping when uncertain" rule rather than ticking a process step.

Everything else in the 032, 040, 044-retention-telemetry-v3, 003-tool-annotations-webui, 019-activity-webui, 073-activity-size-retention, 057-in-proxy-profiles, 016-activity-log-backend, 022-oauth-redirect-uri-persistence, 012-docusaurus-docs-site, 010-release-notes-generator, 056-output-schema-validation, 011-resource-auto-detect, 005-rest-management-integration, 077-scanner-simplification, 076-deterministic-tool-scanner, and 044-diagnostics-taxonomy groups followed the same two patterns (genuinely unbuilt, or alive-but-relocated) and were dropped with no checkbox change.


Cap: 40 applied ticks per run — this run found only 5 that survived verification, well under the cap.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 10, 2026 •

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: bbe0b08
Status: ✅  Deploy successful!
Preview URL: https://32cf01b0.mcpproxy-docs.pages.dev
Branch Preview URL: https://claude-spec-gardener.mcpproxy-docs.pages.dev

View logs

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

📦 Build Artifacts

Workflow Run: View Run
Branch: claude/spec-gardener

Available Artifacts

  • archive-darwin-amd64 (28 MB)
  • archive-darwin-arm64 (25 MB)
  • archive-linux-amd64 (16 MB)
  • archive-linux-arm64 (15 MB)
  • archive-windows-amd64 (28 MB)
  • archive-windows-arm64 (25 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (22 MB)
  • installer-dmg-darwin-arm64 (19 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 29077489930 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@Dumbris
Dumbris marked this pull request as ready for review July 13, 2026 04:08
@Dumbris
Dumbris enabled auto-merge (squash) July 13, 2026 04:08
@Dumbris
Dumbris merged commit 8796c45 into main Jul 13, 2026
37 checks passed
@Dumbris
Dumbris deleted the claude/spec-gardener branch July 13, 2026 04:41
Dumbris added a commit that referenced this pull request Aug 31, 2026
…und 3

All four verified against GitHub and the tree before applying.

1. windows-tray: "no Windows-tray PR is open or merged" was false. #74
   ("feature: windows tray support") merged 2025-10-23 and the cross-platform
   Go/systray build still ships on Windows. The claim now scopes to what the
   epic actually tracks — the native WebView2 replacement — for which no PR
   exists and native/windows/ is a README placeholder.

2. analytics-dashboard: "can never tick from code" conflated two things. A
   human can run spec 069's T023 Playwright sweep and tick the box; what can
   never exist is code evidence for it. Reworded so the distinction is explicit.

3. hygiene-spec-gardener: "three gardener runs ... auto-approved by #842" was
   wrong. Only #999 carries a github-actions APPROVED review. #824 has none and
   merged ~24 minutes BEFORE the auto-approve workflow landed; #870 records no
   approving review either.

4. token-bench-public: calling the MCP-specific third "integrated" overstated
   completion. ToolRet and LiveMCPTool are static retrieval/token corpora and
   lap-score is a linter — none is a public agent-loop task suite, which is what
   the task ultimately owes.

Also noted for the record: the linux-arm64 Build Binaries failure on the
previous commit is a flaky test, not a regression from this docs-only change.
TestServiceStartScanDeepOnRunsSourceResolutionAndPass2
(internal/security/scanner) passes locally with -count=3, and two runs of this
same branch four minutes apart — 33360429077 and 33360648947, both docs-only —
disagreed on it.
Dumbris added a commit that referenced this pull request Aug 31, 2026
…ithub warnings (#1136)

* chore(roadmap): truth-sync statuses against code, clear all --check-github warnings

An evidence-based re-derivation of every non-done roadmap.yaml leaf. Each flip
below was verified against the tree, git/gh state and the rendering sites, then
independently re-checked by an adversarial pass; claims that did not survive
that pass were dropped rather than applied.

Statuses that were wrong in the "already shipped" direction:
- upgrade-nudge-delta todo -> done (#1085, closes #1081). The note asserted
  TODO(spec-079/FR-002) markers exist and that the checker calls only
  /releases/latest; both are false. internal/updatecheck/delta.go now computes
  the delta and all six surfaces render it.
- upgrade-nudge epic in_progress -> done (all five tasks now done).
- analytics-dashboard in_progress -> done. Both children shipped; the
  default-landing half is live (router '/' -> Dashboard, guarded by
  dashboard-default-landing.spec.ts). Spec 069's one open task is a local
  Playwright sweep that leaves no artifact and can never tick from code.
- discovery-eval-harness todo -> done. Both halves ship: cmd/scan-eval for
  security recall/FP, and the eval.yml retrieval-d1 gate plus bench/'s own
  RecallAtK/NDCGAtK + recall@5 parity gate for discovery quality.
- hygiene-spec-gardener in_progress -> done (#824, #870, #999, #842). Its
  recorded blocker is cleared: check-spec-evidence.py is on main.

Statuses that were wrong in the "claimed progress it does not have" direction:
- windows-tray and windows-tray-window in_review -> todo. No Windows-tray PR is
  open or merged and native/windows/ is a README placeholder, so "in review"
  pointed at nothing. The section header is renamed to match.
- planning-hygiene todo -> in_progress and action-log-transparency todo ->
  in_progress; both already have done children.

Notes corrected where they would misdirect the next implementer:
- token-bench-harness claimed it absorbs discovery-eval-harness by measuring
  retrieval recall. Recall is already measured, and bench/ already covers token
  counting, encoding arms (incl. direct_deferred), break-even and reporting.
  The note now records what is genuinely open: activity-log session replay,
  measured first-call success/retry rate, and tokens-per-successful-task.
- token-bench-public: the MCP-specific third already ships via spec 083
  (ToolRet, LiveMCPBench snapshot, lap-score); only agent-loop suites remain.

specs/098-tools-preflight/tasks.md: tick T001, T024, T031, each confirmed
against the tree (doc.go states both invariants T001 requires;
toolslist_snapshot_test.go is labelled T024 and green; README carries all three
FR-017 examples). T025/T027/T032/T033 are left unchecked — they are one-time
process acts or did not survive verification.

Deliberately NOT changed: no epics were added for shipped specs (084-100).
roadmap.yaml is the working set by design and ROADMAP.md already renders a
generated per-spec progress table, so absence of an epic is not drift.

scripts/gen-roadmap.py --check-github: 3 warnings -> 0 errors, 0 warnings.

* fix(roadmap): correct six claims flagged by cross-model review

All six findings from the opencode gpt-5.6-sol review were independently
re-verified against the tree before being applied; none were false positives.
(The reviewer's initial claim that spec-gardener-auto-approve.yml is missing
WAS a false positive from its glob tool and it self-corrected — the file exists
at .github/workflows/spec-gardener-auto-approve.yml.)

1. Un-tick specs/098 T024. T024 asks for a golden snapshot test proving
   tools/list is BYTE-IDENTICAL across all three modes. Spec 099 (FR-014/015)
   later converted that test from a no-delta gate into an ENUMERATED-delta gate
   (toolsListAllowedDelta permits describe_tool and quarantine_security to
   move), so at HEAD the test no longer demonstrates the property T024 states.
   It may well have held on 098's own branch, but that is not checkable from
   the tree, and an unverifiable tick is exactly what this PR exists to remove.
   Badge 29/33 -> 28/33.

2. discovery-eval-harness note: drop the "SUPERSEDED — folded into
   token-bench-harness" framing. It contradicted itself once the epic was
   marked done — token-bench-harness is still unbuilt, so nothing could have
   been folded into it. Both halves shipped independently.

3. Same note: the eval.yml retrieval-d1 job is REPORT-ONLY on pull requests
   (continue-on-error, guarding against npx/uvx fetch flake) and blocks only on
   the nightly schedule. Promoting it to PR-blocking is still open (MCP-742).

4. Same note: the SC-003 recall@5 = 0.68 +/- 0.05 parity gate is asserted in
   bench/armindex_test.go, not armindex.go — the latter supplies the production
   index wiring, not the assertion.

5. token-bench-harness note: the literature-derived retry defaults live in
   bench/session.go (armRetryRates, research D8). bench/report.go only renders
   and labels them as estimates. The substantive point stands: retry rates are
   assumed, not observed.

6. token-bench-public note: "CI-wired" overstated the LiveMCPBench snapshot.
   bench.yml's regular job passes only -corpus-v2; the snapshot is runnable via
   -livemcptool but not run in CI, and its loader has no retrieval golden set,
   so it measures token/scale rather than recall. ToolRet does have its own
   bench.yml job.

gen-roadmap.py --check and --check-github both still clean.

* fix(roadmap): tighten two claims from cross-model review round 2

Both findings verified against the tree before applying.

1. The retrieval-D1 blocking scope was stated too narrowly. eval.yml sets
   continue-on-error only for github.event_name == 'pull_request', and the
   workflow triggers on pull_request, workflow_dispatch and schedule — so the
   job is report-only on PRs and BLOCKING on both nightly and manual dispatch
   runs, not "only on the nightly schedule". The note now says so, and records
   that the workflow's own inline comment carries the same omission.

2. discovery-eval-harness is now done but still declared
   depends_on: [token-bench-harness], which is unbuilt — a done node cannot
   depend on an open one, and the edge contradicted the corrected note saying
   both halves shipped independently. Edge removed; the id remains a valid
   depends_on target for anything that needs it.

gen-roadmap.py --check and --check-github both clean.

* fix(roadmap): scope four over-broad claims from cross-model review round 3

All four verified against GitHub and the tree before applying.

1. windows-tray: "no Windows-tray PR is open or merged" was false. #74
   ("feature: windows tray support") merged 2025-10-23 and the cross-platform
   Go/systray build still ships on Windows. The claim now scopes to what the
   epic actually tracks — the native WebView2 replacement — for which no PR
   exists and native/windows/ is a README placeholder.

2. analytics-dashboard: "can never tick from code" conflated two things. A
   human can run spec 069's T023 Playwright sweep and tick the box; what can
   never exist is code evidence for it. Reworded so the distinction is explicit.

3. hygiene-spec-gardener: "three gardener runs ... auto-approved by #842" was
   wrong. Only #999 carries a github-actions APPROVED review. #824 has none and
   merged ~24 minutes BEFORE the auto-approve workflow landed; #870 records no
   approving review either.

4. token-bench-public: calling the MCP-specific third "integrated" overstated
   completion. ToolRet and LiveMCPTool are static retrieval/token corpora and
   lap-score is a linter — none is a public agent-loop task suite, which is what
   the task ultimately owes.

Also noted for the record: the linux-arm64 Build Binaries failure on the
previous commit is a flaky test, not a regression from this docs-only change.
TestServiceStartScanDeepOnRunsSourceResolutionAndPass2
(internal/security/scanner) passes locally with -count=3, and two runs of this
same branch four minutes apart — 33360429077 and 33360648947, both docs-only —
disagreed on it.

* fix(roadmap): ToolRet is not MCP-specific (cross-model review round 4)

Verified: bench/corpusio/toolret.go documents ToolRet as a general
tool-retrieval corpus whose documentation fields are "heterogeneous JSON/text,
NOT MCP input schemas" (Schema stays nil). Grouping it under "the MCP-specific
third" was wrong.

The token-bench-public note now says public corpus/linter groundwork is
integrated while NO public agent-loop task suite is, and names the ToolRet
caveat explicitly so the next implementer does not re-inherit the error.

Round 4 found no other issues; the round-3 windows-tray, analytics T023 and
gardener corrections were all confirmed accurate against GitHub and the tree.

* fix(roadmap): discovery-eval-harness is in_progress, not done (review round 5)

The final review round caught an error in this PR's own flip, and it is the
same failure mode the PR was written to fix: an epic marked done while a
governing FR is unmet.

Spec 065 FR-009 and SC-005 require CI to FAIL on a discovery regression beyond
tolerance. The retrieval-D1 job sets continue-on-error for pull_request (D1
depends on npx/uvx fetches, a known flake source), so on the PR path CI does not
fail — and eval.yml's own comment records the promotion to PR-blocking as still
planned (MCP-742). The HARNESS shipped; the GATE did not.

Reverted to in_progress and added the remaining work as a child task
(discovery-eval-pr-blocking, MCP-742) so the epic's status has something in the
DAG to point at.

The reviewer also read CN-002 (frozen corpus, never live) as violated because D1
boots a live mcpproxy serving seven reference servers. Recorded as a weaker
tension to adjudicate rather than a violation: #931 pinned all seven upstreams
to freeze-era versions and the job gates on the exact corpus ID set, so the
corpus is reproducible in practice. Whether that satisfies CN-002 or a committed
snapshot is required is a judgement for the spec owner.

gen-roadmap.py --check and --check-github both clean (0 errors, 0 warnings).
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.

3 participants