Skip to content

docs: split README into for-humans + for-agents with mermaid diagrams#68

Merged
LanNguyenSi merged 2 commits intomasterfrom
docs/audience-split
May 6, 2026
Merged

docs: split README into for-humans + for-agents with mermaid diagrams#68
LanNguyenSi merged 2 commits intomasterfrom
docs/audience-split

Conversation

@LanNguyenSi
Copy link
Copy Markdown
Owner

Summary

  • Splits the README into two audience-specific guides: docs/for-humans.md (operator path: install, mental model, first hour, diagnostics cheat sheet) and docs/for-agents.md (workflow lifecycle, policy/ledger sequence, CLI cheat sheet by side-effect class, audit triumvirate, things-not-to-do).
  • README shrinks to a clean landing page that picks audience, with the install block, 60-second try-it example, status checklist, what's-next, why-this-exists, and related-repo links preserved.
  • Three mermaid diagrams: a flowchart LR system map in for-humans, a stateDiagram-v2 workflow lifecycle and a sequenceDiagram policy/ledger contract in for-agents.
  • All CLI verbs cross-checked against src/cli/index.ts. Reviewer caught one mislabel (harness intercept is actually harness policy intercept, a subcommand under policy); fixed in the second commit.

Why

The previous README mixed two readers: the operator who installs harness and writes the manifest, and the agent who reads the audit triumvirate and emits ledger entries. Splitting them makes each path actionable in one read.

Refs agent-tasks 1358f4eb.

Scope cut

  • Docs-only. No source changes.
  • ARCHITECTURE.md / ROADMAP.md / VISION.md / examples/ untouched.
  • No asciinema, no generated CLI reference, no translations.

Test plan

  • No source changes; 711 / 711 tests still green.
  • CLI verbs in both new docs cross-checked against src/cli/index.ts (16 verbs verified).
  • No em-dashes in new prose (grep -n "—" returns zero in README + both new files).
  • Three mermaid blocks present (1 in for-humans, 2 in for-agents); syntax sanity-checked by reviewer.
  • Reviewed by subagent against rigorous checklist; one finding (interceptpolicy intercept) addressed in the second commit.

nguyen-si-pp and others added 2 commits May 6, 2026 06:45
The previous README mixed two audiences: the human operator who
installs harness and writes the manifest, and the agent who reads
the audit triumvirate and emits ledger entries. Split into
docs/for-humans.md (operator guide: install, mental model, first
hour, diagnostics cheat sheet) and docs/for-agents.md (workflow
lifecycle, policy/ledger sequence, CLI cheat sheet by side-effect
class, audit triumvirate). README shrunk to a landing page that
picks audience.

Three mermaid diagrams added: a system flowchart LR in for-humans,
a workflow stateDiagram-v2 and a policy/ledger sequenceDiagram in
for-agents. CLI verbs cross-checked against src/cli/index.ts. No em
dashes in new prose. Docs-only, no source changes; 711/711 tests
still green.

Refs agent-tasks 1358f4eb.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The intercept verb is registered as a subcommand under `policy`
(src/cli/index.ts:872), not at top level. Reviewer caught the
mislabel in the sequenceDiagram participant and the prose under it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@LanNguyenSi LanNguyenSi merged commit 761843c into master May 6, 2026
1 check passed
LanNguyenSi added a commit that referenced this pull request May 6, 2026
Bump package.json 0.6.0 -> 0.7.0. Roll up CHANGELOG [Unreleased]
into [0.7.0] - 2026-05-06 with a one-paragraph headline plus
operator note. PR refs (#65, #66, #67, #68, #69) added to each
entry. README now references v0.7.0 in the prose and gains a
status checklist row for the workflows-as-data + session-export +
docs-split set. Two version-pinned tests bumped to match the new
binary header.

Theme: workflows-as-data and full-session audit forensics. No
schema bump (still version: 1); all new manifest fields are
additive and parse identically against 0.6.0 manifests.

Refs agent-tasks 1fe55885.

Co-authored-by: Lan Nguyen Si <nguyen-si@publicplan.de>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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