Skip to content

docs: flight-recorder public surface, evidence-first tour, claims ledger - #2655

Merged
Sinity merged 3 commits into
masterfrom
feature/docs/external-legibility-kit
Jul 10, 2026
Merged

Sinity merged 3 commits into
masterfrom
feature/docs/external-legibility-kit

Conversation

@Sinity

@Sinity Sinity commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Summary

Adjudicates and lands the Polylogue patch from the 2026-07-10 GPT-5.6 Pro external-legibility kit, amended and re-verified against current master (the kit was produced at base f6c1da997, 22 commits behind). Repositions the public surface around "local flight recorder and system of record for AI work", reorders the demo tour into an evidence story, and adds four new public surfaces: demo doctrine, a bounded field finding, a machine-readable public-claims ledger, and the maximal Sinex-interop direction. Adds the Incident 14:32 proof-world standing design reference.

Problem

README/site/tour explained Polylogue through infrastructure inventory. The tour opened with a fixture-audit dump; public claims had no status/evidence/caveat discipline; the Sinex direction lived only in chat logs and external docs.

Solution

  • README rewrite + flake/pyproject description alignment (category language).
  • polylogue/demo/tour.py: evidence-first step order (structural failure receipt → is_error aggregate → composed lineage chronicle → facets), proves/does-not-prove report sections, shlex-safe echo.
  • New: docs/demos.md, docs/findings/claim-vs-evidence.md, docs/public-claims.yaml, docs/sinex-interop.md; site nav/home hero proof cards.
  • Amendments beyond the kit (found in review): fixed tour-emitted recording.tape (paths assumed cwd outputs, 500ms sleep vs ~11s tour — recipe could never record), regenerated docs/examples/visual-tapes/demo-tour.tape from the updated spec (kit committed a stale copy — filed polylogue-3tl.17 for a drift gate), regenerated all demo-tour artifacts + GIF from current-master code, tightened tape test assertions.
  • docs/design/incident-1432-proof-world.md + README index row (owning beads polylogue-212.11/212.12).

Beads digestion landed live (not in this diff): new polylogue-212.11 (Incident 14:32 corpus), polylogue-212.12 (Demo Packet v2 contract), polylogue-3tl.17 (tape/tour drift gate), polylogue-qsr6 (Sinex-direction decision, vision horizon); enrichment notes on 3tl, 3tl.4/.10/.12/.15/.16, 212, 212.2, ap7, bby.1. Kit escrow: .agent/scratch/legibility-kit-2026-07-10/.

Verification

  • devtools verify --quick green twice (40.0s post-patch, 67.6s final) — includes render all --check + doc-commands.
  • Focused suite (CI demo-visual-verify set + changed tests): tests/unit/cli/test_demo_command.py tests/unit/demo/test_demo_seed_verify.py tests/visual tests/unit/devtools/test_visual_vhs.py → 51 passed (87s); re-run after tape fix → green.
  • Live polylogue demo tour on current master: passed, 30/30 declared constructs, first result 5.1s / full 10.9s (budgets 8s/30s).
  • Leak scan of all committed artifacts (/home/|/realm/|sinity): clean.
  • README read --first invocation executed against the demo archive (real flag; verified live).
  • GIF re-rendered via vhs from the fixed tape on this machine.
    Not run: full test suite (per-PR CI skips heavy tests by design; changed surfaces covered by the focused set above).

Ref polylogue-3tl (external legibility epic).

🤖 Generated with Claude Code

https://claude.ai/code/session_01BeVDxsVhLuoG5w7bp5cmNU

Sinity and others added 2 commits July 10, 2026 16:46
…mo tour

Problem: the README, generated site, and demo tour explained Polylogue
through infrastructure inventory rather than category + evidence. The
tour opened with a fixture-audit dump instead of a receipt, and public
claims had no machine-readable status ledger.

What changed (external-legibility kit, adjudicated + amended locally):
- README rewritten around "local flight recorder and system of record
  for AI work"; flake/pyproject descriptions aligned.
- Demo tour reordered as an evidence story: structural failure receipt,
  is_error aggregate (no prose matching), composed lineage chronicle,
  then archive facets; report gains explicit proves/does-not-prove
  sections; shlex-safe command echo.
- New public surfaces: docs/demos.md (demo doctrine + current proofs),
  docs/findings/claim-vs-evidence.md (bounded 24.1% lower-bound field
  finding), docs/public-claims.yaml (status/evidence/caveat ledger),
  docs/sinex-interop.md (maximal Sinex-backed target vs current bridge),
  site nav/home hero updated to proof cards.
- Local amendments beyond the kit: fixed tour-emitted recording.tape
  (paths assumed cwd outputs; 500ms sleep could not cover an ~11s tour),
  regenerated visual-tapes demo-tour.tape from the updated spec (kit
  committed a stale copy), regenerated all demo-tour artifacts + GIF
  from current master code, tightened tape assertions.

Verification: devtools verify --quick green (40s); focused suite
(test_demo_command, test_demo_seed_verify, tests/visual,
test_visual_vhs) 51 passed; live `polylogue demo tour` passes with
30/30 declared constructs; leak scan of committed artifacts clean;
README `read --first` invocation verified against the demo archive.

Co-Authored-By: Claude <[email protected]>
Distilled from the 2026-07-10 external-legibility kit and adjudicated
against the live demo corpus/verifier. Records the one-world doctrine
for flagship demos, the missing constructs relative to the current
corpus, the anti-circularity oracle rule, anti-vacuity witnesses, and
public-safety constraints. Owning beads: polylogue-212.11 (corpus),
polylogue-212.12 (Demo Packet v2).

Co-Authored-By: Claude <[email protected]>
@coderabbitai

coderabbitai Bot commented Jul 10, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@Sinity, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 37 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: a68bad52-1d28-4d12-b33f-540cf9551307

📥 Commits

Reviewing files that changed from the base of the PR and between 2d1cc3a and fd3954a.

⛔ Files ignored due to path filters (1)
  • docs/examples/demo-tour/demo-tour.gif is excluded by !**/*.gif
📒 Files selected for processing (31)
  • README.md
  • devtools/docs_surface.py
  • devtools/pages_builder.py
  • devtools/pages_style.py
  • devtools/pages_templates.py
  • devtools/visual_vhs.py
  • docs/demos.md
  • docs/design/README.md
  • docs/design/incident-1432-proof-world.md
  • docs/examples/demo-tour/command-output/01-structural-failure-receipt.txt
  • docs/examples/demo-tour/command-output/02-failed-actions-aggregate.txt
  • docs/examples/demo-tour/command-output/02-pytest-evidence-drilldown.txt
  • docs/examples/demo-tour/command-output/03-composed-lineage.txt
  • docs/examples/demo-tour/command-output/03-session-evidence-by-id.txt
  • docs/examples/demo-tour/command-output/04-archive-facets.txt
  • docs/examples/demo-tour/command-output/04-query-facets.txt
  • docs/examples/demo-tour/recording.tape
  • docs/examples/demo-tour/report.json
  • docs/examples/demo-tour/report.md
  • docs/examples/demo-tour/transcript.txt
  • docs/examples/visual-tapes/demo-tour.tape
  • docs/findings/claim-vs-evidence.md
  • docs/public-claims.yaml
  • docs/sinex-interop.md
  • docs/site/pages.toml
  • docs/visual-evidence.md
  • flake.nix
  • polylogue/demo/tour.py
  • pyproject.toml
  • tests/unit/cli/test_demo_command.py
  • tests/unit/devtools/test_visual_vhs.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/docs/external-legibility-kit

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

github-actions Bot pushed a commit that referenced this pull request Jul 10, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: accc53b363

ℹ️ 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".

Comment thread polylogue/demo/tour.py Resolved
The tour-emitted recording.tape hardcoded the default out-dir name, so
a run with a custom --out-dir wrote a recipe pointing at paths that run
never produced. The tape now references the out-dir by basename only
(shlex-quoted) — self-consistent for any run without baking a
machine-local absolute path into a potentially committed artifact.
Tour artifacts + GIF regenerated from a passing run; test asserts
out-dir consistency and absolute-path absence.

Co-Authored-By: Claude <[email protected]>
@Sinity
Sinity merged commit 7c3f914 into master Jul 10, 2026
16 checks passed
@Sinity
Sinity deleted the feature/docs/external-legibility-kit branch July 10, 2026 15:07
Sinity added a commit that referenced this pull request Jul 10, 2026
…corpus v2 (#2662)

## Summary
Adjudicates and lands the **second-iteration** external-legibility kit
(GPT-5.6 Pro, 2026-07-10 evening), reconciled onto master past the v1
landing (#2655). Three genuinely new capabilities: a self-contained
falsifiable first-contact proof (`polylogue demo receipts`), an enforced
public-claims contract (`devtools verify public-claims` in CI + release
gates), and demo corpus v2 (evidence-lab-receipts family, 34 declared
constructs). Kit escrow: `.agent/scratch/legibility-kit-v2-2026-07-10/`.

## Problem
After #2655 the public surface had honest copy but no *executable*
one-command thesis proof, and the claims ledger was data without a gate
— nothing failed when public copy drifted from evidence.

## Solution
- **`polylogue demo receipts`** (`polylogue/demo/receipts.py`): seeds a
private-data-free archive through the real parser/storage/query paths,
then verifies: assistant "tests pass" claim vs structural exit-1 receipt
→ later exit-0 repair → verdict
`contradicted_at_claim_time_then_repaired`; anti-grep control session (2
prose `error` hits, 0 failed actions); stable block/raw-row/blob-digest
refs. Refuses to auto-seed a configured archive root; absent evidence
degrades to `invalid_demo_evidence` + exit 1.
- **`devtools verify public-claims`** (`devtools/public_claims.py`):
validates claim ids/statuses, evidence paths, bead owners (all verified
to exist live), proof commands, and retired-copy reappearance across
five public surfaces. Wired into command catalog, release readiness, CI
lint job, focused tests.
- **Corpus v2 + tour**: receipts/anti-grep sessions; tour step 1 is now
the claim-versus-receipt contradiction; committed artifacts sanitize
archive paths to `<demo-archive>`; uvx source-install receipt.
- **Reconciliation beyond the kit** (base predates #2655): preserved the
out-dir-basename recording-tape fix (kit copy regressed to the broken
cwd-relative recipe — same class as the #2655 CodeRabbit P2); updated
`tests/unit/scenarios/test_corpus.py` (added on master after kit base)
for 13 sessions + new family; regenerated topology projection;
regenerated all tour artifacts + GIF from this checkout.
- Kept the kit's `render_all` parallel→serial change (its stated reason:
generators share process-global state); measured quick gate unchanged
(20.7s).

## Verification
- `devtools verify --quick` green (20.7s) — includes render all --check,
doc-commands, topology.
- Focused battery: `test_demo_command test_demo_seed_verify
test_public_claims test_visual_vhs test_corpus tests/visual` → **76
passed**.
- Live `polylogue demo receipts --root <tmp> --seed`: verdict
`contradicted_at_claim_time_then_repaired`, failed receipt exit 1,
recovery exit 0, anti-grep 2/0, stable refs incl. blob sha256.
- `devtools verify public-claims`: ok — 8 claims, 15 evidence paths, 4
proof commands, 5 surfaces.
- Live tour: passed, **34/34 declared constructs**, first result 5.2s /
full 11.0s; leak scans clean (`/home/|/realm/|sinity`).
- Negative path exercised: unseeded configured root →
`invalid_demo_evidence`, exit 1.
Not run: full test suite (per-PR CI skips heavy tests; changed surfaces
covered above). The kit's `incident-1432/materials/` corpus was not in
the download — tracked separately in beads, not part of this diff.

Ref polylogue-3tl (external legibility epic), polylogue-3tl.16 (claims
ledger), polylogue-212 (demo portfolio).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01BeVDxsVhLuoG5w7bp5cmNU

Co-authored-by: Claude <[email protected]>
@Sinity

Sinity commented Sep 30, 2026

Copy link
Copy Markdown
Owner Author

Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.

  • 65.F049 / P2: Fix and current-source recheck assigned to polylogue-bwuz0; not claimed fixed. The tape now receives the selected output basename, but polylogue/demo/tour.py:161 discards its parent directories through resolved_output.name. The generated commands at lines 366-372 use that basename relative to the playback working directory, so nested custom output locations still replay and display a different tour.

Only the rows listed above are dispositioned. Held findings remain open.

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.

1 participant