2.1 KiB
2.1 KiB
id, title, status, wave, depends_on, plan
| id | title | status | wave | depends_on | plan | |||
|---|---|---|---|---|---|---|---|---|
| task-15 | Spec update + docs + full verification | pending | 4 |
|
docs/plans/plugins/plan.md |
Spec update + docs + full verification
Title
Reconcile the spec with what was built, update docs, and run the full format/typecheck/test/lint gate across backend and web.
Inputs
- Spec
docs/specs/plugins/requirements/plugins.md(status: draft). - Implemented deltas from this plan.
Acceptance
- Spec edits to
docs/specs/plugins/requirements/plugins.md:- Add the
ui.pages[]manifest field (key/title/path/surface) and a new "UI page proxy" subsection under API surface (GET/POST/api/plugins/{id}/ui/*, header stripping for iframe embedding). - Narrow "Out of scope → UI extensions": iframe pages are now IN; native JS slots / registry remain OUT.
- Note tool invocation is implemented as a client + listing endpoint but NOT wired into live agent sessions yet (deferred).
- Correct the credential-storage line: api_key stored as bcrypt hash; webhook_secret stored encrypted (recoverable) because kandev must HMAC-sign outbound deliveries. Keep "returned once at registration".
- Keep marketplace / managed-runtime / process-management OUT of scope.
- Keep
status: draft; add a dated note if the spec has a changelog convention.
- Add the
- Update
docs/plans/plugins/plan.mdtask statuses todone. - If a public-docs surface changed, run
/docs-maintainerjudgment (new operator-facing/api/pluginsAPI + settings page likely warrants a shortdocs/public/**page — add one if the repo documents other settings pages).
Verification (full gate)
make -C apps/backend fmt(FIRST — formatters may split lines)make -C apps/backend typecheck test lintmake -C apps/backend buildcd apps/web && pnpm run typecheck && pnpm lint && pnpm testcd apps/web && pnpm e2e -g "plugin"
Output contract
Report: spec sections changed, docs added, and the full verification results (paste failing output if any). This task closes the plan.
Dependencies
task-09, task-13, task-14.