Skip to content

Close #16 #17 #18 #19: docs cleanup, recipes, samples, contributing#21

Merged
nficano merged 2 commits into
mainfrom
issues/17-18-16-19-docs-cleanup
May 22, 2026
Merged

Close #16 #17 #18 #19: docs cleanup, recipes, samples, contributing#21
nficano merged 2 commits into
mainfrom
issues/17-18-16-19-docs-cleanup

Conversation

@nficano
Copy link
Copy Markdown
Contributor

@nficano nficano commented May 22, 2026

Resolves #16, resolves #17, resolves #18, resolves #19.


Issue #16 — Expand docs/recipes.md with 4 missing TS canonical recipes

Added four new complete, runnable recipes:

Recipe What it shows
email-vendor-leases InMemoryProvisioner + lease-scoped credential, auto-revoked on termination
mcp-skill Wrapping a job as a synchronous MCP skill callable with structured error handling
multi-agent-budget Orchestrator delegating to sub-workers with sub-budgets via Subsetting.bound
stream-resume Subscribing with resume_token + last_event_seq, reassembling chunks across a reconnect

Issue #17 — Create samples/README.md

New samples/README.md documents why the Ruby SDK ships no sample scripts (single-file MemoryTransport usage is idiomatic; all patterns live in docs/recipes.md and spec/integration/) and points to the integration tests.


Issue #18 — Create CONTRIBUTING.md

New CONTRIBUTING.md covering:

  • Repository layout
  • Idiomatic Ruby style (frozen string literals, Data.define, keyword args, no unless…else, Comparable, Enumerable)
  • RuboCop limits (method ≤ 15 lines, class ≤ 200 lines, file ≤ 300 lines, ABC ≤ 18)
  • YARD documentation requirements
  • Commit and PR conventions
  • Running tests (bundle exec rake spec, bundle exec rake spec:integration)
  • spec/support/ helpers and transport pair pattern

Issue #19 — Align docs/ structure with TS SDK

New files

File Merged from
docs/README.md (new index)
docs/conformance.md pointer to root CONFORMANCE.md
docs/guides/sessions.md concepts/sessions.md + reference/capabilities.md
docs/guides/auth.md concepts/auth.md
docs/guides/resume.md concepts/resume.md + concepts/heartbeats.md
docs/guides/jobs.md concepts/jobs.md + guides/budgets.md
docs/guides/job-events.md concepts/events.md + concepts/subscribe.md + guides/result-streaming.md
docs/guides/leases.md concepts/leases.md
docs/guides/delegation.md concepts/delegation.md
docs/guides/errors.md reference/errors.md
docs/guides/vendor-extensions.md concepts/vendor-extensions.md

Updated files

  • docs/getting-started.md — merged full quickstart script (ECHO_HANDLER, "What you should see"), updated Next links to new guide paths
  • docs/architecture.md — added Capabilities section (Feature constants, negotiation, checking features) and Agent versioning section; updated diagram table to SVGs

Deleted

  • docs/concepts/ (all 10 files — merged into guides)
  • docs/guides/quickstart.md, budgets.md, result-streaming.md, agent-versioning.md (merged into getting-started / jobs / job-events / architecture)
  • docs/reference/capabilities.md, errors.md, conformance.md (merged or replaced)

🤖 Generated with Claude Code

nficano and others added 2 commits May 21, 2026 22:17
- Add docs/README.md: index with Start here, Guides, Diagrams, Conformance
- Add docs/conformance.md: pointer to root CONFORMANCE.md
- Rewrite docs/getting-started.md: merge quickstart full script + ECHO_HANDLER,
  'What you should see' block, update Next links to new guide paths
- Update docs/architecture.md: add Capabilities section (Feature constants,
  negotiation, checking features) and Agent versioning section from deleted
  standalone guides; fix spec frontmatter kind
- Add docs/guides/sessions.md (merged from concepts/sessions.md + reference/capabilities.md)
- Add docs/guides/auth.md (merged from concepts/auth.md)
- Add docs/guides/resume.md (merged from concepts/resume.md + concepts/heartbeats.md)
- Add docs/guides/jobs.md (merged from concepts/jobs.md + guides/budgets.md)
- Add docs/guides/job-events.md (merged from concepts/events.md + concepts/subscribe.md
  + guides/result-streaming.md)
- Add docs/guides/leases.md (merged from concepts/leases.md)
- Add docs/guides/delegation.md (merged from concepts/delegation.md)
- Add docs/guides/errors.md (merged from reference/errors.md)
- Add docs/guides/vendor-extensions.md (merged from concepts/vendor-extensions.md)
- Delete docs/concepts/ (10 files merged into guides/)
- Delete docs/guides/quickstart.md, budgets.md, result-streaming.md, agent-versioning.md
  (content merged into getting-started.md / jobs.md / job-events.md / architecture.md)
- Delete docs/reference/ (capabilities.md, errors.md, conformance.md merged or replaced)
- Update docs/README.md diagram table to reference actual SVG files

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@nficano nficano merged commit 1968f48 into main May 22, 2026
6 of 8 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

1 participant