refactor(docs): move requirements and test infra docs into docs/ subdirectories
Organize documentation by moving requirements (HighLevelReqs, Component-*, lmxproxy_protocol) to docs/requirements/ and test infrastructure docs to docs/test_infra/. Updates all cross-references in README, CLAUDE.md, infra/README, component docs, and 23 plan files.
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
|
||||
## Requirements Checklist
|
||||
|
||||
Each bullet is extracted from the referenced HighLevelReqs.md sections. Items marked with a phase note indicate split-section bullets owned by another phase.
|
||||
Each bullet is extracted from the referenced docs/requirements/HighLevelReqs.md sections. Items marked with a phase note indicate split-section bullets owned by another phase.
|
||||
|
||||
### Section 1.3 — Store-and-Forward Persistence (Site Clusters Only)
|
||||
|
||||
@@ -134,7 +134,7 @@ Constraints from CLAUDE.md Key Design Decisions and Component-*.md documents rel
|
||||
- `[KDD-sf-3]` Messages not cleared on instance deletion.
|
||||
- `[KDD-sf-4]` CachedCall idempotency is the caller's responsibility. *(Documented in Phase 3C; enforced in Phase 7 integration.)*
|
||||
|
||||
### Component Design Constraints (from Component-DeploymentManager.md)
|
||||
### Component Design Constraints (from docs/requirements/Component-DeploymentManager.md)
|
||||
|
||||
- `[CD-DM-1]` Deployment flow: validate -> flatten -> send -> track. Validation failures stop the pipeline before anything is sent.
|
||||
- `[CD-DM-2]` Site-side idempotency on deployment ID — duplicate deployment receives "already applied" response.
|
||||
@@ -155,7 +155,7 @@ Constraints from CLAUDE.md Key Design Decisions and Component-*.md documents rel
|
||||
- `[CD-DM-17]` Enable: re-activates a disabled instance.
|
||||
- `[CD-DM-18]` Delete: removes running config, destroys Instance Actor and children. S&F messages not cleared. Fails if site unreachable — central does not mark deleted until site confirms.
|
||||
|
||||
### Component Design Constraints (from Component-StoreAndForward.md)
|
||||
### Component Design Constraints (from docs/requirements/Component-StoreAndForward.md)
|
||||
|
||||
- `[CD-SF-1]` Three message categories: external system calls, email notifications, cached database writes.
|
||||
- `[CD-SF-2]` Retry settings defined on the source entity (external system def, SMTP config, DB connection def), not per-message.
|
||||
@@ -170,7 +170,7 @@ Constraints from CLAUDE.md Key Design Decisions and Component-*.md documents rel
|
||||
- `[CD-SF-11]` Message format stores: message ID, category, target, payload, retry count, created at, last attempt at, status (pending/retrying/parked).
|
||||
- `[CD-SF-12]` Message lifecycle: attempt immediate delivery -> success removes; failure buffers -> retry loop -> success removes + notify standby; max retries exhausted -> park.
|
||||
|
||||
### Component Design Constraints (from Component-SiteRuntime.md — deployment-related)
|
||||
### Component Design Constraints (from docs/requirements/Component-SiteRuntime.md — deployment-related)
|
||||
|
||||
- `[CD-SR-1]` Deployment handling: receive config -> store in SQLite -> compile scripts -> create/update Instance Actor -> report result.
|
||||
- `[CD-SR-2]` For redeployments: existing Instance Actor and children stopped, then new Instance Actor created with updated config. Subscriptions re-established.
|
||||
@@ -179,7 +179,7 @@ Constraints from CLAUDE.md Key Design Decisions and Component-*.md documents rel
|
||||
- `[CD-SR-5]` Delete: stops Instance Actor and children, removes deployed config from SQLite. Does not clear S&F messages.
|
||||
- `[CD-SR-6]` Script compilation failure during deployment rejects entire deployment. No partial state applied. Failure reported to central.
|
||||
|
||||
### Component Design Constraints (from Component-Communication.md — deployment-related)
|
||||
### Component Design Constraints (from docs/requirements/Component-Communication.md — deployment-related)
|
||||
|
||||
- `[CD-COM-1]` Deployment pattern: request/response. No buffering at central. Unreachable site = immediate failure.
|
||||
- `[CD-COM-2]` Instance lifecycle pattern: request/response. Unreachable site = immediate failure.
|
||||
@@ -464,12 +464,12 @@ Constraints from CLAUDE.md Key Design Decisions and Component-*.md documents rel
|
||||
|
||||
**Acceptance Criteria**:
|
||||
- S&F buffer depth reported as health metric (broken down by category) — integrates with Phase 3B Health Monitoring
|
||||
- S&F activity logged to site event log: message queued, delivered, retried, parked (per Component-StoreAndForward.md Dependencies)
|
||||
- S&F activity logged to site event log: message queued, delivered, retried, parked (per docs/requirements/Component-StoreAndForward.md Dependencies)
|
||||
- S&F buffer depth visible in health reports sent to central
|
||||
|
||||
**Estimated Complexity**: S
|
||||
|
||||
**Requirements Traced**: `[CD-SF-1]` (categories), Component-StoreAndForward.md Dependencies (Site Event Logging, Health Monitoring)
|
||||
**Requirements Traced**: `[CD-SF-1]` (categories), docs/requirements/Component-StoreAndForward.md Dependencies (Site Event Logging, Health Monitoring)
|
||||
|
||||
---
|
||||
|
||||
@@ -648,7 +648,7 @@ Every work package traces to at least one requirement or design constraint:
|
||||
| WP-11 | `[1.3-2]`, `[1.3-4]`, `[1.3-5]`, `[KDD-sf-2]`, `[CD-SF-5]`, `[CD-SF-6]`, `[CD-SF-7]` |
|
||||
| WP-12 | `[5.4-1]` through `[5.4-4]`, `[KDD-sf-3]`, `[CD-SF-8]`, `[CD-SF-9]`, `[CD-SF-10]`, `[CD-COM-8]`, `[3.8.1-6]` |
|
||||
| WP-13 | `[3.8.1-4]`, `[3.8.1-6]`, `[KDD-sf-3]`, `[CD-SF-10]` |
|
||||
| WP-14 | `[CD-SF-1]`, Component-StoreAndForward.md Dependencies |
|
||||
| WP-14 | `[CD-SF-1]`, docs/requirements/Component-StoreAndForward.md Dependencies |
|
||||
| WP-15 | `[KDD-sf-4]`, `[CD-SF-7]` |
|
||||
| WP-16 | `[3.9-6]`, `[KDD-deploy-11]` |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user