Skip to content

Land the re-recorded demo on main - #64

Merged
mustafa-bharmal-shipveho merged 1 commit into
mainfrom
demo/land-on-main
Jun 12, 2026
Merged

mustafa-bharmal-shipveho merged 1 commit into
mainfrom
demo/land-on-main

Conversation

@mustafa-bharmal-shipveho

Copy link
Copy Markdown
Owner

Replaces #63 (closed: unresolvable-by-content conflicts from #61's squash-merge history divergence). This is a clean cherry-pick of the demo commit from #62 onto current main; it applied with zero conflicts.

Exactly the four-file delta that #62 was supposed to deliver to main:

  • demo/demo.gif — new 4-beat recording: proactive injection (the hook enriching a prompt), recall trace provenance walk, the non-TTY --reviewed write refusal, recall stats
  • demo/demo.tape — the new script (idempotent re-record, deterministic hook beat via demo-only 20s timeout)
  • demo/make_demo_brain.py — hero lesson with remember-style provenance, originating digest, auto-recall demo config
  • README.md — demo caption describing the four beats

Full description and verification evidence in #62. Squash-merge, and delete the branch on merge.

🤖 Generated with Claude Code

The old tape showed query / pending / stats: the most commoditized
capabilities in the category, and none of the three rows where the README's
own comparison table is uniquely "yes" (review gate, proactive injection,
provenance/replay). New four-beat arc, all against the synthetic brain:

1. Proactive injection: the UserPromptSubmit hook is driven exactly the way
   Claude Code drives it (hooks.py + JSON on stdin) and enriches the prompt
   with a past lesson, before you ask. The old tape cut this beat as too
   fragile to record; the demo runtime.toml now raises
   auto_recall_timeout_ms to 20s (production default stays 3000ms), which
   makes it deterministic.
2. Audit: `recall trace` walks that same injected lesson back to its
   provenance and originating session digest (the headline claim).
3. Trust gate: a piped (non-TTY) `recall remember --reviewed` is REFUSED;
   the default write lands staged for human review.
4. ROI: `recall stats --since 7d`.

make_demo_brain.py grows a hero lesson with full remember-style provenance
frontmatter, a session digest the trace resolves to, and auto-recall enabled
in the demo runtime config. The tape now also rm -rf's the demo dir in
hidden setup: beat 3 writes a lesson, so re-recording would otherwise
collide on "lesson already exists".

Every on-camera command was executed and verified before recording; the
GIF's frames were spot-checked after.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mustafa-bharmal-shipveho
mustafa-bharmal-shipveho merged commit 3fe10b0 into main Jun 12, 2026
3 checks passed
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