Problems
Three distinct schema/code sync issues:
1. Handler-type drift
- Spec
$defs/hookHandler lists command | http | reference
- Core (
packages/core/src/types.ts:211-238,309) implements command | http | inline + dangling file literal; no reference
- Reconcile across:
spec/v1/manifest.schema.json, packages/schema/schemas/manifest.schema.json, core types
2. userConfig vs settings duplication
packages/core/src/types.ts:34 has userConfig
packages/core/src/types.ts:37 has settings
- Resolve: pick one canonical name, remove the other, update all references
3. Stale ^0.1.0 dep pins
packages/cli/src/commands/init.ts pins @agentplugins/* at ^0.1.0 for scaffolded plugins
- Update to current semver
Acceptance criteria
Classification
- Type: bug
- Effort: M
- Branch:
feat/v0.3.0-authoring-wins
- Milestone: v0.3.0 (Stage 1 — item 3.3)
Problems
Three distinct schema/code sync issues:
1. Handler-type drift
$defs/hookHandlerlistscommand | http | referencepackages/core/src/types.ts:211-238,309) implementscommand | http | inline+ danglingfileliteral; noreferencespec/v1/manifest.schema.json,packages/schema/schemas/manifest.schema.json, core types2.
userConfigvssettingsduplicationpackages/core/src/types.ts:34hasuserConfigpackages/core/src/types.ts:37hassettings3. Stale
^0.1.0dep pinspackages/cli/src/commands/init.tspins@agentplugins/*at^0.1.0for scaffolded pluginsAcceptance criteria
spec/v1/manifest.schema.jsonandpackages/schema/schemas/manifest.schema.jsonagree on handler typesfileliteral;referencetype added if spec-mandated or removed if notuserConfig/settingsresolved to one canonical name with no duplicationinit.tsdep pins updated to current semverpnpm build && pnpm -r test && pnpm -r typecheckgreenClassification
feat/v0.3.0-authoring-wins