- notification-store: schema v2 — repeatCount/lastTs merge for non-blocking notices; NOTICE_KIND enum (SYSTEM_NOTICE, TOOL_NOTICE, BLOCKING_NOTICE, USER_VISIBLE) for renderer classification without message parsing - sf-db: remove gate_runs and audit_events tables (replaced by uok audit.js and trace-writer); schema reduced by ~370 lines - notify-interceptor: tag auto-mode system notices with NOTICE_KIND.SYSTEM_NOTICE - auto-prompts, guided-flow, system-context: use NOTICE_KIND on emit calls - cli-status: expanded headless status surface + test coverage - headless-types: new status fields - Makefile/justfile: dev workflow improvements - record-promoter, requirement-promoter: minor cleanup - sf-db-migration tests: updated for dropped tables - uok-gate-runner, uok-metrics, uok-outcome, uok-status tests: updated Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
3.7 KiB
3.7 KiB
TODO
Unimplemented items consolidated from root *.md files. Source file noted for each item.
Critical / Correctness
- Port
fix(security): harden project-controlled surfaces— env isolation + transport cleanup done; gsd-2 trust/dedup hunks (server.ts, mcp-client/index.ts) not applicable (packages absent) (BUILD_PLAN.md Tier 0.5 #2) - Port agent-session/agent-end transition fixes —
_sessionSwitchInFlightguard +sessionSwitchGenerationpattern implemented in auto/resolve.js + run-unit.js (BUILD_PLAN.md Tier 0.5 #7-10) - Cloudflare Workers AI provider —
CLOUDFLARE_API_KEY/CLOUDFLARE_ACCOUNT_ID(pi-mono PR #3851) (BUILD_PLAN.md Tier 0 #8)
Architecture / Design Gaps
- Schema reconciliation: update SPEC.md to 3-table model (milestones/slices/tasks vs single
units) (BUILD_PLAN.md Tier 1.3) - Persistent agents v1 command surface —
/sf agent run|reset|delete|inspect(BUILD_PLAN.md Tier 2.1) - Intent chapters (
chapter_open/chapter_close— crash-resume context) (BUILD_PLAN.md Tier 2.3) - PhaseReview 3-pass review (establish-context → parallel chunked → synthesis) (BUILD_PLAN.md Tier 2.4)
last_errorcap to 4 KB head+tail; full payload to file (BUILD_PLAN.md Tier 2.6)- Port workflow state machine hardening (gsd-2
f2377eedd,b9a1c6743,153fb328a,381ccdef5,371b2eb31) (BUILD_PLAN.md Tier 0.5 #13, UPSTREAM_CHERRY_PICK_CANDIDATES.md Cluster F) - Port
fix(claude-code-cli): persist Always Allow for non-Bash tools(gsd-2a88baeae9) (BUILD_PLAN.md Tier 0.5 #11)
Medium Priority / Quality
- Replace
isHeavyModelId()name-matching heuristic with capability-based check (PRODUCTION_AUDIT_GRADE.md #9, PRODUCTION_AUDIT.md 3.3) - Add
versionfield to task frontmatter and mode state (schema versioning) (PRODUCTION_AUDIT_GRADE.md #8) - Integration tests for full remote steering pipeline (PRODUCTION_AUDIT.md Long Term #10)
- Log
frontmatterErrorsin sf-db.js instead of silently dropping validation errors (PRODUCTION_AUDIT.md 3.1) - Search provider registry refactor — consolidate provider list across files into
SearchProviderRegistry(BUILD_PLAN.md Tier 1+) - Update ARCHITECTURE.md self-evolution section (triage pipeline IS active; injection IS automatic now) (ARCHITECTURE.md)
- Add Mermaid state machine diagram to ARCHITECTURE.md (ARCHITECTURE.md)
- Symlinked packages/resources/skills/sessions dedup (pi-mono PR #3818) (BUILD_PLAN.md Tier 0 #6)
Long-term / Deferred
- Singularity Knowledge + Agent Platform (Go re-platform, ~12 weeks) (BUILD_PLAN.md Tier 1+)
- sf-worker SSH host (Go,
wish+xpty, ~3 weeks) (BUILD_PLAN.md Tier 4) - Charm TUI client (
sf-tuiin Go, ~12-16 weeks) (BUILD_PLAN.md Tier 1+) - Flight recorder (
x/vcr, ~3 weeks) (BUILD_PLAN.md Tier 1+) - Full swarm chat for
subagenttool (Option C, depends on persistent-agent layer) (BUILD_PLAN.md Tier 1+) - Caveman input-side prompt compression (rewrite execute-task/plan-slice prompts) (BUILD_PLAN.md Tier 1+)
- Runtime input preprocessor (
terse_prompts: truedispatch transform, ~3-4 days) (BUILD_PLAN.md Tier 1+) - Judge calibration + eval runner service (Go/Charm, ~2-3 weeks post SM) (BUILD_PLAN.md Tier 1+)
- M009 promote-only adoption review — create
sf scheduleentry (2 weeks after M009 close) (BACKLOG.md) - Establish pi-mono SDK sync cadence (recurring check schedule) (BUILD_PLAN.md Tier 1+)
scripts/port-from-gsd2.shautomation script (UPSTREAM_PORT_GUIDE.md)- TypeScript migration for UOK modules (
kernel.js, etc.) (PRODUCTION_AUDIT_COMPLETE.md, PRODUCTION_AUDIT_GRADE.md)