Plan: stabilize slice transport contract and dev auth seam#70
Conversation
…abilization Introduce a comprehensive draft execution plan for roadmap item 4.4.2 to stabilize the slice transport contract and development authentication seam. This living document defines constraints, tolerances, risks, progress tracking, decision logs, and next steps for task create, detail, and transition HTTP routes, aiming to enable a repeatable local preview without freezing production auth or live routing, and sets the groundwork for subsequent roadmap work 4.4.3. Co-authored-by: devboxerhub[bot] <devboxerhub[bot]@users.noreply.github.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Reviewer's GuideAdds a new ExecPlan document for roadmap item 4.4.2 that formalizes how to stabilize the slice task transport contract and introduce a development-only auth seam, including constraints, staged plan of work, risks, tolerances, validation gates, and documentation expectations. Sequence diagram for development preview HTTP path with auth seamsequenceDiagram
actor Developer
participant Browser
participant RoutesUI
participant TaskSliceDomain
participant Ports
participant HttpTaskGateway
participant DevAuthSeam
participant HttpApi
participant TaskService
Developer->>Browser: Start preview mode (fixture or HTTP)
Browser->>RoutesUI: Navigate to task slice UI
RoutesUI->>TaskSliceDomain: Render task detail/create view
TaskSliceDomain->>Ports: Request task operation (create/detail/transition)
Ports->>HttpTaskGateway: call_task_operation(taskRequest)
HttpTaskGateway->>DevAuthSeam: attach_dev_auth(request)
DevAuthSeam-->>HttpTaskGateway: authenticated_request
HttpTaskGateway->>HttpApi: HTTP call (task route)
HttpApi->>TaskService: Execute task lifecycle rule
TaskService-->>HttpApi: TaskResult
HttpApi-->>HttpTaskGateway: ResponseEnvelope (success or error)
HttpTaskGateway-->>Ports: TaskResult or TaskGatewayError
Ports-->>TaskSliceDomain: Normalized task state
TaskSliceDomain-->>RoutesUI: Updated view model
RoutesUI-->>Browser: Render updated UI
Flow diagram for ExecPlan stages A–E and go/no-go checkpointsflowchart TD
A["Stage A: Lock slice contract and dependency intake"]
B["Stage B: Harden backend task transport contract"]
C["Stage C: Implement frontend HTTP adapter and dev auth seam"]
D["Stage D: Validate contract, auth seam, unhappy paths"]
E["Stage E: Update design/docs and close roadmap item"]
A_Gate{Go/no-go: actix-v2a surface and contract delta explicit?}
B_Gate{Go/no-go: Stable JSON fixtures for task routes?}
C_Gate{Go/no-go: Repeatable preview against local API?}
D_Gate{Go/no-go: All validation gates passing?}
Start["ExecPlan approved"]
Stop["Stop and escalate (scope/tolerance breach)"]
Done["Roadmap 4.4.2 complete"]
Start --> A
A --> A_Gate
A_Gate -- Yes --> B
A_Gate -- No --> Stop
B --> B_Gate
B_Gate -- Yes --> C
B_Gate -- No --> Stop
C --> C_Gate
C_Gate -- Yes --> D
C_Gate -- No --> Stop
D --> D_Gate
D_Gate -- Yes --> E
D_Gate -- No --> Stop
E --> Done
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Summary
Adds a formal ExecPlan for roadmap item 4.4.2 to stabilize the slice transport contract and introduce a development-auth seam, enabling a repeatable local preview path while preserving production long-term auth decisions.
Changes
docs/execplans/4-4-2-stabilize-the-slice-transport-contract-and-development-auth-seam.md
detailing the purpose, constraints, tolerances, risks, progress, decision log, and the plan-of-work.
Rationale
Plan of work (Stage A–E)
Validation / Gate checks
Risks & Mitigations
Progress (as of PR)
Context
◳ Generated by DevBoxer ◰
ℹ️ Tag @devboxerhub to ask questions and address PR feedback
📎 Task: https://www.devboxer.com/task/cd3fe888-fa85-4bbb-969d-cbf4bed9bfa1
Summary by Sourcery
Documentation: