Repository navigation
chore(demos): refresh category-A demo artifacts on current master - #3196
Conversation
Regenerate deterministic demo walkthroughs against fresh seed including #3178 (transcript-crash fix), #3182 (all-origins seeding), #3179 (import parity). Demo corpus now 19 sessions/71 messages vs. prior 16/62. Walkthroughs unchanged (find, read, search, resume all identical): - 01-find-query.txt - 02-read.txt - 03-search.txt - 04-resume.txt Expected improvements (larger corpus, schema version bumps): - 05-cost-usage.json: session_count 4→6, schema captures full v42 state - 07-mcp-roundtrip.json: updated to use refactored MCP tools (query+read instead of search+get_session_summary, preserving search→summary pattern) - 08-status-health.txt: raw_sessions 18→21, sessions 16→19, messages 62→71, embeddings schema v3→v4, new assertion-candidate-queue section - README.md: update timestamp and schema version Co-Authored-By: Claude <[email protected]> Claude-Session: https://claude.ai/code/session
|
Warning Review limit reached
Next review available in: 35 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
After the command header, this artifact previously contained a complete JSON object, but the refresh replaces the opening { with a blank line. As a result, stripping the header and parsing the documented JSON output now fails immediately, so the cost walkthrough is no longer usable as captured structured output.
polylogue/.agent/demos/basic-usage/07-mcp-roundtrip.json
Lines 2 to 3 in 71a055e
The refreshed artifact now records the consolidated query/read tools, but .agent/demos/basic-usage/README.md:159-179, COLD_READER_GATE.md, and devtools/basic_usage_demo_check.py:107-123 still describe and invoke search followed by get_session_summary. Those names are absent from the current declared MCP baseline, so the documented regeneration check cannot reproduce this artifact and the cold-reader description identifies a different workflow.
polylogue/.agent/demos/basic-usage/05-cost-usage.json
Lines 272 to 273 in 71a055e
The refreshed logical_pricing_lanes output now has row_count: 6 and total_tokens: 388872, but the load-bearing excerpt in .agent/demos/basic-usage/README.md:115-128 still shows 4 and 388500. This makes the explanatory walkthrough disagree with the artifact it links to, despite the README claiming the displayed outputs are the real captured results.
The artifact refresh changes the byte sizes of all four touched files, but .agent/demos/MANIFEST.readable.json still records the previous sizes (for example, 45406 bytes for this file instead of 53777). I checked the repository's shelf verifier with python -m devtools.demo_shelf --check --json; it exits 1 with changed.manifest: true, so the committed generated index is stale and should be regenerated as required by the demo-shelf workflow.
ℹ️ 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".
Problem: CodeRabbit flagged (PR #3202) that POLYLOGUE_MCP_WRITE_ENABLED=flase (or any nonempty non-boolean string, or a quoted TOML value) passed through _coerce_env_value's bool branch unchanged as a raw string, and the mcp_write_enabled/mcp_judge_enabled/mcp_maintenance_enabled properties did bool(self._data.get(...)) -- bool("flase") is True, so a typo silently opened a capability boundary instead of leaving it closed. Same shape for every other _BOOL_CONFIG_KEYS entry (not special-cased to the new keys). What changed: - _coerce_env_value's boolean branch now raises ConfigError naming the env var, offending value, and config key when the string isn't one of the canonical 1/true/yes/on / 0/false/no/off tokens (case-insensitive), instead of silently passing the raw string through. This applies to every _BOOL_CONFIG_KEYS entry via the one shared coercion path, not a capability-only special case. - New _require_bool_config_value() (shared by all three capability properties) additionally closes the TOML-layer version of the same gap: a quoted TOML value (`write_enabled = "flase"`) bypasses env coercion entirely, so the property getter itself now validates the resolved value is a genuine bool or a canonical token string, raising ConfigError otherwise. Token-parsing logic is shared via _parse_bool_token() between the env-coercion path and this property-level guard. Verification: - devtools test tests/unit/core/test_config_inventory.py tests/unit/core/test_config.py -> 155 passed, including the new TestMCPCapabilityBooleanFailsClosed (typo raises, false/0/no/off/case-insensitive disables, true/1/yes/on/ case-insensitive enables, TOML true works, quoted TOML string raises). - devtools test tests/unit/mcp/test_cli.py tests/unit/cli/test_config_command.py -> 15 passed. - devtools verify --quick -> ruff format/check, mypy --strict, render all, topology, layering, docs-coverage, etc. all exit 0. - devtools test tests/unit/core -> 2327 passed; 4 failed / 6 errored, all in test_sync_surface_runtime.py/test_verification.py/test_models.py/ test_schema_generation.py over artifact-taxonomy/schema-generation naming (agent_transcript vs subagent_session_stream) -- no reference to config.py, load_polylogue_config, or boolean coercion in any of them; pre-existing drift from the concurrent master rebase (#3196-#3200 landed mid-session), unrelated to this fix. Co-Authored-By: Claude <[email protected]>
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Ref polylogue-93cp demo program (runbook category A).
Summary
Refreshes the deterministic basic-usage walkthrough artifacts against current master — first refresh since #3178 (transcript crash fix), #3179 (import parity), #3182 (all-origins seeding) landed.
Problem
Committed walkthrough outputs predated three merged changes that alter demo-visible behavior: corpus grew 16→19 sessions / 62→71 messages across 8 origins, index schema v40→v42, embeddings v3→v4, and the MCP surface consolidation (#3056) renamed the tools the MCP walkthrough exercises.
Solution
Re-ran every walkthrough recorded command against a fresh scratch seed: 1-4 (find/read/search/resume) byte-identical — surface stability demonstrated; 5/8 (cost, status/debt) refreshed with expected corpus-growth deltas; 7 (MCP round-trip) refactored onto the query/read dispatchers preserving the search→summary pattern; README stamp + schema refs updated. Cold-reader gate re-answered from directory contents alone. Produced by a Haiku lane; branch harvested by coordinator.
Verification
Each walkthrough re-executed against a fresh
polylogue demo seedin a scratch root; diffs classified per-artifact (table in lane report);devtools verify --quick16/16 green.