Repository navigation
feat(projects): task shape — subtasks, waits-on, not started, tasks for people - #4493
Conversation
…ks for people (abilityai/trinity-enterprise#1232) - statusEnum gains `todo` (the new default); `list_project_tasks` takes `view: "next"` as its own query parameter, never a status. - `create_project_task` takes `status`, `parent`, `blocked_by`, `for_person`; `update_project_task` takes `parent` (null clears it), `blocked_by_add`, `blocked_by_remove`, `for_person`. Ids are T-NNN, lists capped at 20 as the backend caps them. - Descriptions name the rules and the named refusals; each stays under 2,048 characters, asserted for every project tool in projects.test.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ing and tasks for people (abilityai/trinity-enterprise#1232)
- projectsUtils: `todo` ("To do") leads the status list; a subtask sorts
under its parent; helpers name the creator, who a task is for, subtask
progress and "Waiting on T-NNN" (derived, never the Blocked status);
shape refusals map to the parent / waits-on fields.
- ProjectTasks: rows nest subtasks and show progress, the wait, the
assignee and the creator; the detail adds created by / subtask of /
subtasks / waits on; a task for a person offers no Start. The form edits
the parent (blank sends null) and the tasks it waits on as add/remove;
create takes parent, waits on and "a person does this task".
- workspace-projects.md: the same rules in the words the agent tools use.
Tests: workspaceProjectsEnt1232.mount.spec.js (11, mounted); the V2 utils
status pin now includes todo.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…p a dead error mapping (abilityai/trinity-enterprise#1232) - Guide: the switch that makes a task a person's is on the create form only. - projectsUtils.js: remove the invalid_parent field mapping; the backend never sends that code (a malformed id is parent_not_found). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nd shows it (abilityai/trinity-enterprise#1232)
Operator ruling 2026-11-12 ("Unblock, flag, require a note").
- MCP: update_project_task's note is required for that transition; its
description and list_project_tasks' say what `closed_without_claim` and
`blockers_closed_without_claim` mean ("its output may not exist; read the
note"). A refusal surfaces as done_without_claim_needs_note.
- Page: setting done on a task with an agent on it, from anything but
awaiting verification, makes the note required and sends nothing without
it. The server's refusal shows under the note. The row and the detail show
the flag, and a dependent names the blocker.
- Guide: one paragraph under the verification rule.
Awaiting verification → done and tasks for a person are unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Conflicts in ProjectTasks.vue and projectsUtils.js resolved keeping both:
the trinity-enterprise#957 board view and abilityai/trinity-enterprise#1232's
task shape.
The board now shows the task shape correctly:
- `todo` is named by the first (Active) column and flagged "To do"; it was
previously a known status there, so it read as Active with no badge.
- A card shows derived waiting ("Waiting on T-2") and subtasks beside the
Blocked status's waiting_on line.
- A done card closed without its agent's claim carries the
"Done without a done claim" badge.
- Dropping a card on Done from anything but pending-verification already
asks for the note the server requires.
Board specs: the "status the board does not know" cases used `todo` as
the unknown stand-in; they now use `triage`, and new cases pin todo,
waiting and closed-without-claim (reverting the projectsUtils change
turns 3 of them red).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
/validate-pr — trinity#4493 @
|
Conflicts resolved keeping both intents: - src/mcp-server/src/tools/projects.ts: #4490's shared createTaskParams / updateTaskParams + declared() filter now carry every ent#1232 param (todo status, parent, blocked_by, blocked_by_add/remove, for_person, the done-without-claim note); both descriptions carry the ent#1232 rules and REFS_RULE, each under 2048 chars. - projects.test.ts: both describe blocks kept; the ent#1240 "drops undeclared keys" case uses priority (status is declared on create now). - workspace-projects.md: both sections (GitHub issues and PRs before Subtasks, waiting and tasks for people). Co-Authored-By: Claude Opus 5.5 <[email protected]>
/validate-pr — round 2 (delta) — APPROVEScope:
Decision: APPROVE. It is paired with ent#1249: merge together, after ent#1249's |
The squash adds only the 1232 tip a0a9783, which this branch already contains, so the tree is unchanged by this merge. Co-Authored-By: Claude Fable 5.2 <[email protected]>
What
Platform half of abilityai/trinity-enterprise#1232: a project task gets a shape — subtasks, "waits on" links to other tasks, a not-started (
todo) status, and tasks done by a person.ProjectTasks.vueandprojectsUtils.jsshow subtasks, what a task waits on, not started, and who performs it.src/mcp-server/src/tools/projects.ts,client.ts): the task fields andlist_project_tasks(view: "next")— the unblocked, owned work. Every rule is enforced server-side; the tool layer passes fields and names the refusals.docs/user-docs/sharing-and-access/workspace-projects.md(incl. a task is made a person's when it is created).Review + security
d70d0a8ba2./cso --diff: nothing at the gate. No dependency, workflow or Dockerfile changes.Tests
src/frontend/tests/unit/workspaceProjectsEnt1232.mount.spec.js. Updated:workspaceProjectsV2Utils.spec.js,src/mcp-server/src/tools/projects.test.ts(37/37 on the engineer).tool-visibility.test.ts: 2 failures that are identical on cleandev(not this branch).Before merge
projects.ts,projects.test.ts), feat(executions): project attribution seam + project Runs tab (abilityai/trinity-enterprise#1105) #4492 (guide,projects.test.ts). Merge order is the operator's call; feat(projects): GitHub refs on project tasks — read path, MCP fields, task modal (abilityai/trinity-enterprise#1240) #4490's pair merges first in the current plan.🤖 Generated with Claude Code
Fixes abilityai/trinity-enterprise#1232