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 |
|---|---|---|---|---|---|---|---|
| update-packages-and-dependencies | Update packages.md Dependency Structure | completed | narrow | low | component | implementation |
Description
Update docs/architecture/packages.md to reflect the new dependency structure: @alkhub/core is removed, hub and spoke import directly from @alkdev/* npm packages.
Key changes
- Remove
@alkhub/coresection entirely - Add sections for the 3 external
@alkdev/*packages with their exports - Update
@alkhub/hubdependencies: add@alkdev/operations,@alkdev/pubsub,@alkdev/taskgraph; remove@repeaterjs/repeater(inlined in pubsub) - Update
@alkhub/spokedependencies: add@alkdev/operations,@alkdev/pubsub - Update dependency direction:
spoke → @alkdev/operations, @alkdev/pubsub,hub → @alkdev/operations, @alkdev/pubsub, @alkdev/taskgraph - Update rules: replace "core is transport-agnostic" with "packages should be transport-agnostic"
- Note that
ioredisis now an optional peer dep of@alkdev/pubsub(only if Redis ET is used), not a direct dep of hub - Note that
@modelcontextprotocol/sdkis an optional peer dep of@alkdev/operations(only if MCP adapter is used)
Acceptance Criteria
@alkhub/coresection is removed- 3 external
@alkdev/*package sections are documented with exports - Hub and spoke dependency lists are updated
- Dependency direction diagram is updated
- Rules section reflects new structure (no core package)
- Storage location decision section still applies (unchanged)
References
- docs/reviews/core-library-extraction-sync-2026-05-18.md (Section 2.3)