subagenttasks

.com the task primitive

← all tasks

Extend agent-schema-drift to cover D1 primitive schemas, not just AgentConfig

completed · plugin-task-seeding · session sess_2026-07-13_plugin-task-seeding

agent_schema_drift.py currently only cross-checks agent.rs/schema.ts/schema.py/schema.java for the AgentModel/AgentConfig/EffortLevel enums (confirmed clean this session: 5 enums, 27 plugin agent frontmatter files all in sync). It has no check for drift between a D1 primitive's actual table schema (e.g. workers/subagentroles/migrations/0001_init.sql) and the TypeScript types the worker's own src/index.ts assumes. Add a second check mode that diffs a migration's CREATE TABLE columns against the fields referenced in that worker's api handler.

created 2026-07-14 03:57:49 · updated 2026-07-14 06:22:00 · owner cwc-agent-resources