docs(registry): write MkDocs API documentation with examples for Package Registry Client (Epic #22) #51
Labels
No labels
auto/blocked-by-deps
auto/ci-timeout
auto/claimed-implementer
auto/claimed-merge
auto/claimed-reviewer
auto/driver-down
auto/invariant-violation
auto/last-attempt-tier-0
auto/last-attempt-tier-1
auto/last-attempt-tier-2
auto/last-attempt-tier-min
Automation Tracking
auto/needs-conflict-resolution
auto/needs-implementer
auto/postmortem
auto/ready-to-merge
auto/restart-throttled
auto/revert
auto/sentinel
auto/stale-inactivity
auto/unstable
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs Feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
CI Blocker
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Automation
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Refactor
Type
Support
Type
Task
Type
Testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#22 Epic: Package Registry Client — Support Package Registry Standard v1.0.0
cleveragents/cleveractors-core
#52 docs(registry): add MkDocs API documentation and usage examples for Package Registry Client
cleveragents/cleveractors-core
Reference
cleveragents/cleveractors-core#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Metadata
Commit Message: docs(registry): add MkDocs API documentation and usage examples for Package Registry Client
Branch: feature/m1-registry-docs
Background and context
Epic #22 delivered a complete Package Registry Standard v1.0.0 client across 8 feature tickets (#23–#30). The implementation spans
src/cleveractors/registry/with 6 modules (types, client, canonical, resolver, exceptions, cache), plus template system alignment. Currently there is no user-facing API documentation for any of these modules — users must read source code or issue bodies to understand usage.We need navigable, well-structured MkDocs-formatted documentation under
docs/covering every public API surface from the registry subsystem, illustrated with real-life constructive examples that demonstrate both individual API calls and multi-step integration workflows.Part of Epic: Package Registry Client — Support Package Registry Standard v1.0.0 (#22)
Expected behavior
Documentation structure (
docs/registry/)Each page must:
client.mdlinks toexceptions.mdfor error types)Example quality requirements
All code examples must be real-life constructive examples — not trivial one-liners but meaningful scenarios drawn from actual use cases. Examples should demonstrate:
async/awaitExample use cases to illustrate:
registry.example.com:acme/order-validator@v1.0.0to validate part numbers in purchase ordersAcceptance criteria
Documentation completeness
docs/registry/index.mdexists with architecture overview, module map, and quickstartdocs/registry/types.mddocuments PackageType enum, PackageId, PackageReference, PackageContent with all fields and immutability guaranteesdocs/registry/client.mddocuments RegistryClient with all 4 endpoints, auth modes, error mapping, async patternsdocs/registry/canonical.mddocuments Canonicalizer with NFC, RFC-8785, SHA-1 pipeline, lifecycle field strippingdocs/registry/resolver.mddocuments ReferenceResolver with all 3 schemes (registry:,ID:,local:) and version alias resolutiondocs/registry/exceptions.mddocuments the full RegistryError hierarchy (8 typed exceptions) with HTTP status code mappingdocs/registry/cache.mddocuments RegistryCache with LRU eviction, TTL, tamper detection, statistics APIdocs/registry/integration.mdcontains 3+ end-to-end workflows combining multiple modulesExample coverage
docs/registry/*.mdpage (except index) includes at least 1 real-life constructive exampleintegration.mdincludes 3+ multi-step examples (electronic ordering, email categorization, CI/CD verification)async/awaitwhere RegistryClient is involvedNavigation and structure
mkdocs.ymlupdated withdocs/registry/in the nav treenox -s docsbuilds without errorsQuality gates
nox -s docsnox -s coverage_reportSubtasks
docs/registry/index.md— overview, architecture, module map, quickstartdocs/registry/types.md— PackageType, PackageId, PackageReference, PackageContent + examplesdocs/registry/client.md— RegistryClient endpoints, auth, error mapping, async patterns + examplesdocs/registry/canonical.md— Canonicalizer pipeline, NFC, RFC-8785, SHA-1 + examplesdocs/registry/resolver.md— ReferenceResolver, 3 schemes, version aliases + examplesdocs/registry/exceptions.md— RegistryError hierarchy, HTTP mapping, 8 typed errors + examplesdocs/registry/cache.md— RegistryCache LRU, TTL, tamper detection, statistics + examplesdocs/registry/integration.md— 3+ end-to-end workflow examplesmkdocs.ymlnav tree withdocs/registry/entriesnox -s docsbuilds without errorsnox -s coverage_report>= 97%nox(all default sessions), fix any errorsDefinition of Done
This issue is complete when:
This is a child of Epic #22: Package Registry Client — Support Package Registry Standard v1.0.0