# Stage 1 Task ## 0. Header - Task ID: TASK-20260222-001 - Title: Define furniture external API edge boundaries - Status: Planned - Priority: P1 - Target Repo: furniture-bff - Target Branch: feature/furniture-bff-001 - Related Master Plan: plan/master-stage1-structural-normalization-2026-02-22.md - Related Mini Plan: plan/furniture-bff-mini-plan.md ## 1. Goal (What and Why) ### What - Normalize endpoint style and request patterns for consumers - Document edge validation and error mapping responsibilities ### Why - BFF must remain consumer-facing and avoid business or persistence leakage ## 2. Scope ### In Scope - External API boundary and edge behavior policy ### Out of Scope - Service or DAL implementation concerns ## 3. Constraints (Non-Negotiable) - Stage 1 planning only. No implementation changes. - Do not modify any file under legacy. - Do not run repo provisioning or CI generation. - Follow the approved architecture boundaries and protocol policy. - Keep identity abstractions inside Thalos repositories. ## 4. Documentation Requirement - [ ] Capture planning decisions clearly for handoff. - [ ] Identify documentation and diagram updates expected in later stages. ## 5. Context - This task derives from plan/furniture-bff-mini-plan.md. - This task must remain decision-focused and implementation-ready. ## 6. Proposed Approach - Define the BFF external surface and clear edge responsibilities ## 7. Execution Steps 1. Review legacy evidence relevant to this task scope. 2. Define target boundary decisions and contract implications. 3. Record risks, dependencies, and compatibility notes. 4. Produce clear handoff guidance for implementation stage. ## 8. Acceptance Criteria - [ ] Decisions are explicit, scoped, and actionable. - [ ] Ownership boundaries are unambiguous. - [ ] Protocol policy alignment is explicit where applicable. - [ ] No forbidden Stage 1 actions were performed. ## 9. Testing Plan ### Unit Tests - Not applicable for Stage 1 planning artifacts. ### Validation - Ensure consistency with master plan and mini plan. ## 10. Definition of Done - [ ] Task content is complete and consistent with other task files. - [ ] References to master and mini plans are correct. - [ ] Handoff notes are clear enough for immediate implementation. ## 11. Risks and Questions - Risk: boundary drift during implementation. - Mitigation: enforce repo intent metadata and mini plan ownership. ## 12. Handoff Notes - Preserve approved constraints exactly. - Implementers should execute this task only after reading master and mini plans. END OF TASK ## 13. Completion Metadata - Completion Stage: Stage 3 Execution - Completed On: 2026-02-22 - Completed By: Codex - Completion Branch: feature/furniture-bff-001 - Completion Commit: 1df7551 - Lifecycle State: done