Skip to content

docs: align session/replay docs with shipped behavior; add YARD + agent-versioning guide#39

Merged
nficano merged 1 commit into
mainfrom
docs/align-session-replay-and-yard-2026-05-23
May 24, 2026
Merged

docs: align session/replay docs with shipped behavior; add YARD + agent-versioning guide#39
nficano merged 1 commit into
mainfrom
docs/align-session-replay-and-yard-2026-05-23

Conversation

@nficano
Copy link
Copy Markdown
Contributor

@nficano nficano commented May 24, 2026

Summary

  • Realign the SDK docs with what the runtime actually ships: in-memory event buffering with explicit replay via subscribe_job(history: true, from_event_seq: ...). Transparent session-resume wiring was promised but never finished, so README, CONFORMANCE, architecture, recipes, and the sessions/resume/leases/jobs/troubleshooting guides now describe the real behavior, and §6.3 transparent resume is marked deferred.
  • Drop the gemspec's SQLite-resume-log claim; it was never the shipped backend.
  • Add YARD-style docstrings to the public Client, Job::Handle, Lease::*, Runtime, EventLog, and AgentInventory surfaces.
  • Refresh the module-deps diagrams to match the current dependency graph.
  • Add a new docs/guides/agent-versioning.md guide covering register_agent and name@version resolution (spec §7.5).

Why now

This came out of the doc audit pass — running through every guide against the live code surfaced the resume mismatch and several smaller wording drifts at the same time.

Test plan

  • rake yard parses the new docstrings without warnings
  • rake docs:lint (or whatever the local docs check is) passes
  • Skim the rendered guides and confirm the resume/replay distinction is consistent
  • Verify the agent-versioning guide examples match runtime.register_agent + submit_job(agent: 'name@version') actual behavior

🤖 Generated with Claude Code

…nt-versioning guide

The previous docs and gemspec promised transparent session resume with a
SQLite-backed event log. The SDK actually ships in-memory event buffering
with replay via `subscribe_job(history: true, from_event_seq: ...)`, and
the resume-token wiring is not finished. Update README, CONFORMANCE,
architecture, recipes, and the sessions/resume/leases/jobs/troubleshooting
guides to describe what we actually ship, and mark §6.3 transparent
resume as deferred.

Also add YARD-style docstrings to the public Client, Job::Handle, Lease,
Runtime, EventLog, and AgentInventory surfaces, refresh the module-deps
diagrams, and add a new agent-versioning guide.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@nficano nficano merged commit 95276e6 into main May 24, 2026
10 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