docs: implementation plan (TTY precedents folded in); task decomposition (17 tasks)
Plan updated with the alknet-tty findings: the drainer pattern (single ordered writer) makes outbound chunk-boundary parsing sound; TestStdinSink's try_send→Full→Pending is the inbound backpressure precedent; OQ-01(a) now cites the reference. Task graph (taskgraph-validated, 17 tasks, 6 generations, no cycles): - tasks/server/: core-types, auth, healthz-decoy, adapter - tasks/gateway/: dispatch, routes, publish - tasks/websocket/: byte-adapter (research POC), upgrade-session, overlay-ops - tasks/adapters/: from-openapi, from-jsonschema, to-openapi, from-wss, mcp - tasks/client/: http-host - tasks/infra/: integration-suite (phase 4) Critical path runs through server core → adapter → WS session → overlay tests → integration suite. High-risk tasks are the three WS tasks, de-risked by the ws-byte-adapter POC blocking upgrade-session.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
---
|
||||
id: infra-integration-suite
|
||||
name: Full-surface integration suite + docs sync + publish prep
|
||||
status: pending
|
||||
depends_on: [gateway-publish, adapter-to-openapi, adapter-from-wss, adapter-mcp, ws-overlay-ops]
|
||||
scope: moderate
|
||||
risk: medium
|
||||
impact: project
|
||||
level: review
|
||||
tags: [infra, phase-4]
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
Phase 4 hardening. (1) Integration suite exercising the full surface
|
||||
over DuplexStream + in-process WSS: gateway 6 endpoints, WS session
|
||||
(call + data channel + overlay), from_openapi import → call → error
|
||||
fidelity, from_wss import over the WS server, mcp feature interplay.
|
||||
(2) Docs sync: port-notes sections stripped from ported ADRs/specs
|
||||
after review, open-questions.md statuses updated (OQ-01/02 → resolved),
|
||||
README doc table final. (3) Publish prep: `cargo publish --dry-run
|
||||
--allow-dirty`, semver/API surface check against AGENTS.md conventions,
|
||||
Cargo.toml metadata polish.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] `cargo test --all-features` green; clippy `-D warnings` green; fmt green
|
||||
- [ ] Full-surface integration test passing (gateway + WS + one adapter each direction)
|
||||
- [ ] Port notes stripped; OQ statuses updated
|
||||
- [ ] `cargo publish --dry-run --allow-dirty` succeeds
|
||||
- [ ] taskgraph shows all tasks completed
|
||||
|
||||
## References
|
||||
|
||||
- docs/plans/implementation.md (§Build order, Phase 4)
|
||||
- AGENTS.md (verification commands, commit conventions)
|
||||
|
||||
## Notes
|
||||
|
||||
> Agent fills during implementation.
|
||||
|
||||
## Summary
|
||||
|
||||
> Agent fills on completion.
|
||||
Reference in New Issue
Block a user