Purpose
Make the core-vs-daemon drift landscape visible as a tracked roadmap, not private memory. The daemon has accumulated 20+ scheduled tasks, several kernel-root files, a routines framework, and Nexus (cross-repo contract awareness) that core has no visibility into. This epic consolidates the absorption backlog so it's triageable, not buried.
Captures and supersedes `project_daemon_kernel_shadow` + `project_dependency_model` operator memory.
Critical path
These block other work or represent credibility gaps:
Phase C: resolve daemon kernel-root supersets
Each needs a judgment call per `project_daemon_kernel_shadow` Phase C — upstream the additions or convert to plugin. Requires reading the line diff, not just the count.
Daemon-only scheduled tasks (evaluate for core)
Daemon ships these; core has none. Most are generic substrates, not Stackbilt-specific. Triage required.
Likely core (generic primitives):
Likely stay daemon-side (Stackbilt-specific):
- `ambient-capture.ts` — Gmail/Calendar ingestion (daemon credentials)
- `argus-routine-escalation.ts` — uses Anthropic experimental routines beta header, Stackbilt-operator-specific escalation rules
- `compliance-monitor.ts` + `infra-compliance.ts` — Stackbilt LLC compliance
- `product-funnel.ts` — Stackbilder platform funnel
- `sprint-pipeline.ts` — Stackbilt sprint cadence
- `content.ts` — Roundtable/Dispatch pipelines
Net-new subsystems to evaluate
Daemon-only schema tables (candidate upstream)
Tables in daemon `schema.sql` not in core. Most generic — evaluate:
`agent_inbox`, `argus_routine_fires`, `argus_routine_state`, `backup_metadata`, `cc_jobs`, `cf_analytics_snapshots`, `consultation_log`, `cost_budgets`, `cost_snapshots`, `events`, `llm_traces`, `restore_operations`, `rg_correlations`, `shadow_read_drift`, `sprints`, `trajectory_examples`, `video_briefs`, `vqa_results/runs/state_definitions`, `waitlist`
Success signal
Phase A complete (cast removed from daemon `index.ts:69`), critical-path items all closed, daemon kernel/ directory contains only:
- Re-exports from `@stackbilt/aegis-core`
- Interface extensions
- Plugin files that have migrated out of kernel/ entirely
Out of scope
- Publishing `@stackbilt/aegis-core` to npm — internal file: dep is sufficient while Stackbilt is the only consumer
- Contract governance (when to bump core's 0.x version, deprecation policy) — premature; revisit when a 2nd consumer exists
References
- Operator memory: `project_daemon_kernel_shadow.md`, `project_dependency_model.md`
- Parent epic (closed): aegis-oss#18
- Landing page claims that currently lack implementation: `web/src/landing.ts:938`, `web/src/landing.ts:1028`
Purpose
Make the core-vs-daemon drift landscape visible as a tracked roadmap, not private memory. The daemon has accumulated 20+ scheduled tasks, several kernel-root files, a routines framework, and Nexus (cross-repo contract awareness) that core has no visibility into. This epic consolidates the absorption backlog so it's triageable, not buried.
Captures and supersedes `project_daemon_kernel_shadow` + `project_dependency_model` operator memory.
Critical path
These block other work or represent credibility gaps:
Phase C: resolve daemon kernel-root supersets
Each needs a judgment call per `project_daemon_kernel_shadow` Phase C — upstream the additions or convert to plugin. Requires reading the line diff, not just the count.
Daemon-only scheduled tasks (evaluate for core)
Daemon ships these; core has none. Most are generic substrates, not Stackbilt-specific. Triage required.
Likely core (generic primitives):
Likely stay daemon-side (Stackbilt-specific):
Net-new subsystems to evaluate
Daemon-only schema tables (candidate upstream)
Tables in daemon `schema.sql` not in core. Most generic — evaluate:
`agent_inbox`, `argus_routine_fires`, `argus_routine_state`, `backup_metadata`, `cc_jobs`, `cf_analytics_snapshots`, `consultation_log`, `cost_budgets`, `cost_snapshots`, `events`, `llm_traces`, `restore_operations`, `rg_correlations`, `shadow_read_drift`, `sprints`, `trajectory_examples`, `video_briefs`, `vqa_results/runs/state_definitions`, `waitlist`
Success signal
Phase A complete (cast removed from daemon `index.ts:69`), critical-path items all closed, daemon kernel/ directory contains only:
Out of scope
References