mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-01 02:04:24 +00:00
The Pebble envelopes a step records are read as `CodingAgentEvent`s
(`{seq, stream_id, session_id, timestamp, event: {Variant}}`), so an
agent stage's chat shows the `UserInput` prompt and the assistant's
answer; a command step's exit status comes from its output; a user's
login names who answered a gate.
`lib/petri-stream.test.ts` checks the derivations over the hello, command,
parallel and gate fixtures: stream density, names, stage labels with the
fork's delegates skipped, the gate's question and answer with the
principal, the run phases from the lifecycle records, the notice between
the branches, the fork's branches from the projection, the edge a stage
took, and the envelopes. `run-events.test.tsx` checks the SWR keys a
stream item invalidates and the run filter on the coordinated stream.
`run-petri.render.test.tsx` renders the stage list, the chat, the
parallel children, the fan-in, the events list, the waterfall, the Q&A,
the decision and the platform records for each fixture.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| components | ||
| data | ||
| hooks | ||
| layouts | ||
| lib | ||
| routes | ||
| test-fixtures/petri | ||
| app.css | ||
| entry.tsx | ||
| install-api.test.ts | ||
| install-api.ts | ||
| install-app.test.tsx | ||
| install-app.tsx | ||
| install-config.test.ts | ||
| install-config.ts | ||
| install-flow.test.ts | ||
| install-flow.ts | ||
| install-query.ts | ||
| install-router.test.tsx | ||
| install-router.tsx | ||
| mode.test.ts | ||
| mode.ts | ||
| root.tsx | ||
| router.test.tsx | ||
| router.tsx | ||