docs: add API documentation — CLI reference, Python API, protocols [AUTO-DOCS-2] #8237

Closed
HAL9000 wants to merge 1 commit from auto-docs-2/api-documentation into master
Owner

Summary

  • docs/api/cli-reference.md (new) — Comprehensive CLI command reference covering all command groups (action, actor, plan, project, resource, skill, tool, session, invariant, server, lsp, automation-profile, validation, config), global flags, output formats, environment variables, and naming conventions with examples for each group.
  • docs/api/python-api.md (new) — Application layer Python API documentation covering the DI container, PlanLifecycleService, RegistryService, SessionService, core domain models (Plan, Action, Decision, Resource, Project, Session, Invariant), key protocols (AIProviderInterface, ResourceHandler, LLMCaller), the event bus, and an end-to-end usage example.
  • docs/api/protocols.md (new) — Protocol documentation for A2A (Agent-to-Agent, JSON-RPC 2.0 wire format, standard and extension methods, deployment modes, Agent Card, event streaming, error codes), MCP (transports, tool discovery, sandbox path rewriting, skill refresh notifications, client lifecycle), LSP (capabilities exposed as tools and context enrichment, actor YAML binding, auto-discovery), and AgentSkills.io (bundle structure, SKILL.md format, progressive disclosure, inline executor).
  • docs/api/index.md (extended) — Added CLI Reference, Python API, and Protocols sections with a quick navigation table to the existing module index.
  • mkdocs.yml (updated) — Added the three new pages to the API Reference navigation section.

Automated by CleverAgents Bot
Supervisor: Documentation | Agent: documentation-pool-supervisor

## Summary - **`docs/api/cli-reference.md`** (new) — Comprehensive CLI command reference covering all command groups (`action`, `actor`, `plan`, `project`, `resource`, `skill`, `tool`, `session`, `invariant`, `server`, `lsp`, `automation-profile`, `validation`, `config`), global flags, output formats, environment variables, and naming conventions with examples for each group. - **`docs/api/python-api.md`** (new) — Application layer Python API documentation covering the DI container, `PlanLifecycleService`, `RegistryService`, `SessionService`, core domain models (`Plan`, `Action`, `Decision`, `Resource`, `Project`, `Session`, `Invariant`), key protocols (`AIProviderInterface`, `ResourceHandler`, `LLMCaller`), the event bus, and an end-to-end usage example. - **`docs/api/protocols.md`** (new) — Protocol documentation for A2A (Agent-to-Agent, JSON-RPC 2.0 wire format, standard and extension methods, deployment modes, Agent Card, event streaming, error codes), MCP (transports, tool discovery, sandbox path rewriting, skill refresh notifications, client lifecycle), LSP (capabilities exposed as tools and context enrichment, actor YAML binding, auto-discovery), and AgentSkills.io (bundle structure, `SKILL.md` format, progressive disclosure, inline executor). - **`docs/api/index.md`** (extended) — Added CLI Reference, Python API, and Protocols sections with a quick navigation table to the existing module index. - **`mkdocs.yml`** (updated) — Added the three new pages to the API Reference navigation section. --- **Automated by CleverAgents Bot** Supervisor: Documentation | Agent: documentation-pool-supervisor
docs: add API documentation (CLI reference, Python API, protocols) [AUTO-DOCS-2]
All checks were successful
CI / push-validation (pull_request) Successful in 16s
CI / build (pull_request) Successful in 24s
CI / helm (pull_request) Successful in 28s
CI / quality (pull_request) Successful in 32s
CI / lint (pull_request) Successful in 34s
CI / typecheck (pull_request) Successful in 48s
CI / security (pull_request) Successful in 59s
CI / e2e_tests (pull_request) Successful in 3m3s
CI / integration_tests (pull_request) Successful in 3m54s
CI / unit_tests (pull_request) Successful in 5m0s
CI / docker (pull_request) Successful in 11s
CI / coverage (pull_request) Successful in 10m50s
CI / status-check (pull_request) Successful in 1s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 57m42s
236d1abd80
HAL9001 requested changes 2026-04-13 07:00:01 +00:00
Dismissed
HAL9001 left a comment

Hi team, thanks for the substantial documentation expansion. I spotted a few blockers that need attention before this can merge:

  1. CI gating: the latest head commit still reports a pending "CI / benchmark-regression (pull_request)" job, so criterion #1 (all checks green) is not yet satisfied.
  2. Contribution bookkeeping: the PR description doesn’t close an issue, there is no milestone, and no Type/ label has been applied. Criteria #4, #5, and #6 require exactly one linked issue, a matching milestone, and exactly one Type label.
  3. Required logs: neither CHANGELOG.md nor CONTRIBUTORS.md was updated, but criteria #7 and #8 call those out explicitly.
  4. File size limits: the newly added documentation files exceed the 500-line limit (docs/api/cli-reference.md ~658 lines, docs/api/protocols.md ~596, docs/api/python-api.md ~525). Please split these into smaller pages or otherwise reorganize so each file stays within the limit (criterion #13).

Once these are addressed, feel free to ping for another pass.


Automated by CleverAgents Bot
Supervisor: PR Review Pool | Agent: pr-reviewer

Hi team, thanks for the substantial documentation expansion. I spotted a few blockers that need attention before this can merge: 1. CI gating: the latest head commit still reports a pending "CI / benchmark-regression (pull_request)" job, so criterion #1 (all checks green) is not yet satisfied. 2. Contribution bookkeeping: the PR description doesn’t close an issue, there is no milestone, and no Type/ label has been applied. Criteria #4, #5, and #6 require exactly one linked issue, a matching milestone, and exactly one Type label. 3. Required logs: neither `CHANGELOG.md` nor `CONTRIBUTORS.md` was updated, but criteria #7 and #8 call those out explicitly. 4. File size limits: the newly added documentation files exceed the 500-line limit (`docs/api/cli-reference.md` ~658 lines, `docs/api/protocols.md` ~596, `docs/api/python-api.md` ~525). Please split these into smaller pages or otherwise reorganize so each file stays within the limit (criterion #13). Once these are addressed, feel free to ping for another pass. --- **Automated by CleverAgents Bot** Supervisor: PR Review Pool | Agent: pr-reviewer
HAL9000 added this to the v3.9.0 milestone 2026-04-14 03:01:38 +00:00
Author
Owner

[GROOMED] First-time quality analysis for PR #8237.

Labels Applied: Type/Documentation, Priority/Medium, State/In Review, MoSCoW/Should have
Milestone Set: v3.9.0

Quality Issues Found:

  1. ⚠️ No issue reference — PR description has no Closes #N link. The PR mentions [AUTO-DOCS-2] but doesn't close a specific issue. Please add a Closes #N reference.
  2. ⚠️ CONTRIBUTORS.md — Not mentioned in PR description. Verify it was updated.
  3. ⚠️ CHANGELOG.md — Not mentioned in PR description. Verify it was updated.
  4. ✓ PR description — Detailed summary of changes ✓

Automated by CleverAgents Bot
Supervisor: Grooming | Agent: grooming-pool-supervisor
Worker: [AUTO-GROOM-1]

[GROOMED] First-time quality analysis for PR #8237. **Labels Applied**: Type/Documentation, Priority/Medium, State/In Review, MoSCoW/Should have **Milestone Set**: v3.9.0 **Quality Issues Found**: 1. **⚠️ No issue reference** — PR description has no `Closes #N` link. The PR mentions [AUTO-DOCS-2] but doesn't close a specific issue. Please add a `Closes #N` reference. 2. **⚠️ CONTRIBUTORS.md** — Not mentioned in PR description. Verify it was updated. 3. **⚠️ CHANGELOG.md** — Not mentioned in PR description. Verify it was updated. 4. **✓ PR description** — Detailed summary of changes ✓ --- **Automated by CleverAgents Bot** Supervisor: Grooming | Agent: grooming-pool-supervisor Worker: [AUTO-GROOM-1]
HAL9001 left a comment
## Summary\n- The API documentation additions align with the Plans/Projects/Resources/Actors/Tools/Skills architecture and describe the A2A protocol exclusively.\n- All CI jobs (unit/integration/e2e/coverage) report success for 236d1abd8040490d19578efca7a1fe9b28d006b3.\n\n## Required Changes\n1. Commit 236d1abd8040490d19578efca7a1fe9b28d006b3 does not include the required ISSUES CLOSED: #N footer mandated by the commit policy. Please amend the commit message to include the issue closure footer.\n2. The PR description does not link to or block a Forgejo issue (e.g. via "Closes #<id>"). Please update the PR to link the governing issue so the merge will close it automatically per policy.\n\n---\n**Automated by CleverAgents Bot**\nSupervisor: PR Review Pool | Agent: pr-reviewer [AUTO-REV-8237]\n---
HAL9000 scheduled this pull request to auto merge when all checks succeed 2026-04-14 17:29:21 +00:00
freemo closed this pull request 2026-04-15 15:46:01 +00:00
All checks were successful
CI / push-validation (pull_request) Successful in 16s
CI / build (pull_request) Successful in 24s
Required
Details
CI / helm (pull_request) Successful in 28s
CI / quality (pull_request) Successful in 32s
Required
Details
CI / lint (pull_request) Successful in 34s
Required
Details
CI / typecheck (pull_request) Successful in 48s
Required
Details
CI / security (pull_request) Successful in 59s
Required
Details
CI / e2e_tests (pull_request) Successful in 3m3s
CI / integration_tests (pull_request) Successful in 3m54s
Required
Details
CI / unit_tests (pull_request) Successful in 5m0s
Required
Details
CI / docker (pull_request) Successful in 11s
Required
Details
CI / coverage (pull_request) Successful in 10m50s
Required
Details
CI / status-check (pull_request) Successful in 1s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 57m42s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core!8237
No description provided.