Skip to content

Token-profile install receipts and a MCPorter use receipt on the workstation (MCPorter host_verified) - #277

Merged
seathatflowsinourveins merged 1 commit into
mainfrom
claude/token-profile-receipts-20260925
Sep 25, 2026
Merged

seathatflowsinourveins merged 1 commit into
mainfrom
claude/token-profile-receipts-20260925

Conversation

@seathatflowsinourveins

@seathatflowsinourveins seathatflowsinourveins commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Scope

  • What this PR changes: six host receipts on the workstation nativestack-5975wx-20260925, closing the token-efficiency profile's receipt gaps that remained after Record token-stack host receipts on the workstation: RTK hook path, repomix, toon, Context Mode, jCodeMunch, Serena, ccusage #263:

    • install receipts for context-mode, Serena, jCodeMunch, SocratiCode and MarkItDown;
    • a native_proven MCPorter use receipt against a real MCP server.

    All six are at the current winner or stack pins. Those pins come from the sealed 2026-09-22 packets. A pin move in stack.json or the pins files does not retire these receipts until a new verdict wave, as cleanup-wsl-audit confirmed on vLLM 0.30.0 host receipts on the workstation: install agree, use pending the winner pin #267.

  • Base commit: 5b6014eb (origin/main). The receipts were recorded at dcd6f0cf, which is each receipt's catalog_revision and a published ancestor of the base. The branch was rebuilt on 5b6014eb under the hot-file protocol: main's manifests/evidence.json was taken, the six files were re-registered, and the matrix and grand list were regenerated.

  • Lane: lane:foundation

  • Owned paths touched: evidence/hosts/nativestack-5975wx-20260925/ (6 new receipts). Regenerated: catalogs/landscape/component-evidence-matrix.json, docs/component-evidence-matrix.md, catalogs/landscape/new-host-grand-list.json, docs/new-host-grand-list.md. Hot file: manifests/evidence.json, updated in the last commit.

Receipts (generated from the receipt JSON)

Receipt Stage Class Result Tool version Independent review
nativestack-5975wx-20260925--context-mode--install--20260925.json install native_proven pass 1.0.169 independent_session agree
nativestack-5975wx-20260925--jcodemunch-mcp--install--20260925.json install native_proven pass 1.108.319 independent_session agree
nativestack-5975wx-20260925--markitdown--install--20260925.json install native_proven pass 0.1.7 independent_session agree
nativestack-5975wx-20260925--mcporter--use--20260925-2.json use native_proven pass 0.13.13 independent_session needs_changes
nativestack-5975wx-20260925--mcporter--use--20260925-3.json use native_proven pass 0.13.13 independent_session agree
nativestack-5975wx-20260925--mcporter--use--20260925.json use native_proven pass 0.13.13 independent_session agree
nativestack-5975wx-20260925--serena--install--20260925.json install native_proven pass 2.0.0.dev0 @ c6fbd1c5932df2494ffa0020af5a9fbe80b82143 independent_session agree
nativestack-5975wx-20260925--socraticode--install--20260925.json install native_proven pass 1.14.0 independent_session agree

Recorder and reviewer identities differ. The recorder, 106d189e…, is the coordinator session. The reviewers (ef0949f4… for the first round, then 6e198bff… and 2719d754… for the MCPorter generations) are separate headless claude -p session on claude-sonnet-5. It could not edit files, and it appended its verdicts through scripts/host_receipts.py review --kind independent_session. Each review's --ref names the commands it re-ran and the points it checked.

Effect on the derived views (generated)

Catalog / layer Winner WSL2 derived status (before → after) Independently reviewed passes (before → after)
foundation / code-navigation serena accepted → accepted 1 → 2
foundation / document-retrieval markitdown accepted → accepted 1 → 2
foundation / mcp-surfaces mcporter accepted → accepted 1 → 2
foundation / semantic-rag socraticode accepted → accepted 1 → 2

Repair round (after the independent diff review)

The read-only diff review found that the first MCPorter use receipt let QMD's default reranking load a model over the network into the temporary HOME, and the limitations didn't say so. Receipts are immutable, so the fix is a superseding generation, recorded from a detached worktree at published origin/main 5b6014eb:

  • -2: disables rerank and runs the server calls under bwrap --unshare-net. Its own independent review held it at needs_changes on point 3: the "QMD 2.8.3" and "no host mcporter configuration" limitations had no retained command, and mcporter ran with the real HOME.
  • -3: adds qmd --version and runs mcporter itself under the temporary HOME. An independent re-check reproduced all four output hashes and ran a config-canary control, and it agreed on all four points.

The first and -2 receipts stay in the tree as superseded history. Only -3 counts.

How each receipt avoids known failure modes

  • MCP Inspector never runs (it would open a browser on this host). MCPorter (-3) bridges a fresh QMD stdio server with networking unshared and runs under a temporary HOME, never a production server or the host's mcporter config.
  • Positive controls:
    • MCPorter: a nonexistent-tool call exits non-zero with a "not found" error, and a miss query returns 0 results.
    • jCodeMunch: a deliberate one-file append is detected as a RECORD mismatch.
  • Integrity limits stated in each receipt:
    • SocratiCode has no --version, so its version comes from npm metadata.
    • MarkItDown's adoption sha256 is for the sdist, which is not comparable to the installed RECORD.
    • Serena and jCodeMunch have no Linux pins-file entry.

Local commands run (on this branch)

scripts/component_matrix.py --write; scripts/new_host_grand_list.py --write
the offline steps of validate.yml's validate job, in order (zizmor and actionlint run in CI only; verdict_flip_candidates is report-only), plus evidence_manifest.py --check (a files[] order check that CI runs indirectly through validate.py): workflows SHA256SUMS + node tests, validate.py, host_receipts.py validate,
  release_due.py --strict-if-repinned origin/main, validate_catalogs.py, validate_foundation.py, landscape.py,
  audit_reports.py --check, validate_convergence.py --all-recorded, build_verdicts.py --check,
  component_matrix.py --check, new_host_grand_list.py --check, gap_crosswalk.py build --check,
  gap_wave_ledger.py --check, build_ecosystem.py --check, evidence_manifest.py --check   -> all passed (0 failures)
verdict_review_gate.py (from a worktree at origin/main) --root . --base origin/main -> passed (0 changed rows, 0 violations), on both bases
python -m unittest (uv Python 3.13 with jsonschema/PyYAML/numpy; PROMOTION_GATE_PYTHON set) on base dcd6f0cf -> Ran 5367 tests, OK (skipped=612)
after the rebase onto 5b6014eb and after the repair commit: the validate list above again (0 failures) + tests.test_host_receipts/component_matrix/new_host_grand_list/landscape/adoption_status/evidence_manifest/validate* -> Ran 441, OK

Residuals

🤖 Generated with Claude Code

@seathatflowsinourveins seathatflowsinourveins added the lane:foundation Foundation lane: Claude/Codex setup, hosts, memory, RAG, research, workers label Sep 25, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

… the workstation

Six independently reviewed host receipts on nativestack-5975wx-20260925 at the current winner/stack pins (context-mode, Serena, jCodeMunch, SocratiCode and MarkItDown install; MCPorter use), with the MCPorter use receipt superseded twice after independent review until hermetic and fully backed (-3 agreed). MCPorter becomes host_verified on WSL2. Replayed onto current main under the hot-file protocol.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@seathatflowsinourveins
seathatflowsinourveins force-pushed the claude/token-profile-receipts-20260925 branch from a498aca to e05d7cb Compare September 25, 2026 21:00
@seathatflowsinourveins
seathatflowsinourveins merged commit c948763 into main Sep 25, 2026
23 checks passed
@seathatflowsinourveins
seathatflowsinourveins deleted the claude/token-profile-receipts-20260925 branch September 25, 2026 21:28
@seathatflowsinourveins

Copy link
Copy Markdown
Collaborator Author

Cross-family review (Codex CLI 0.155.1, gpt-6-astra, model_reasoning_effort=max, read-only sandbox), 2026-09-26. Run by the workstation coordinator against a clean checkout of main after merge. Supported findings get a repair PR (one repair round; residuals recorded).

DEFECTS FOUND

  • medium | mcporter use receipt:55 | The claim that temporary HOME prevents host configuration loading is false: inherited MCPORTER_CONFIG overrides it. I reproduced this with the installed resolver; pinned upstream code confirms it. | Supersede the receipt using an explicit empty temporary config and controlled environment; retain a configuration-isolation control and repeat the independent review.

  • medium | socraticode install receipt:22 | The trailing || echo catches failures from the entire preceding && chain. The exact command returned exit 0 with SocratiCode absent from PATH, masking the failed installation check. | Isolate the optional installed-versions.txt check in an if; propagate earlier failures and supersede the receipt with a retained negative control.

  • low | context-mode install receipt:52, socraticode install receipt:52 | Both claim a version call demonstrates that the build “starts.” Neither receipt invokes its component; they inspect paths and metadata. | Supersede with metadata-only wording or retain an actual native startup probe.

  • low | [pr-277.meta:37](PR body:37) | The body’s generated-report totals are stale: MCPorter reviewed passes change 1→3, not 1→2; WSL2 host_verified pairs change 32→33, not 27→28, in the supplied diff and merge. | Update the body from the final merge’s reports and distinguish historical receipt counts from qualifying latest receipts.

@seathatflowsinourveins

Copy link
Copy Markdown
Collaborator Author

Correction (2026-09-26), from the GPT-6 cross-family review of this PR (finding 277-4) and confirmed against the git objects 0074a0c3 → c9487631. Three statements in the description are wrong:

  1. MCPorter reviewed passes. foundation/mcp-surfaces WSL2 independently reviewed passes went 1 → 3, not 1 → 2. Passes went 1 → 4, and dissented went 0 → 1.
  2. WSL2 host_verified pairs. The grand list's e2e_host_verified for linux-wsl2-x86_64 went 32 → 33, not 27 → 28. WSL2 e2e_accepted went 16 → 15, and needs_host stayed at 18.
  3. "Only -3 counts" is false. The agreed passes counted were mcporter--install--20260925, mcporter--use--20260925 and mcporter--use--20260925-3; -2 has needs_changes.

The serena, markitdown and socraticode rows (1 → 2) were correct.

@seathatflowsinourveins

Copy link
Copy Markdown
Collaborator Author

The GPT-6 cross-family findings on this PR are repaired in #331: superseding receipts, FastAPI, pandera and DuckDB rest on their own upstream test suites at the pinned tags, and the defective receipts carry independent needs_changes reviews.

seathatflowsinourveins pushed a commit that referenced this pull request Sep 26, 2026
…receipts, independent vetoes

Superseding receipts fix fail-open commands, configuration isolation, evidence classes and
unbacked claims; FastAPI, pandera and DuckDB now rest on their own upstream test suites at the
pinned tags. Twelve defective merged receipts carry independent needs_changes reviews.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
seathatflowsinourveins added a commit that referenced this pull request Sep 26, 2026
…receipts, independent vetoes (#331)

Superseding receipts fix fail-open commands, configuration isolation, evidence classes and
unbacked claims; FastAPI, pandera and DuckDB now rest on their own upstream test suites at the
pinned tags. Twelve defective merged receipts carry independent needs_changes reviews.

Co-authored-by: Scout <scout@local>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lane:foundation Foundation lane: Claude/Codex setup, hosts, memory, RAG, research, workers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant