Skip to content

docs: compact design and spec, and correct them against the code - #62

Merged
xxchan merged 1 commit into
mainfrom
docs/compact-design-spec
Oct 2, 2026
Merged

xxchan merged 1 commit into
mainfrom
docs/compact-design-spec

Conversation

@xxchan

@xxchan xxchan commented Oct 2, 2026

Copy link
Copy Markdown
Member

First pass of the documentation maintenance xxchan asked for (#core, 2026-10-02): pages state the current truth, history stays in git and experiments, every evidence pointer is kept. Each page was compacted, then compared against the original by a separate reviewer for dropped facts, changed promises and unsupported claims, and the findings were fixed. 19,694 to 19,005 words; the value is mostly correctness, not length.

Design (docs/design):

  • chat-ui.md described @botiverse/oar/ui and @botiverse/oar/react, which never shipped. Rewritten to the shipped surface (SessionView in @botiverse/oar/observe, consumed by rowrow; deliver for sending); images are no longer an open question; dashes removed.
  • hard-problems: steering is no longer grok only (claude, codex and pi steer; kimi, cursor, antigravity cannot); compaction is reported by codex, claude and pi.
  • liveness: a dead process's open tool call is not given a synthetic settlement; the exited record ends the waiting and no outcome is fabricated (links crash-resume.md).
  • motivation: CLI and contract lists match what exists (no install or config command).
  • roadmap: dated "Landed" narration folded into current status; shipped foundation lists subagents, deliver, task events, update checks; the live setter claim is scoped to the probed runtimes.

Spec (docs/spec), contract corrections:

  • session-graph-and-cursor.md promised that after process death an adapter rebuilds the stream from the runtime's log with the same seq. No adapter does, and it contradicts the replay boundary and the 2026-09-15 readback refusal. It now says replay after death comes from the host's persisted records.
  • attribution.md said codex and claude attribute usage with subagent_tokens; nothing reads that field. Now: codex child threads with per-thread cumulative usage, claude result usage accumulated per agentPath.
  • record-stream.md: event list gains user_message, control_rejected.code, request body fields, epoch-ms receivedAt, coalesceText maxHoldMs; reachability rejections named by code.
  • inventory.md: cursor and antigravity rows; scope_unavailable noted as never returned.
  • conversation.md: OAR never adds markers to input text or derives a universal consumed event (moved from the superseded steer-delivery proposal).
  • subagents.md and agents/types.ts: log file name matches crew.ts (<name or runtime>-<sessionId>.jsonl).
  • README: coverage lists all seven adapters and how each is pinned (shared suite in CI on mock plus claude/codex/pi aimock, live-contract.ts on real logins).
  • Code comments only: steer rejection codes in contracts/session.ts and session-kernel.ts (not_steerable is a reason prefix, not a code).

Deferred to the next weekly pass: moving refusal history that the spec still carries (concurrent prompt queueing, two channels, usage accounting label, per-agent resume filter, no storage layer) into decisions.md.

pnpm run typecheck and pnpm run lint pass; all relative links and anchors in changed files resolve.

🤖 Generated with Claude Code

Part of the 2026-10-02 documentation maintenance pass: pages state the
current truth, history stays in git and experiments, every evidence
pointer is kept, and claims were checked against the code.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit 1311108 into main Oct 2, 2026
12 checks passed
@xxchan
xxchan deleted the docs/compact-design-spec branch October 2, 2026 11:22
@xxchan xxchan mentioned this pull request Oct 2, 2026
xxchan added a commit that referenced this pull request Oct 2, 2026
Patch release:

- #65 codex: a thread's `subAgentActivity` changes only its own
children's tasks and edges. A subagent messaging a sibling or the root
no longer creates a phantom root task or reopens the sibling; a
grandchild's edge comes from its real parent (found by the daily
inspection, closes #60).
- #67 `--version` probe failures keep the native reason and stderr tail;
the codex test-home warmup waits for a successful handshake and exit.
- #68 codex: the first app-server initialization per `CODEX_HOME` is
coordinated within one OAR module. codex 0.160.0 fails SQLite
initialization when several processes first open a fresh home at once
(upstream openai/codex#50290); sessions, account usage and inventories
now wait for the first handshake, then start concurrently. Eight cold
concurrent opens went from 1/8 to 8/8.
- Docs: the 2026-10-02 maintenance pass (#62, #63, #64, #66).

Version bump only in this PR.

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

Co-authored-by: exe.dev user <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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