@kynetic-ai/spec 0.1.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +250 -17
- package/dist/acp/client.d.ts +18 -4
- package/dist/acp/client.d.ts.map +1 -1
- package/dist/acp/client.js +44 -26
- package/dist/acp/client.js.map +1 -1
- package/dist/acp/framing.d.ts +2 -2
- package/dist/acp/framing.d.ts.map +1 -1
- package/dist/acp/framing.js +37 -29
- package/dist/acp/framing.js.map +1 -1
- package/dist/acp/index.d.ts +6 -7
- package/dist/acp/index.d.ts.map +1 -1
- package/dist/acp/index.js +3 -3
- package/dist/acp/index.js.map +1 -1
- package/dist/acp/types.d.ts +5 -5
- package/dist/acp/types.d.ts.map +1 -1
- package/dist/acp/types.js +18 -18
- package/dist/acp/types.js.map +1 -1
- package/dist/agents/adapters.d.ts.map +1 -1
- package/dist/agents/adapters.js +24 -13
- package/dist/agents/adapters.js.map +1 -1
- package/dist/agents/index.d.ts +2 -2
- package/dist/agents/index.js +2 -2
- package/dist/agents/spawner.d.ts +4 -4
- package/dist/agents/spawner.d.ts.map +1 -1
- package/dist/agents/spawner.js +6 -6
- package/dist/agents/spawner.js.map +1 -1
- package/dist/cli/batch-context.d.ts +43 -0
- package/dist/cli/batch-context.d.ts.map +1 -0
- package/dist/cli/batch-context.js +93 -0
- package/dist/cli/batch-context.js.map +1 -0
- package/dist/cli/batch-exec.d.ts +116 -0
- package/dist/cli/batch-exec.d.ts.map +1 -0
- package/dist/cli/batch-exec.js +694 -0
- package/dist/cli/batch-exec.js.map +1 -0
- package/dist/cli/batch.d.ts +4 -2
- package/dist/cli/batch.d.ts.map +1 -1
- package/dist/cli/batch.js +15 -14
- package/dist/cli/batch.js.map +1 -1
- package/dist/cli/command-annotations.d.ts +23 -0
- package/dist/cli/command-annotations.d.ts.map +1 -0
- package/dist/cli/command-annotations.js +27 -0
- package/dist/cli/command-annotations.js.map +1 -0
- package/dist/cli/commands/agents.d.ts +46 -0
- package/dist/cli/commands/agents.d.ts.map +1 -0
- package/dist/cli/commands/agents.js +377 -0
- package/dist/cli/commands/agents.js.map +1 -0
- package/dist/cli/commands/batch.d.ts +20 -0
- package/dist/cli/commands/batch.d.ts.map +1 -0
- package/dist/cli/commands/batch.js +214 -0
- package/dist/cli/commands/batch.js.map +1 -0
- package/dist/cli/commands/clone-for-testing.d.ts +1 -1
- package/dist/cli/commands/clone-for-testing.d.ts.map +1 -1
- package/dist/cli/commands/clone-for-testing.js +37 -47
- package/dist/cli/commands/clone-for-testing.js.map +1 -1
- package/dist/cli/commands/derive.d.ts +1 -1
- package/dist/cli/commands/derive.d.ts.map +1 -1
- package/dist/cli/commands/derive.js +140 -88
- package/dist/cli/commands/derive.js.map +1 -1
- package/dist/cli/commands/doctor.d.ts +11 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +152 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/export.d.ts +12 -0
- package/dist/cli/commands/export.d.ts.map +1 -0
- package/dist/cli/commands/export.js +134 -0
- package/dist/cli/commands/export.js.map +1 -0
- package/dist/cli/commands/help.d.ts +1 -1
- package/dist/cli/commands/help.d.ts.map +1 -1
- package/dist/cli/commands/help.js +163 -37
- package/dist/cli/commands/help.js.map +1 -1
- package/dist/cli/commands/inbox.d.ts +1 -1
- package/dist/cli/commands/inbox.d.ts.map +1 -1
- package/dist/cli/commands/inbox.js +178 -56
- package/dist/cli/commands/inbox.js.map +1 -1
- package/dist/cli/commands/index.d.ts +31 -19
- package/dist/cli/commands/index.d.ts.map +1 -1
- package/dist/cli/commands/index.js +31 -19
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init.d.ts +5 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +108 -57
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/item.d.ts +1 -1
- package/dist/cli/commands/item.d.ts.map +1 -1
- package/dist/cli/commands/item.js +557 -274
- package/dist/cli/commands/item.js.map +1 -1
- package/dist/cli/commands/link.d.ts +1 -1
- package/dist/cli/commands/link.d.ts.map +1 -1
- package/dist/cli/commands/link.js +55 -46
- package/dist/cli/commands/link.js.map +1 -1
- package/dist/cli/commands/log.d.ts +1 -1
- package/dist/cli/commands/log.d.ts.map +1 -1
- package/dist/cli/commands/log.js +57 -51
- package/dist/cli/commands/log.js.map +1 -1
- package/dist/cli/commands/merge-driver.d.ts +19 -0
- package/dist/cli/commands/merge-driver.d.ts.map +1 -0
- package/dist/cli/commands/merge-driver.js +398 -0
- package/dist/cli/commands/merge-driver.js.map +1 -0
- package/dist/cli/commands/meta.d.ts +1 -1
- package/dist/cli/commands/meta.d.ts.map +1 -1
- package/dist/cli/commands/meta.js +533 -399
- package/dist/cli/commands/meta.js.map +1 -1
- package/dist/cli/commands/module.d.ts +1 -1
- package/dist/cli/commands/module.d.ts.map +1 -1
- package/dist/cli/commands/module.js +30 -25
- package/dist/cli/commands/module.js.map +1 -1
- package/dist/cli/commands/plan-import.d.ts +11 -0
- package/dist/cli/commands/plan-import.d.ts.map +1 -0
- package/dist/cli/commands/plan-import.js +516 -0
- package/dist/cli/commands/plan-import.js.map +1 -0
- package/dist/cli/commands/plan.d.ts +10 -0
- package/dist/cli/commands/plan.d.ts.map +1 -0
- package/dist/cli/commands/plan.js +421 -0
- package/dist/cli/commands/plan.js.map +1 -0
- package/dist/cli/commands/ralph.d.ts +1 -1
- package/dist/cli/commands/ralph.d.ts.map +1 -1
- package/dist/cli/commands/ralph.js +1097 -169
- package/dist/cli/commands/ralph.js.map +1 -1
- package/dist/cli/commands/refs.d.ts +13 -0
- package/dist/cli/commands/refs.d.ts.map +1 -0
- package/dist/cli/commands/refs.js +283 -0
- package/dist/cli/commands/refs.js.map +1 -0
- package/dist/cli/commands/search.d.ts +1 -1
- package/dist/cli/commands/search.d.ts.map +1 -1
- package/dist/cli/commands/search.js +199 -37
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/serve.d.ts +10 -0
- package/dist/cli/commands/serve.d.ts.map +1 -0
- package/dist/cli/commands/serve.js +491 -0
- package/dist/cli/commands/serve.js.map +1 -0
- package/dist/cli/commands/session.d.ts +25 -6
- package/dist/cli/commands/session.d.ts.map +1 -1
- package/dist/cli/commands/session.js +811 -127
- package/dist/cli/commands/session.js.map +1 -1
- package/dist/cli/commands/setup-seeding.d.ts +81 -0
- package/dist/cli/commands/setup-seeding.d.ts.map +1 -0
- package/dist/cli/commands/setup-seeding.js +292 -0
- package/dist/cli/commands/setup-seeding.js.map +1 -0
- package/dist/cli/commands/setup.d.ts +77 -3
- package/dist/cli/commands/setup.d.ts.map +1 -1
- package/dist/cli/commands/setup.js +1233 -274
- package/dist/cli/commands/setup.js.map +1 -1
- package/dist/cli/commands/shadow.d.ts +1 -1
- package/dist/cli/commands/shadow.d.ts.map +1 -1
- package/dist/cli/commands/shadow.js +70 -50
- package/dist/cli/commands/shadow.js.map +1 -1
- package/dist/cli/commands/skill-crud.d.ts +58 -0
- package/dist/cli/commands/skill-crud.d.ts.map +1 -0
- package/dist/cli/commands/skill-crud.js +753 -0
- package/dist/cli/commands/skill-crud.js.map +1 -0
- package/dist/cli/commands/skill-diff.d.ts +27 -0
- package/dist/cli/commands/skill-diff.d.ts.map +1 -0
- package/dist/cli/commands/skill-diff.js +840 -0
- package/dist/cli/commands/skill-diff.js.map +1 -0
- package/dist/cli/commands/skill-install.d.ts +53 -0
- package/dist/cli/commands/skill-install.d.ts.map +1 -0
- package/dist/cli/commands/skill-install.js +452 -0
- package/dist/cli/commands/skill-install.js.map +1 -0
- package/dist/cli/commands/skill.d.ts +20 -0
- package/dist/cli/commands/skill.d.ts.map +1 -0
- package/dist/cli/commands/skill.js +36 -0
- package/dist/cli/commands/skill.js.map +1 -0
- package/dist/cli/commands/task.d.ts +1 -1
- package/dist/cli/commands/task.d.ts.map +1 -1
- package/dist/cli/commands/task.js +569 -346
- package/dist/cli/commands/task.js.map +1 -1
- package/dist/cli/commands/tasks.d.ts +26 -1
- package/dist/cli/commands/tasks.d.ts.map +1 -1
- package/dist/cli/commands/tasks.js +227 -122
- package/dist/cli/commands/tasks.js.map +1 -1
- package/dist/cli/commands/trait.d.ts +1 -1
- package/dist/cli/commands/trait.d.ts.map +1 -1
- package/dist/cli/commands/trait.js +166 -101
- package/dist/cli/commands/trait.js.map +1 -1
- package/dist/cli/commands/triage.d.ts +7 -0
- package/dist/cli/commands/triage.d.ts.map +1 -0
- package/dist/cli/commands/triage.js +569 -0
- package/dist/cli/commands/triage.js.map +1 -0
- package/dist/cli/commands/util.d.ts +7 -0
- package/dist/cli/commands/util.d.ts.map +1 -0
- package/dist/cli/commands/util.js +30 -0
- package/dist/cli/commands/util.js.map +1 -0
- package/dist/cli/commands/validate.d.ts +1 -1
- package/dist/cli/commands/validate.d.ts.map +1 -1
- package/dist/cli/commands/validate.js +264 -83
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/commands/workflow.d.ts +16 -0
- package/dist/cli/commands/workflow.d.ts.map +1 -0
- package/dist/cli/commands/workflow.js +851 -0
- package/dist/cli/commands/workflow.js.map +1 -0
- package/dist/cli/exit-codes.d.ts +7 -0
- package/dist/cli/exit-codes.d.ts.map +1 -1
- package/dist/cli/exit-codes.js +26 -18
- package/dist/cli/exit-codes.js.map +1 -1
- package/dist/cli/help/content.d.ts.map +1 -1
- package/dist/cli/help/content.js +86 -71
- package/dist/cli/help/content.js.map +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +131 -19
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/introspection.d.ts +6 -2
- package/dist/cli/introspection.d.ts.map +1 -1
- package/dist/cli/introspection.js +11 -8
- package/dist/cli/introspection.js.map +1 -1
- package/dist/cli/output.d.ts +64 -4
- package/dist/cli/output.d.ts.map +1 -1
- package/dist/cli/output.js +235 -85
- package/dist/cli/output.js.map +1 -1
- package/dist/cli/parse-utils.d.ts +21 -0
- package/dist/cli/parse-utils.d.ts.map +1 -0
- package/dist/cli/parse-utils.js +32 -0
- package/dist/cli/parse-utils.js.map +1 -0
- package/dist/cli/pid-utils.d.ts +72 -0
- package/dist/cli/pid-utils.d.ts.map +1 -0
- package/dist/cli/pid-utils.js +174 -0
- package/dist/cli/pid-utils.js.map +1 -0
- package/dist/cli/suggest.d.ts.map +1 -1
- package/dist/cli/suggest.js +1 -2
- package/dist/cli/suggest.js.map +1 -1
- package/dist/cli/validators.d.ts +43 -0
- package/dist/cli/validators.d.ts.map +1 -0
- package/dist/cli/validators.js +84 -0
- package/dist/cli/validators.js.map +1 -0
- package/dist/daemon/index.ts +52 -0
- package/dist/daemon/middleware/project-context.ts +126 -0
- package/dist/daemon/pid.ts +179 -0
- package/dist/daemon/project-context.ts +343 -0
- package/dist/daemon/routes/inbox.ts +164 -0
- package/dist/daemon/routes/items.ts +322 -0
- package/dist/daemon/routes/meta.ts +118 -0
- package/dist/daemon/routes/projects.ts +162 -0
- package/dist/daemon/routes/tasks.ts +327 -0
- package/dist/daemon/routes/triage.ts +468 -0
- package/dist/daemon/routes/validation.ts +248 -0
- package/dist/daemon/server.ts +408 -0
- package/dist/daemon/watcher.ts +195 -0
- package/dist/daemon/websocket/handler.ts +138 -0
- package/dist/daemon/websocket/heartbeat.ts +71 -0
- package/dist/daemon/websocket/pubsub.ts +125 -0
- package/dist/daemon/websocket/types.ts +66 -0
- package/dist/export/html.d.ts +19 -0
- package/dist/export/html.d.ts.map +1 -0
- package/dist/export/html.js +239 -0
- package/dist/export/html.js.map +1 -0
- package/dist/export/index.d.ts +10 -0
- package/dist/export/index.d.ts.map +1 -0
- package/dist/export/index.js +10 -0
- package/dist/export/index.js.map +1 -0
- package/dist/export/json.d.ts +24 -0
- package/dist/export/json.d.ts.map +1 -0
- package/dist/export/json.js +198 -0
- package/dist/export/json.js.map +1 -0
- package/dist/export/triage.d.ts +51 -0
- package/dist/export/triage.d.ts.map +1 -0
- package/dist/export/triage.js +83 -0
- package/dist/export/triage.js.map +1 -0
- package/dist/export/types.d.ts +122 -0
- package/dist/export/types.d.ts.map +1 -0
- package/dist/export/types.js +9 -0
- package/dist/export/types.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/lib/claude-plugin-registry.d.ts +66 -0
- package/dist/lib/claude-plugin-registry.d.ts.map +1 -0
- package/dist/lib/claude-plugin-registry.js +318 -0
- package/dist/lib/claude-plugin-registry.js.map +1 -0
- package/dist/merge/arrays.d.ts +87 -0
- package/dist/merge/arrays.d.ts.map +1 -0
- package/dist/merge/arrays.js +164 -0
- package/dist/merge/arrays.js.map +1 -0
- package/dist/merge/file-type.d.ts +32 -0
- package/dist/merge/file-type.d.ts.map +1 -0
- package/dist/merge/file-type.js +70 -0
- package/dist/merge/file-type.js.map +1 -0
- package/dist/merge/index.d.ts +14 -0
- package/dist/merge/index.d.ts.map +1 -0
- package/dist/merge/index.js +11 -0
- package/dist/merge/index.js.map +1 -0
- package/dist/merge/objects.d.ts +46 -0
- package/dist/merge/objects.d.ts.map +1 -0
- package/dist/merge/objects.js +193 -0
- package/dist/merge/objects.js.map +1 -0
- package/dist/merge/parse.d.ts +23 -0
- package/dist/merge/parse.d.ts.map +1 -0
- package/dist/merge/parse.js +78 -0
- package/dist/merge/parse.js.map +1 -0
- package/dist/merge/resolve.d.ts +66 -0
- package/dist/merge/resolve.d.ts.map +1 -0
- package/dist/merge/resolve.js +189 -0
- package/dist/merge/resolve.js.map +1 -0
- package/dist/merge/types.d.ts +82 -0
- package/dist/merge/types.d.ts.map +1 -0
- package/dist/merge/types.js +8 -0
- package/dist/merge/types.js.map +1 -0
- package/dist/parser/agent-data-sections.d.ts +53 -0
- package/dist/parser/agent-data-sections.d.ts.map +1 -0
- package/dist/parser/agent-data-sections.js +118 -0
- package/dist/parser/agent-data-sections.js.map +1 -0
- package/dist/parser/alignment.d.ts +4 -4
- package/dist/parser/alignment.d.ts.map +1 -1
- package/dist/parser/alignment.js +27 -22
- package/dist/parser/alignment.js.map +1 -1
- package/dist/parser/assess.d.ts +5 -5
- package/dist/parser/assess.d.ts.map +1 -1
- package/dist/parser/assess.js +36 -32
- package/dist/parser/assess.js.map +1 -1
- package/dist/parser/config.d.ts +351 -0
- package/dist/parser/config.d.ts.map +1 -0
- package/dist/parser/config.js +326 -0
- package/dist/parser/config.js.map +1 -0
- package/dist/parser/convention-validation.d.ts +1 -1
- package/dist/parser/convention-validation.d.ts.map +1 -1
- package/dist/parser/convention-validation.js +21 -16
- package/dist/parser/convention-validation.js.map +1 -1
- package/dist/parser/coverage-cache.d.ts +49 -0
- package/dist/parser/coverage-cache.d.ts.map +1 -0
- package/dist/parser/coverage-cache.js +123 -0
- package/dist/parser/coverage-cache.js.map +1 -0
- package/dist/parser/daemon-status.d.ts +37 -0
- package/dist/parser/daemon-status.d.ts.map +1 -0
- package/dist/parser/daemon-status.js +67 -0
- package/dist/parser/daemon-status.js.map +1 -0
- package/dist/parser/doctor.d.ts +107 -0
- package/dist/parser/doctor.d.ts.map +1 -0
- package/dist/parser/doctor.js +366 -0
- package/dist/parser/doctor.js.map +1 -0
- package/dist/parser/fix.d.ts +1 -1
- package/dist/parser/fix.d.ts.map +1 -1
- package/dist/parser/fix.js +31 -27
- package/dist/parser/fix.js.map +1 -1
- package/dist/parser/index.d.ts +16 -11
- package/dist/parser/index.d.ts.map +1 -1
- package/dist/parser/index.js +16 -11
- package/dist/parser/index.js.map +1 -1
- package/dist/parser/items.d.ts +8 -2
- package/dist/parser/items.d.ts.map +1 -1
- package/dist/parser/items.js +71 -35
- package/dist/parser/items.js.map +1 -1
- package/dist/parser/meta.d.ts +167 -9
- package/dist/parser/meta.d.ts.map +1 -1
- package/dist/parser/meta.js +379 -46
- package/dist/parser/meta.js.map +1 -1
- package/dist/parser/plan-document.d.ts +189 -0
- package/dist/parser/plan-document.d.ts.map +1 -0
- package/dist/parser/plan-document.js +340 -0
- package/dist/parser/plan-document.js.map +1 -0
- package/dist/parser/plans.d.ts +59 -0
- package/dist/parser/plans.d.ts.map +1 -0
- package/dist/parser/plans.js +239 -0
- package/dist/parser/plans.js.map +1 -0
- package/dist/parser/refs.d.ts +22 -9
- package/dist/parser/refs.d.ts.map +1 -1
- package/dist/parser/refs.js +102 -50
- package/dist/parser/refs.js.map +1 -1
- package/dist/parser/setup-status.d.ts +71 -0
- package/dist/parser/setup-status.d.ts.map +1 -0
- package/dist/parser/setup-status.js +269 -0
- package/dist/parser/setup-status.js.map +1 -0
- package/dist/parser/shadow.d.ts +150 -19
- package/dist/parser/shadow.d.ts.map +1 -1
- package/dist/parser/shadow.js +548 -187
- package/dist/parser/shadow.js.map +1 -1
- package/dist/parser/skill-render.d.ts +317 -0
- package/dist/parser/skill-render.d.ts.map +1 -0
- package/dist/parser/skill-render.js +943 -0
- package/dist/parser/skill-render.js.map +1 -0
- package/dist/parser/traits.d.ts +3 -3
- package/dist/parser/traits.d.ts.map +1 -1
- package/dist/parser/traits.js +2 -2
- package/dist/parser/traits.js.map +1 -1
- package/dist/parser/validate-skills.d.ts +32 -0
- package/dist/parser/validate-skills.d.ts.map +1 -0
- package/dist/parser/validate-skills.js +202 -0
- package/dist/parser/validate-skills.js.map +1 -0
- package/dist/parser/validate.d.ts +45 -3
- package/dist/parser/validate.d.ts.map +1 -1
- package/dist/parser/validate.js +622 -105
- package/dist/parser/validate.js.map +1 -1
- package/dist/parser/yaml.d.ts +83 -19
- package/dist/parser/yaml.d.ts.map +1 -1
- package/dist/parser/yaml.js +478 -173
- package/dist/parser/yaml.js.map +1 -1
- package/dist/ralph/cli-renderer.d.ts +8 -1
- package/dist/ralph/cli-renderer.d.ts.map +1 -1
- package/dist/ralph/cli-renderer.js +105 -34
- package/dist/ralph/cli-renderer.js.map +1 -1
- package/dist/ralph/events.d.ts +10 -10
- package/dist/ralph/events.d.ts.map +1 -1
- package/dist/ralph/events.js +277 -98
- package/dist/ralph/events.js.map +1 -1
- package/dist/ralph/index.d.ts +5 -2
- package/dist/ralph/index.d.ts.map +1 -1
- package/dist/ralph/index.js +9 -3
- package/dist/ralph/index.js.map +1 -1
- package/dist/ralph/loop-errors.d.ts +83 -0
- package/dist/ralph/loop-errors.d.ts.map +1 -0
- package/dist/ralph/loop-errors.js +150 -0
- package/dist/ralph/loop-errors.js.map +1 -0
- package/dist/ralph/subagent.d.ts +83 -0
- package/dist/ralph/subagent.d.ts.map +1 -0
- package/dist/ralph/subagent.js +174 -0
- package/dist/ralph/subagent.js.map +1 -0
- package/dist/ralph/wrap-up.d.ts +125 -0
- package/dist/ralph/wrap-up.d.ts.map +1 -0
- package/dist/ralph/wrap-up.js +270 -0
- package/dist/ralph/wrap-up.js.map +1 -0
- package/dist/schema/batch.d.ts +95 -0
- package/dist/schema/batch.d.ts.map +1 -0
- package/dist/schema/batch.js +24 -0
- package/dist/schema/batch.js.map +1 -0
- package/dist/schema/common.d.ts +2 -2
- package/dist/schema/common.d.ts.map +1 -1
- package/dist/schema/common.js +34 -31
- package/dist/schema/common.js.map +1 -1
- package/dist/schema/inbox.d.ts +12 -12
- package/dist/schema/inbox.js +4 -4
- package/dist/schema/inbox.js.map +1 -1
- package/dist/schema/index.d.ts +8 -5
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +8 -5
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/meta.d.ts +1454 -27
- package/dist/schema/meta.d.ts.map +1 -1
- package/dist/schema/meta.js +198 -21
- package/dist/schema/meta.js.map +1 -1
- package/dist/schema/plan.d.ts +285 -0
- package/dist/schema/plan.d.ts.map +1 -0
- package/dist/schema/plan.js +81 -0
- package/dist/schema/plan.js.map +1 -0
- package/dist/schema/spec.d.ts +72 -33
- package/dist/schema/spec.d.ts.map +1 -1
- package/dist/schema/spec.js +22 -9
- package/dist/schema/spec.js.map +1 -1
- package/dist/schema/task.d.ts +172 -161
- package/dist/schema/task.d.ts.map +1 -1
- package/dist/schema/task.js +21 -12
- package/dist/schema/task.js.map +1 -1
- package/dist/schema/triage.d.ts +266 -0
- package/dist/schema/triage.d.ts.map +1 -0
- package/dist/schema/triage.js +134 -0
- package/dist/schema/triage.js.map +1 -0
- package/dist/sessions/index.d.ts +2 -2
- package/dist/sessions/index.d.ts.map +1 -1
- package/dist/sessions/index.js +3 -3
- package/dist/sessions/index.js.map +1 -1
- package/dist/sessions/store.d.ts +233 -1
- package/dist/sessions/store.d.ts.map +1 -1
- package/dist/sessions/store.js +628 -31
- package/dist/sessions/store.js.map +1 -1
- package/dist/sessions/types.d.ts +10 -10
- package/dist/sessions/types.d.ts.map +1 -1
- package/dist/sessions/types.js +10 -9
- package/dist/sessions/types.js.map +1 -1
- package/dist/strings/errors.d.ts +51 -0
- package/dist/strings/errors.d.ts.map +1 -1
- package/dist/strings/errors.js +136 -106
- package/dist/strings/errors.js.map +1 -1
- package/dist/strings/guidance.d.ts.map +1 -1
- package/dist/strings/guidance.js +16 -16
- package/dist/strings/guidance.js.map +1 -1
- package/dist/strings/index.d.ts +4 -4
- package/dist/strings/index.d.ts.map +1 -1
- package/dist/strings/index.js +4 -4
- package/dist/strings/index.js.map +1 -1
- package/dist/strings/labels.d.ts +4 -0
- package/dist/strings/labels.d.ts.map +1 -1
- package/dist/strings/labels.js +45 -41
- package/dist/strings/labels.js.map +1 -1
- package/dist/strings/validation.d.ts.map +1 -1
- package/dist/strings/validation.js +71 -71
- package/dist/strings/validation.js.map +1 -1
- package/dist/utils/commit.d.ts +1 -1
- package/dist/utils/commit.d.ts.map +1 -1
- package/dist/utils/commit.js +28 -26
- package/dist/utils/commit.js.map +1 -1
- package/dist/utils/git.d.ts +1 -1
- package/dist/utils/git.d.ts.map +1 -1
- package/dist/utils/git.js +40 -38
- package/dist/utils/git.js.map +1 -1
- package/dist/utils/grep.js +11 -11
- package/dist/utils/grep.js.map +1 -1
- package/dist/utils/index.d.ts +7 -7
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +4 -4
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/time.d.ts.map +1 -1
- package/dist/utils/time.js +10 -10
- package/dist/utils/time.js.map +1 -1
- package/package.json +28 -5
- package/plugin/.claude-plugin/marketplace.json +17 -0
- package/plugin/.claude-plugin/plugin.json +5 -0
- package/plugin/plugins/kspec/skills/help/SKILL.md +42 -0
- package/plugin/plugins/kspec/skills/triage/SKILL.md +206 -0
- package/plugin/plugins/kspec/skills/triage/docs/automation.md +120 -0
- package/plugin/plugins/kspec/skills/triage/docs/inbox.md +144 -0
- package/plugin/plugins/kspec/skills/triage/docs/observations.md +85 -0
- package/templates/agents-sections/01-quick-start.md +22 -0
- package/templates/agents-sections/02-shadow-branch.md +34 -0
- package/templates/agents-sections/03-task-lifecycle.md +48 -0
- package/templates/agents-sections/04-pr-workflow.md +17 -0
- package/templates/agents-sections/05-commit-convention.md +27 -0
- package/templates/agents-sections/06-ralph-loop.md +45 -0
- package/templates/hooks/pre-commit +34 -0
- package/templates/skills/help/SKILL.md +37 -0
- package/templates/skills/manifest.yaml +15 -0
- package/templates/skills/triage/SKILL.md +199 -0
- package/templates/skills/triage/docs/automation.md +120 -0
- package/templates/skills/triage/docs/inbox.md +144 -0
- package/templates/skills/triage/docs/observations.md +85 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { DateTimeSchema, RefSchema, SlugSchema, UlidSchema, } from "./common.js";
|
|
3
|
+
import { NoteSchema } from "./task.js";
|
|
4
|
+
/**
|
|
5
|
+
* Plan status lifecycle
|
|
6
|
+
* AC: @plan-crud ac-3, ac-4
|
|
7
|
+
* - draft: Initial state, editable
|
|
8
|
+
* - approved: Plan reviewed and approved, ready for derivation
|
|
9
|
+
* - active: Tasks have been derived from plan
|
|
10
|
+
* - completed: All derived work finished
|
|
11
|
+
* - rejected: Plan was rejected, terminal state
|
|
12
|
+
*/
|
|
13
|
+
export const PlanStatusSchema = z.enum([
|
|
14
|
+
"draft",
|
|
15
|
+
"approved",
|
|
16
|
+
"active",
|
|
17
|
+
"completed",
|
|
18
|
+
"rejected",
|
|
19
|
+
]);
|
|
20
|
+
/**
|
|
21
|
+
* Full plan schema
|
|
22
|
+
* AC: @plan-crud ac-1, ac-8, ac-30
|
|
23
|
+
*/
|
|
24
|
+
export const PlanSchema = z.object({
|
|
25
|
+
// Identity
|
|
26
|
+
_ulid: UlidSchema,
|
|
27
|
+
slugs: z.array(SlugSchema).default([]),
|
|
28
|
+
title: z.string().min(1, "Title is required"),
|
|
29
|
+
// Content (markdown)
|
|
30
|
+
content: z.string().default(""),
|
|
31
|
+
// State
|
|
32
|
+
status: PlanStatusSchema.default("draft"),
|
|
33
|
+
// Links to derived work
|
|
34
|
+
// AC: @plan-derive ac-5 - updated when tasks are derived
|
|
35
|
+
derived_tasks: z.array(RefSchema).default([]),
|
|
36
|
+
derived_specs: z.array(RefSchema).default([]),
|
|
37
|
+
// Source tracking (if imported from file)
|
|
38
|
+
// AC: @plan-import ac-24
|
|
39
|
+
source_path: z.string().nullable().optional(),
|
|
40
|
+
// Timestamps (auto-populated if not provided)
|
|
41
|
+
created_at: DateTimeSchema.default(() => new Date().toISOString()),
|
|
42
|
+
approved_at: DateTimeSchema.nullable().optional(), // AC: @plan-crud ac-3
|
|
43
|
+
completed_at: DateTimeSchema.nullable().optional(),
|
|
44
|
+
// Notes (work log)
|
|
45
|
+
// AC: @plan-crud ac-9
|
|
46
|
+
notes: z.array(NoteSchema).default([]),
|
|
47
|
+
});
|
|
48
|
+
/**
|
|
49
|
+
* Plan input schema (for creating new plans)
|
|
50
|
+
* Most fields are optional - defaults will be applied
|
|
51
|
+
*/
|
|
52
|
+
export const PlanInputSchema = z.object({
|
|
53
|
+
// Identity (auto-generated if not provided)
|
|
54
|
+
_ulid: UlidSchema.optional(),
|
|
55
|
+
slugs: z.array(SlugSchema).optional(),
|
|
56
|
+
title: z.string().min(1, "Title is required"),
|
|
57
|
+
// Content
|
|
58
|
+
content: z.string().optional(),
|
|
59
|
+
// State
|
|
60
|
+
status: PlanStatusSchema.optional(),
|
|
61
|
+
// Links
|
|
62
|
+
derived_tasks: z.array(RefSchema).optional(),
|
|
63
|
+
derived_specs: z.array(RefSchema).optional(),
|
|
64
|
+
// Source tracking
|
|
65
|
+
source_path: z.string().nullable().optional(),
|
|
66
|
+
// Timestamps
|
|
67
|
+
created_at: DateTimeSchema.optional(),
|
|
68
|
+
approved_at: DateTimeSchema.nullable().optional(),
|
|
69
|
+
completed_at: DateTimeSchema.nullable().optional(),
|
|
70
|
+
// Notes
|
|
71
|
+
notes: z.array(NoteSchema).optional(),
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* Plans file schema (collection of plans)
|
|
75
|
+
* AC: @plan-crud ac-1 - stored in project.plans.yaml
|
|
76
|
+
*/
|
|
77
|
+
export const PlansFileSchema = z.object({
|
|
78
|
+
kynetic_plans: z.string().default("1.0"),
|
|
79
|
+
plans: z.array(PlanSchema),
|
|
80
|
+
});
|
|
81
|
+
//# sourceMappingURL=plan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan.js","sourceRoot":"","sources":["../../src/schema/plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,cAAc,EACd,SAAS,EACT,UAAU,EACV,UAAU,GACX,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC;IACrC,OAAO;IACP,UAAU;IACV,QAAQ;IACR,WAAW;IACX,UAAU;CACX,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,WAAW;IACX,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,E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AE,mBAAmB,CAAC;IAE7C,UAAU;IACV,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAE9B,QAAQ;IACR,MAAM,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAEnC,QAAQ;IACR,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE;IAC5C,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE;IAE5C,kBAAkB;IAClB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAE7C,aAAa;IACb,UAAU,EAAE,cAAc,CAAC,QAAQ,EAAE;IACrC,WAAW,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAElD,QAAQ;IACR,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACxC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC;CAC3B,CAAC,CAAC"}
|
package/dist/schema/spec.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
/**
|
|
3
3
|
* Status block for spec items
|
|
4
4
|
*/
|
|
@@ -189,6 +189,8 @@ export declare const SpecItemSchema: z.ZodObject<{
|
|
|
189
189
|
created_by: z.ZodOptional<z.ZodString>;
|
|
190
190
|
deprecated_in: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
191
|
superseded_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
192
|
+
verified_at: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
193
|
+
verified_by: z.ZodOptional<z.ZodString>;
|
|
192
194
|
notes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
193
195
|
_ulid: z.ZodString;
|
|
194
196
|
created_at: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -210,10 +212,8 @@ export declare const SpecItemSchema: z.ZodObject<{
|
|
|
210
212
|
}>, "many">>;
|
|
211
213
|
}, "strip", z.ZodTypeAny, {
|
|
212
214
|
_ulid: string;
|
|
213
|
-
slugs: string[];
|
|
214
|
-
title: string;
|
|
215
|
-
depends_on: string[];
|
|
216
215
|
tags: string[];
|
|
216
|
+
depends_on: string[];
|
|
217
217
|
notes: {
|
|
218
218
|
_ulid: string;
|
|
219
219
|
created_at: string;
|
|
@@ -221,6 +221,8 @@ export declare const SpecItemSchema: z.ZodObject<{
|
|
|
221
221
|
author?: string | undefined;
|
|
222
222
|
supersedes?: string | null | undefined;
|
|
223
223
|
}[];
|
|
224
|
+
slugs: string[];
|
|
225
|
+
title: string;
|
|
224
226
|
tests: string[];
|
|
225
227
|
implements: string[];
|
|
226
228
|
relates_to: string[];
|
|
@@ -230,8 +232,8 @@ export declare const SpecItemSchema: z.ZodObject<{
|
|
|
230
232
|
implementation: "not_started" | "in_progress" | "implemented" | "verified";
|
|
231
233
|
} | undefined;
|
|
232
234
|
type?: "task" | "module" | "feature" | "requirement" | "constraint" | "decision" | "trait" | undefined;
|
|
233
|
-
supersedes?: string | null | undefined;
|
|
234
235
|
description?: string | undefined;
|
|
236
|
+
supersedes?: string | null | undefined;
|
|
235
237
|
priority?: number | "high" | "medium" | "low" | undefined;
|
|
236
238
|
acceptance_criteria?: {
|
|
237
239
|
id: string;
|
|
@@ -255,6 +257,8 @@ export declare const SpecItemSchema: z.ZodObject<{
|
|
|
255
257
|
created_by?: string | undefined;
|
|
256
258
|
deprecated_in?: string | null | undefined;
|
|
257
259
|
superseded_by?: string | null | undefined;
|
|
260
|
+
verified_at?: string | undefined;
|
|
261
|
+
verified_by?: string | undefined;
|
|
258
262
|
}, {
|
|
259
263
|
_ulid: string;
|
|
260
264
|
title: string;
|
|
@@ -263,12 +267,9 @@ export declare const SpecItemSchema: z.ZodObject<{
|
|
|
263
267
|
implementation?: "not_started" | "in_progress" | "implemented" | "verified" | undefined;
|
|
264
268
|
} | undefined;
|
|
265
269
|
type?: "task" | "module" | "feature" | "requirement" | "constraint" | "decision" | "trait" | undefined;
|
|
266
|
-
|
|
267
|
-
slugs?: string[] | undefined;
|
|
270
|
+
tags?: string[] | undefined;
|
|
268
271
|
description?: string | undefined;
|
|
269
272
|
depends_on?: string[] | undefined;
|
|
270
|
-
priority?: number | "high" | "medium" | "low" | undefined;
|
|
271
|
-
tags?: string[] | undefined;
|
|
272
273
|
notes?: {
|
|
273
274
|
_ulid: string;
|
|
274
275
|
created_at: string;
|
|
@@ -276,6 +277,9 @@ export declare const SpecItemSchema: z.ZodObject<{
|
|
|
276
277
|
author?: string | undefined;
|
|
277
278
|
supersedes?: string | null | undefined;
|
|
278
279
|
}[] | undefined;
|
|
280
|
+
supersedes?: string | null | undefined;
|
|
281
|
+
slugs?: string[] | undefined;
|
|
282
|
+
priority?: number | "high" | "medium" | "low" | undefined;
|
|
279
283
|
tests?: string[] | undefined;
|
|
280
284
|
acceptance_criteria?: {
|
|
281
285
|
id: string;
|
|
@@ -302,6 +306,8 @@ export declare const SpecItemSchema: z.ZodObject<{
|
|
|
302
306
|
created_by?: string | undefined;
|
|
303
307
|
deprecated_in?: string | null | undefined;
|
|
304
308
|
superseded_by?: string | null | undefined;
|
|
309
|
+
verified_at?: string | undefined;
|
|
310
|
+
verified_by?: string | undefined;
|
|
305
311
|
}>;
|
|
306
312
|
/**
|
|
307
313
|
* Spec item input schema (for creating new items, ULID auto-generated)
|
|
@@ -396,6 +402,8 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
|
|
|
396
402
|
created_by: z.ZodOptional<z.ZodString>;
|
|
397
403
|
deprecated_in: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
398
404
|
superseded_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
405
|
+
verified_at: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
406
|
+
verified_by: z.ZodOptional<z.ZodString>;
|
|
399
407
|
notes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
400
408
|
_ulid: z.ZodString;
|
|
401
409
|
created_at: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -418,10 +426,8 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
|
|
|
418
426
|
}, "_ulid"> & {
|
|
419
427
|
_ulid: z.ZodOptional<z.ZodString>;
|
|
420
428
|
}, "strip", z.ZodTypeAny, {
|
|
421
|
-
slugs: string[];
|
|
422
|
-
title: string;
|
|
423
|
-
depends_on: string[];
|
|
424
429
|
tags: string[];
|
|
430
|
+
depends_on: string[];
|
|
425
431
|
notes: {
|
|
426
432
|
_ulid: string;
|
|
427
433
|
created_at: string;
|
|
@@ -429,6 +435,8 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
|
|
|
429
435
|
author?: string | undefined;
|
|
430
436
|
supersedes?: string | null | undefined;
|
|
431
437
|
}[];
|
|
438
|
+
slugs: string[];
|
|
439
|
+
title: string;
|
|
432
440
|
tests: string[];
|
|
433
441
|
implements: string[];
|
|
434
442
|
relates_to: string[];
|
|
@@ -439,8 +447,8 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
|
|
|
439
447
|
} | undefined;
|
|
440
448
|
type?: "task" | "module" | "feature" | "requirement" | "constraint" | "decision" | "trait" | undefined;
|
|
441
449
|
_ulid?: string | undefined;
|
|
442
|
-
supersedes?: string | null | undefined;
|
|
443
450
|
description?: string | undefined;
|
|
451
|
+
supersedes?: string | null | undefined;
|
|
444
452
|
priority?: number | "high" | "medium" | "low" | undefined;
|
|
445
453
|
acceptance_criteria?: {
|
|
446
454
|
id: string;
|
|
@@ -464,6 +472,8 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
|
|
|
464
472
|
created_by?: string | undefined;
|
|
465
473
|
deprecated_in?: string | null | undefined;
|
|
466
474
|
superseded_by?: string | null | undefined;
|
|
475
|
+
verified_at?: string | undefined;
|
|
476
|
+
verified_by?: string | undefined;
|
|
467
477
|
}, {
|
|
468
478
|
title: string;
|
|
469
479
|
status?: {
|
|
@@ -472,12 +482,9 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
|
|
|
472
482
|
} | undefined;
|
|
473
483
|
type?: "task" | "module" | "feature" | "requirement" | "constraint" | "decision" | "trait" | undefined;
|
|
474
484
|
_ulid?: string | undefined;
|
|
475
|
-
|
|
476
|
-
slugs?: string[] | undefined;
|
|
485
|
+
tags?: string[] | undefined;
|
|
477
486
|
description?: string | undefined;
|
|
478
487
|
depends_on?: string[] | undefined;
|
|
479
|
-
priority?: number | "high" | "medium" | "low" | undefined;
|
|
480
|
-
tags?: string[] | undefined;
|
|
481
488
|
notes?: {
|
|
482
489
|
_ulid: string;
|
|
483
490
|
created_at: string;
|
|
@@ -485,6 +492,9 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
|
|
|
485
492
|
author?: string | undefined;
|
|
486
493
|
supersedes?: string | null | undefined;
|
|
487
494
|
}[] | undefined;
|
|
495
|
+
supersedes?: string | null | undefined;
|
|
496
|
+
slugs?: string[] | undefined;
|
|
497
|
+
priority?: number | "high" | "medium" | "low" | undefined;
|
|
488
498
|
tests?: string[] | undefined;
|
|
489
499
|
acceptance_criteria?: {
|
|
490
500
|
id: string;
|
|
@@ -511,6 +521,8 @@ export declare const SpecItemInputSchema: z.ZodObject<Omit<{
|
|
|
511
521
|
created_by?: string | undefined;
|
|
512
522
|
deprecated_in?: string | null | undefined;
|
|
513
523
|
superseded_by?: string | null | undefined;
|
|
524
|
+
verified_at?: string | undefined;
|
|
525
|
+
verified_by?: string | undefined;
|
|
514
526
|
}>;
|
|
515
527
|
/**
|
|
516
528
|
* Spec item patch schema (partial fields, passthrough for unknown)
|
|
@@ -528,13 +540,9 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
|
|
|
528
540
|
implementation?: "not_started" | "in_progress" | "implemented" | "verified" | undefined;
|
|
529
541
|
}>>>;
|
|
530
542
|
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["module", "feature", "requirement", "constraint", "decision", "task", "trait"]>>>;
|
|
531
|
-
|
|
532
|
-
slugs: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
533
|
-
title: z.ZodOptional<z.ZodString>;
|
|
543
|
+
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
534
544
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
535
545
|
depends_on: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
536
|
-
priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
|
|
537
|
-
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
538
546
|
notes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
539
547
|
_ulid: z.ZodString;
|
|
540
548
|
created_at: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -554,6 +562,10 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
|
|
|
554
562
|
author?: string | undefined;
|
|
555
563
|
supersedes?: string | null | undefined;
|
|
556
564
|
}>, "many">>>;
|
|
565
|
+
supersedes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
566
|
+
slugs: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
567
|
+
title: z.ZodOptional<z.ZodString>;
|
|
568
|
+
priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
|
|
557
569
|
tests: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
558
570
|
acceptance_criteria: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
559
571
|
id: z.ZodString;
|
|
@@ -624,6 +636,8 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
|
|
|
624
636
|
created_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
625
637
|
deprecated_in: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
626
638
|
superseded_by: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
639
|
+
verified_at: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
640
|
+
verified_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
627
641
|
_ulid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
628
642
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
629
643
|
status: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -637,13 +651,9 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
|
|
|
637
651
|
implementation?: "not_started" | "in_progress" | "implemented" | "verified" | undefined;
|
|
638
652
|
}>>>;
|
|
639
653
|
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["module", "feature", "requirement", "constraint", "decision", "task", "trait"]>>>;
|
|
640
|
-
|
|
641
|
-
slugs: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
642
|
-
title: z.ZodOptional<z.ZodString>;
|
|
654
|
+
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
643
655
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
644
656
|
depends_on: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
645
|
-
priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
|
|
646
|
-
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
647
657
|
notes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
648
658
|
_ulid: z.ZodString;
|
|
649
659
|
created_at: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -663,6 +673,10 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
|
|
|
663
673
|
author?: string | undefined;
|
|
664
674
|
supersedes?: string | null | undefined;
|
|
665
675
|
}>, "many">>>;
|
|
676
|
+
supersedes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
677
|
+
slugs: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
678
|
+
title: z.ZodOptional<z.ZodString>;
|
|
679
|
+
priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
|
|
666
680
|
tests: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
667
681
|
acceptance_criteria: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
668
682
|
id: z.ZodString;
|
|
@@ -733,6 +747,8 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
|
|
|
733
747
|
created_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
734
748
|
deprecated_in: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
735
749
|
superseded_by: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
750
|
+
verified_at: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
751
|
+
verified_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
736
752
|
_ulid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
737
753
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
738
754
|
status: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -746,13 +762,9 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
|
|
|
746
762
|
implementation?: "not_started" | "in_progress" | "implemented" | "verified" | undefined;
|
|
747
763
|
}>>>;
|
|
748
764
|
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["module", "feature", "requirement", "constraint", "decision", "task", "trait"]>>>;
|
|
749
|
-
|
|
750
|
-
slugs: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
751
|
-
title: z.ZodOptional<z.ZodString>;
|
|
765
|
+
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
752
766
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
753
767
|
depends_on: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
754
|
-
priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
|
|
755
|
-
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
756
768
|
notes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
757
769
|
_ulid: z.ZodString;
|
|
758
770
|
created_at: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -772,6 +784,10 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
|
|
|
772
784
|
author?: string | undefined;
|
|
773
785
|
supersedes?: string | null | undefined;
|
|
774
786
|
}>, "many">>>;
|
|
787
|
+
supersedes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
788
|
+
slugs: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
789
|
+
title: z.ZodOptional<z.ZodString>;
|
|
790
|
+
priority: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["high", "medium", "low"]>, z.ZodNumber]>>>;
|
|
775
791
|
tests: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
776
792
|
acceptance_criteria: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
777
793
|
id: z.ZodString;
|
|
@@ -842,6 +858,8 @@ export declare const SpecItemPatchSchema: z.ZodObject<{
|
|
|
842
858
|
created_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
843
859
|
deprecated_in: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
844
860
|
superseded_by: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
861
|
+
verified_at: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
862
|
+
verified_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
845
863
|
_ulid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
846
864
|
}, z.ZodTypeAny, "passthrough">>;
|
|
847
865
|
/**
|
|
@@ -870,13 +888,24 @@ export declare const ManifestSchema: z.ZodObject<{
|
|
|
870
888
|
traits: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
871
889
|
includes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
872
890
|
hooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
891
|
+
config: z.ZodOptional<z.ZodAny>;
|
|
892
|
+
daemon: z.ZodOptional<z.ZodObject<{
|
|
893
|
+
auto_start: z.ZodDefault<z.ZodBoolean>;
|
|
894
|
+
port: z.ZodDefault<z.ZodNumber>;
|
|
895
|
+
}, "strip", z.ZodTypeAny, {
|
|
896
|
+
auto_start: boolean;
|
|
897
|
+
port: number;
|
|
898
|
+
}, {
|
|
899
|
+
auto_start?: boolean | undefined;
|
|
900
|
+
port?: number | undefined;
|
|
901
|
+
}>>;
|
|
873
902
|
}, "strip", z.ZodTypeAny, {
|
|
874
|
-
kynetic: string;
|
|
875
903
|
project: {
|
|
876
904
|
status: "draft" | "proposed" | "stable" | "deferred" | "deprecated";
|
|
877
905
|
name: string;
|
|
878
906
|
version: string;
|
|
879
907
|
};
|
|
908
|
+
kynetic: string;
|
|
880
909
|
includes?: string[] | undefined;
|
|
881
910
|
traits?: any[] | undefined;
|
|
882
911
|
modules?: any[] | undefined;
|
|
@@ -885,6 +914,11 @@ export declare const ManifestSchema: z.ZodObject<{
|
|
|
885
914
|
constraints?: any[] | undefined;
|
|
886
915
|
decisions?: any[] | undefined;
|
|
887
916
|
hooks?: Record<string, string> | undefined;
|
|
917
|
+
config?: any;
|
|
918
|
+
daemon?: {
|
|
919
|
+
auto_start: boolean;
|
|
920
|
+
port: number;
|
|
921
|
+
} | undefined;
|
|
888
922
|
}, {
|
|
889
923
|
project: {
|
|
890
924
|
name: string;
|
|
@@ -900,6 +934,11 @@ export declare const ManifestSchema: z.ZodObject<{
|
|
|
900
934
|
constraints?: any[] | undefined;
|
|
901
935
|
decisions?: any[] | undefined;
|
|
902
936
|
hooks?: Record<string, string> | undefined;
|
|
937
|
+
config?: any;
|
|
938
|
+
daemon?: {
|
|
939
|
+
auto_start?: boolean | undefined;
|
|
940
|
+
port?: number | undefined;
|
|
941
|
+
} | undefined;
|
|
903
942
|
}>;
|
|
904
943
|
export type Status = z.infer<typeof StatusSchema>;
|
|
905
944
|
export type AcceptanceCriterion = z.infer<typeof AcceptanceCriterionSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../../src/schema/spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;EAGvB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;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CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
package/dist/schema/spec.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import {
|
|
3
|
-
import { NoteSchema } from
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { DateTimeSchema, ImplementationStatusSchema, ItemTypeSchema, MaturitySchema, PrioritySchema, RefSchema, SlugSchema, UlidSchema, } from "./common.js";
|
|
3
|
+
import { NoteSchema } from "./task.js";
|
|
4
4
|
/**
|
|
5
5
|
* Status block for spec items
|
|
6
6
|
*/
|
|
7
7
|
export const StatusSchema = z.object({
|
|
8
|
-
maturity: MaturitySchema.default(
|
|
9
|
-
implementation: ImplementationStatusSchema.default(
|
|
8
|
+
maturity: MaturitySchema.default("draft"),
|
|
9
|
+
implementation: ImplementationStatusSchema.default("not_started"),
|
|
10
10
|
});
|
|
11
11
|
/**
|
|
12
12
|
* Acceptance criteria in Given/When/Then format
|
|
@@ -41,7 +41,7 @@ export const SpecItemSchema = z.object({
|
|
|
41
41
|
// Identity
|
|
42
42
|
_ulid: UlidSchema,
|
|
43
43
|
slugs: z.array(SlugSchema).default([]),
|
|
44
|
-
title: z.string().min(1,
|
|
44
|
+
title: z.string().min(1, "Title is required"),
|
|
45
45
|
type: ItemTypeSchema.optional(),
|
|
46
46
|
// Status
|
|
47
47
|
status: StatusSchema.optional(),
|
|
@@ -65,6 +65,9 @@ export const SpecItemSchema = z.object({
|
|
|
65
65
|
created_by: z.string().optional(),
|
|
66
66
|
deprecated_in: z.string().nullable().optional(),
|
|
67
67
|
superseded_by: RefSchema.nullable().optional(),
|
|
68
|
+
// Verification metadata (for retrospective specs)
|
|
69
|
+
verified_at: DateTimeSchema.optional(),
|
|
70
|
+
verified_by: RefSchema.optional(),
|
|
68
71
|
// Notes (work log / implementation context)
|
|
69
72
|
notes: z.array(NoteSchema).default([]),
|
|
70
73
|
});
|
|
@@ -83,11 +86,11 @@ export const SpecItemPatchSchema = SpecItemInputSchema.partial().passthrough();
|
|
|
83
86
|
* Root manifest schema
|
|
84
87
|
*/
|
|
85
88
|
export const ManifestSchema = z.object({
|
|
86
|
-
kynetic: z.string().default(
|
|
89
|
+
kynetic: z.string().default("1.0"),
|
|
87
90
|
project: z.object({
|
|
88
91
|
name: z.string(),
|
|
89
|
-
version: z.string().default(
|
|
90
|
-
status: MaturitySchema.default(
|
|
92
|
+
version: z.string().default("0.1.0"),
|
|
93
|
+
status: MaturitySchema.default("draft"),
|
|
91
94
|
}),
|
|
92
95
|
// Inline items (small projects)
|
|
93
96
|
modules: z.array(z.any()).optional(), // Recursive, define separately if needed
|
|
@@ -100,5 +103,15 @@ export const ManifestSchema = z.object({
|
|
|
100
103
|
includes: z.array(z.string()).optional(),
|
|
101
104
|
// Hooks configuration
|
|
102
105
|
hooks: z.record(z.string()).optional(),
|
|
106
|
+
// AC: @config-manifest-cleanup ac-2 — backward compat for existing manifests with config block
|
|
107
|
+
// This field is DEPRECATED — use kspec.config.yaml instead
|
|
108
|
+
config: z.any().optional(),
|
|
109
|
+
// AC: @config-manifest-cleanup ac-4 — backward compat for existing manifests with daemon block
|
|
110
|
+
// DEPRECATED: Use kspec.config.yaml daemon settings instead
|
|
111
|
+
// Kept as explicit optional for backward compat parsing (do not use .passthrough())
|
|
112
|
+
daemon: z.object({
|
|
113
|
+
auto_start: z.boolean().default(true),
|
|
114
|
+
port: z.number().int().min(1).max(65535).default(3456),
|
|
115
|
+
}).optional(),
|
|
103
116
|
});
|
|
104
117
|
//# sourceMappingURL=spec.js.map
|
package/dist/schema/spec.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec.js","sourceRoot":"","sources":["../../src/schema/spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"spec.js","sourceRoot":"","sources":["../../src/schema/spec.ts"],"names":[],"mappings":"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