• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 24874586600 / 18
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 24 Apr 2026 05:56AM UTC
Files 283
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Apr 2026 05:53AM UTC coverage: 19.35% (+0.07%) from 19.281%
24874586600.18

push

github

web-flow
feat(space): add 'approved' task status + workflow postApproval schema (PR 1/5) (#1620)

* feat(space): add 'approved' task status + workflow postApproval schema (PR 1/5)

Strictly additive, schema-only foundation for the task-agent-as-post-approval-
executor refactor. No runtime behaviour change — no edge produces the new
`approved` status yet, and no consumer reads `postApproval`. PR 2 wires the
router and `mark_complete` tool.

- Add `'approved'` to `SpaceTaskStatus` (between `review` and `done`).
- Add `PostApprovalRoute { targetAgent, instructions }` + optional
  `SpaceWorkflow.postApproval`.
- Add optional `postApprovalSessionId` / `postApprovalStartedAt` /
  `postApprovalBlockedReason` on `SpaceTask`.
- Migration 103: widen `space_tasks.status` CHECK (table-rebuild), add 3 new
  task columns, add `post_approval` JSON column on `space_workflows`.
- Repositories read/write the new columns.
- `SpaceWorkflowManager.create/update` validate `postApproval` against the
  workflow's node agents (+ `task-agent`). Stale routes are stripped at load
  time with a warn log.
- New `post-approval-template.ts`: single-pass `{{identifier}}` interpolator.
- Web `TaskStatusActions` + `SpaceTaskPane` label/transition maps extended to
  include `approved` so `Record<SpaceTaskStatus, ...>` typechecks. `review ->
  approved` is deliberately NOT added yet.

Plan doc: docs/plans/remove-completion-actions-task-agent-as-post-approval-executor.md

* docs(space): address review nits on PR 1/5

- Correct the fresh-DB guard comment in `runMigration103`: the early return
  only fires when M103 is invoked standalone before M29 has created
  `space_tasks` (tests/dev tooling). `createTables` does not create
  `space_tasks`; M29 does, and M103 rebuilds it with the widened CHECK.
- Note on `listActiveWithTaskAgentSession`: flag the PR 2 extension point
  (filter must widen to include `'approved'` once post-approval sessions are
  in-flight). Kept current filter to preserve PR 1's n... (continued)

14878 of 76887 relevant lines covered (19.35%)

9.71 hits per line

Source Files on job daemon-online-features-2 - 24874586600.18
  • Tree
  • List 283
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24874586600
  • 7ce7e841 on github
  • Prev Job for on dev (#24873122005.33)
  • Next Job for on dev (#24890604342.12)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc