Copy architecture docs, ADRs, storage domain specs, research, reviews, and 56 storage architecture tasks from the alkhub_ts monorepo. Adapt for standalone @alkdev/hub repo structure (src/ not packages/hub/). Sanitize all sensitive information: - Replace private IPs (10.0.0.1) with localhost defaults - Remove internal server hostnames (dev1, ns528096) - Replace /workspace/ private paths with npm package references - Remove hardcoded credentials from examples - Rewrite infrastructure.md without private network details Add Deno project scaffolding: deno.json (pinned deps), .gitignore, AGENTS.md, entry point. Migrate existing code stubs (crypto, config types, logger) with updated import paths.
1.6 KiB
1.6 KiB
id, name, status, depends_on, scope, risk, impact, level
| id | name | status | depends_on | scope | risk | impact | level |
|---|---|---|---|---|---|---|---|
| document-cross-table-status-mapping | Document Cross-Table Status Enum Disambiguation | completed | moderate | medium | phase | implementation |
Description
W11: Three tables have status with overlapping values (completed, failed, aborted appear on mappings, call_graph_nodes, and tasks), but the meanings differ (e.g., mappings.completed ≠ tasks.completed). table-reference.md only contrasts mappings.active vs call_graph_nodes.pending/running — it doesn't contrast tasks statuses with the others.
Add cross-table state mapping documentation. When a task goes in-progress, there should be an active mapping; when a task is completed, the mapping becomes completed. Document valid combinations and the semantic differences between same-named statuses in different tables.
Acceptance Criteria
table-reference.mdhas a cross-table status mapping section (table or diagram)- Each shared status value (
completed,failed,aborted) has per-table semantic definition - Valid cross-table status combinations documented (e.g., task
in-progress⟹ mappingactive) tasks.statuslifecycle contrasted withmappings.statuslifecycle- Note that
mappings.completedandtasks.completedhave different semantic scope
References
- docs/reviews/storage-architecture-review-2026-04-21.md#W11
- docs/architecture/storage/table-reference.md:147-164
- docs/architecture/storage/coordination.md:23
- docs/architecture/storage/tasks.md:84-86
Notes
To be filled by implementation agent
Summary
To be filled on completion