Repository navigation
docs(readme): predictions and calibration, one store for Claude Code and Codex - #603
Conversation
…and Codex The README described what Cortex remembers and never that it can record what it expected (#597, ADR-1076): a section under "Keep context useful" shows predict, resolve_prediction and calibration with their real return shapes and says what the Brier score means against the 0.25 of a constant 0.5 forecast. The host table gains the row, and the Codex paragraph says the plugin reads the same saved backend selection as the Claude launcher (#600). The unreleased changelog had two "### Added" headings; one now. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cz7A6goxVzfKL9NT7k4zDH
|
ZETETIC-REVIEW: REQUEST_CHANGES Docs-only diff, 34 added and 3 removed across 2 files, reviewed at 40263d6 against main 9656fc4 in a read-only worktree. Every return shape and key in the new README block was checked by running the three handlers, not by reading them. Two claims in the new text do not survive that check. Blocking1. README.md:176,
|
Codex was folded into "local stdio hosts" although its plugin starts the server with --profile lean (ten named tools, no hooks) while a direct codex mcp add gets the full surface. The table now has a column for each, says which tools lean lacks (predictions, wiki writes, ingestion), where the shared backend selection lives (#600), and which worktree directory doctor checks per host. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cz7A6goxVzfKL9NT7k4zDH
…se hedge for Codex BAND_EDGES steps by 0.2, so the illustrative reliability row shows [0.6, 0.8]. The Codex paragraph names CORTEX_BACKEND between the two variables it already named and says the shared backend selection reaches the plugin with the release after 4.22.0, since the plugin launches the published package. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cz7A6goxVzfKL9NT7k4zDH
The doctor check for worktree locations is PR #602, not merged. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cz7A6goxVzfKL9NT7k4zDH
|
ZETETIC-REVIEW: REQUEST_CHANGES Verdict on 73c4277, the branch tip. It supersedes my comment on 40263d6, which the head has moved past twice since. Reviewed in a read-only worktree at that sha. Closed since 40263d6README.md:176 reads Blocking1. README.md:279 attributes the lean profile to the startup budget; the cited document does not say that, and ADR-0693 says otherwiseThe sentence is "The Codex plugin deliberately starts the server with
ADR-0693 records the real reason, quoting the module docstring: "Cortex registers its whole tool surface to every client on every session (issue #177): the largest fixed token cost in the ecosystem, paid before the user types anything. A profile narrows that surface for sessions that only need the common recall/onboarding loop". Fixed token cost per session, not seconds of startup. Fix: attribute the choice to the token cost of the full surface and cite ADR-0693 or issue #177, or keep the fact and drop the causal clause. 2. README.md:297 sources both worktree values to
|
…sourced to what names it ADR-0693 records why the Codex plugin starts lean: the full surface is the largest fixed token cost a session pays, not a startup-time limit. The worktree row cites docs/agent-guidance.md for the Claude Code directory only; the Codex directory is observed behaviour that #601 gitignored. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cz7A6goxVzfKL9NT7k4zDH
|
ZETETIC-REVIEW: APPROVE Verdict on 22f766d, the branch tip. Both blocking findings from 73c4277 are closed against their sources, and re-running every table measurement at this sha leaves nothing blocking. This supersedes my earlier comments on 40263d6 and 73c4277. The two findings, closedREADME.md:280 now states the reason ADR-0693 recordsNew text: "the full tool surface is the largest fixed token cost a session pays before the user types anything (ADR-0693, issue #177), and the plugin keeps that cost to ten tools".
README.md:298 sources each worktree cell to what actually names itNew row: "
Re-measured at 22f766dTool surface cell: the ten names are exactly Non-blocking, for a later change rather than this one
Gates at 22f766d
The diff is 2 files, 54 added and 15 removed, and every factual claim in it now resolves to a file in this repository that states it. |
Why
The README describes what Cortex remembers and nothing about what it can now record as expected (#597, ADR-1076), and the Codex paragraph predates #600, which made direct MCP startup honour the same saved backend as the Claude launcher.
What
predict,resolve_predictionandcalibrationshown on their real return shapes (prediction_id/status,verdict/resolved,scored/brier/uninformative_brier/confirmed/refuted/reliabilityrows withband,resolved,mean_confidence,observed_frequency), and what the Brier score means against the 0.25 of a constant 0.5 forecast.### Addedheadings; one now.Measured
🤖 Generated with Claude Code
https://claude.ai/code/session_01Cz7A6goxVzfKL9NT7k4zDH