Skip to content

Claude/amazing wright rzio6c - #2

Merged
argahv merged 23 commits into
mainfrom
claude/amazing-wright-rzio6c
Oct 18, 2026
Merged

argahv merged 23 commits into
mainfrom
claude/amazing-wright-rzio6c

Conversation

@argahv

@argahv argahv commented Oct 18, 2026

Copy link
Copy Markdown
Owner

No description provided.

claude added 23 commits October 17, 2026 14:09
Root workspace (pnpm 10, TypeScript 6, vitest 5 projects), package
manifests for events, testkit, core, world-engine, replay, runtime and
the Next.js studio, with pinned dependency versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
events: versioned envelope, zod payload schemas for run/agent/task/tool/
artifact events, lenient and strict parsing, secret redaction, a
sequence buffer for out-of-order delivery, and the runtime/studio HTTP
and SSE protocol types.

testkit: deterministic ids and clock, a run builder, an unreliable
delivery simulator, and the canonical 58-event coding-mission fixture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Type contracts for Layer 1 (execution state), Layer 2 (world state,
motion, presentation) and replay, the world definition schema, the
Research Campus map, and the studio scene boundary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Parsing, redaction and sequence-buffer tests, including 200 seeded
shuffles with duplicates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Pure, idempotent fold of recorded events into run, agent, task, tool
call, artifact, message, incident and anomaly state, with selectors and
a text-trace formatter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Compiles a world definition, plans deterministic grid paths, derives
each character's intent from execution state, reserves station slots
with overflow queues, and evaluates closed-form motion so live and
replayed positions are identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Reconstructs combined execution and world state at any sequence or
time, with tests proving replay equals the live fold under shuffled and
duplicated delivery.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
SQLite event recorder (persist, then publish), sandboxed file and test
tools, a scripted adapter that performs real tool calls, a Hono HTTP
API with resumable SSE, and serve/demo CLI commands. The example repo's
planted bug makes 2 of 12 tests fail for real before the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Next.js static-export Studio: runs sidebar, timeline/logs/state/metadata
tabs, agent details with artifact viewer, replay bar with a time-based
scrubber and live/replay modes, and keyboard controls. Live data comes
over resumable SSE through the sequence buffer and the replay index.

The React Three Fiber scene is data-driven from the world definition: a
dark diorama board with cutaway rooms, glowing paths with message
packets, stations with screens and incident beacons, and chibi robots
whose position comes only from the world engine and whose eyes and
badges show their real state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
A Claude Code plugin whose hooks forward session, prompt, tool,
permission and subagent events to the local runtime, which records
them as a traced run and shows the session (subagents included) live
in Studio. Covers the hook-to-event mapping, schema and runtime
changes, privacy, testing, milestones and open questions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Integration: studio, runtime and engine wired together and verified with
a live Playwright run (live view, failure, replay, restart persistence).

Review fixes (18 of 19 findings; 235 tests):
- Characters of stopped or interrupted runs no longer stay 'Working'.
- Route starts use fractional event ticks, so walkers never jump.
- 'Succeeded' only on the completing event; blocked tasks show blocked.
- Invalid envelopes become anomalies instead of stalling the stream.
- Boot recovery stamps events at the run's last activity.
- Artifact reads verify sha256; tests are documented as unisolated.
- Graceful shutdown delivers the final events to SSE clients.
- Non-loopback clients and hosts are refused.
- Scrubber reaches the last event; timeline follows seeks; effects do
  not pile up in background tabs; fewer per-frame re-renders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Strategy and wedge from competitive and ecosystem research; decisions
DL-001..006; a baseline with verified commands; the task ledger; and the
M0 probe results from real Claude Code sessions added to the tracer plan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Founder design brief captured as an implementation-ready spec: colour,
type, spacing and motion tokens, information architecture, synchronised
world/timeline/inspector, named world environments, provenance labels
and verification rules. Ledger and strategy updated; Geist fonts and
resizable panels added to the studio. Tracer plan records the async
hook findings (out-of-order delivery, Stop lost under -p).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
- events: traced run mode and source, external adapter, provenance on
  the envelope, run.marker, agent.usage_reported, tool categories, turn
  and delegated task kinds, unobserved failures, ingest DTOs; runtime
  port moved to 4380 (DL-005). All additive; old logs parse unchanged.
- core/world-engine: markers, reported usage, tool-category activity
  rules, dynamic subagent presets; world zones renamed to the design
  system's environments.
- runtime: token-protected ingest endpoint, pure hook mapper, session
  manager with dedupe, idle sweep and continuation segments, all-or-
  nothing recordBatch, mode-aware recovery, migration 1.
- integrations/claude-code-plugin: async hooks (Stop, StopFailure and
  SessionEnd synchronous), spool-first delivery, redaction, --doctor;
  marketplace manifest.
- Fixtures sanitised from real claude -p sessions plus synthetic edge
  cases, golden mapper tests, and a plugin end-to-end test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Tokens for dark and light themes, Geist fonts, a ui/ component library,
and pages for Overview, Live World, Traces, Integrations and Settings
with deep links. One synchronised selection across world, timeline,
graph and inspector; event-exact replay; search and filters; metrics
with honest 'not reported' values; traced-run provenance; 3D world
restyled with fit-to-viewport and collision-free labels; 2D Network
graph fallback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
A real claude -p session traced live into Studio (subagents, real
failing test incident, reported usage, restart persistence, offline
spool). Adds the screenshot script, architecture and event-model docs,
verification report, changelog, and updated status and ledger.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Founder brief captured as the committed thesis: a persistent, populated
world where simulated residents and real agents coexist; truth and
provenance rules; the agent/connection/workspace/building/session model;
world-first experience; milestones W1-W6; and how existing work maps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Plan of record for W1, W2 and a thin W4: new pure town and sim packages,
deterministic tick phases with grounded explanations, world event log
and checkpoints in SQLite, the world host and stream, agents as housed
residents bound to the existing tracer, approval-gated headless dispatch,
world-first Studio, truth rules as tests, and acceptance per stage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
- core: summarizeRun and diffRuns; unreported values are never compared or shown as 0
- events: optional target on tool calls (Claude Code mapper and scripted adapter)
- runtime: baselines persisted (migration 2) with POST/DELETE /api/runs/:id/baseline
- studio: Experiments page with baseline and candidate pickers, first divergence and event links; pin toggle on runs
- world: tighter framing, larger chibi robots, key and rim lighting, tinted rooms, paths lit only by real events
- docs: DL-008, verification report section 6, current state, TASKS, README screenshots

Checks: pnpm -r typecheck, pnpm test (632 passed), pnpm build, plugin validate --strict, demo 10/2 then 12/12.
Independent review of this work was interrupted and has not run yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
Joins the branch with main, which holds rebased copies of the same commits. No content changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181mTRVEPBcM3fNxRSriJFw
@argahv
argahv merged commit 8a1c46e into main Oct 18, 2026
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.

2 participants