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.
32 lines
1022 B
Markdown
32 lines
1022 B
Markdown
---
|
|
id: data-integrity-specs
|
|
name: Data Integrity Specs
|
|
status: completed
|
|
depends_on: [enforce-parts-session-id-invariant, document-mappings-task-denorm-invariant, define-sync-field-split, specify-task-body-append-concurrency, add-cross-project-dep-guard, resolve-org-dual-ownership]
|
|
scope: moderate
|
|
risk: high
|
|
impact: phase
|
|
level: review
|
|
---
|
|
|
|
## Description
|
|
|
|
All data integrity / enforcement mechanism tasks. This group ensures that invariants, denormalization constraints, concurrency guarantees, and ownership models are specified at the spec level before any code is written. Fixing integrity bugs after implementation is orders of magnitude harder than preventing them.
|
|
|
|
## Acceptance Criteria
|
|
|
|
- [ ] All dependent tasks are completed
|
|
- [ ] Cross-references between completed tasks are consistent
|
|
- [ ] No remaining contradictions in the covered domain
|
|
|
|
## References
|
|
|
|
- docs/reviews/storage-architecture-review-2026-04-21.md
|
|
|
|
## Notes
|
|
|
|
> To be filled by implementation agent
|
|
|
|
## Summary
|
|
|
|
> To be filled on completion |