Repository navigation
Closed
Description
Follow-ups from the independent post-merge review of #4076 (independent agent review of tasks), merged as 19776cf18dbe3139642973008dc57c1942101cba.
Source: Tale agent #2 (TALE-359, run feb91650-660e-442d-8d9b-e902957dc283), issuecomment-5960639103, also recorded on TALE-450 (5a7189c9).
- The verdict there: source accepted, with follow-ups. No HIGH remains, and no security or data-integrity MEDIUM.
- The fleet manager (TALE-357, run
68e6c40e-ea0e-411f-81e0-a37c27fb0343) files this issue only to give the reviewer's open items an owner. It adds no new investigation. - File and line references are from that review, at
19776cf18.
MEDIUM
- M1:
TASK_REVIEW_POLICY_UNAVAILABLEreaches the UI unmapped.- With an unreadable
review_policy, a person's Approve, or a drag to Done, is refused with 409 (reviews.ts:566). reviewer-refusal.tsmaps only the governance codes toreviewer.policyUnavailable, so the user sees a generic toast.- The error-code register files the code under "Reachable on the API surface only" (
tests/manual/reference/error-codes.md:70). - The strict read is organization-wide, so one invalid policy blocks every human approval. That is documented, but the blast radius should be visible in the message.
- Acceptance:
- a translated EN/DE/FR message that names the cause and the recovery;
- the register row moved to the UI-reachable section;
- a UI test with the refusal stubbed.
- With an unreadable
- M2: choosing a reviewer can drop keyboard focus. This was found in source and not run.
task-reviewer-field.tsxdisables the picker while the save is pending.- A disabled
reviewer-picker.tsxrenders a static span (lines 166–175), which unmounts the trigger that focus should return to. - Suggested fix: keep the trigger mounted with
aria-disabled. - Acceptance: a keyboard test, with focus on the trigger after save succeeds and after it fails, plus a local browser check.
Partial or stale (from the same table)
- B: the docs contradict the code.
tasks.mdstill says a reassignment keeps the review decidable. The code answersTASK_REVIEW_STALE(source_changed), and a transfer to a person recovers it. Align the EN/DE/FR docs. - 11: the timeline still renders "Project default → Project default".
- 12: manual suite headers. The
projects.mdheader says 59, but it has 61 boxes. Thetasks.mdheader says 115, but it has 121. The readme total is right. - E: who acts next.
- A busy or failed review run is still invisible.
- A deleted reviewer agent still receives new reviews, though choosing one is refused.
- Home is unchanged, by documented choice.
- Related: bug(platform): a waiting task review stays with a reviewer who was removed or lost edit access #3789 (TALE-244) and bug(platform): Home leaves out reviews that fall back to the task's creator #3790 (TALE-245). Consolidate rather than duplicate.
LOW
The "New, LOW" list and the remaining 12:45 LOW list in the source comment are covered here:
- close protection after a transfer to a person;
reviewFileslisting behaviour;- stage-token lifetime;
invalid_metadataedge cases;- staging audit;
assignTaskreviewer check;- the
approvalIddocs; - turbo inputs;
- "Deleted agent" while loading;
- FR, DE and register wording.
Each needs triage: fix it, or record it as accepted with a reason.
Gating note
Agent #2 lists these before production opt-in of agent review:
- M1, with its register row moved;
- M2, checked in a browser;
- B's docs contradiction;
- its own EN/DE/FR browser lifecycle and accessibility pass.
The opt-in itself is root's decision. This issue doesn't change it.
Routing: a cycle implementer, with a reviewer distinct from that implementer. Tests stay local: synthetic data, no production.
Metadata
Metadata
Assignees
Labels
No labels
Activity
yannickmonney commentedon Oct 2, 2026
Root has taken implementation ownership of the bounded pre-opt-in slice: M1 (the policy refusal across both review actions and board drag), M2 (focus preservation during a transient reviewer save), and a precise EN/DE/FR explanation of stale decisions and guarded human transfer. An isolated local coding agent is preparing the change; please do not start a competing implementation of this slice. A different reviewer will assess the result, and browser judgment stays local.
Fresh source triage on the merged #4100 tree confirms M1 and the M2 trigger-unmount risk. The docs statement about preserving the historical producer is correct; the missing guidance should be added without reversing that statement. M2 runtime behavior still needs actual local evidence.
This does not close the whole issue or accept the remaining LOWs. Their individual dispositions and the wider independent lifecycle/accessibility pass remain tracked here. No production review grant or deployment is implied.
fix(platform): preserve reviewer focus and explain policy refusals
yannickmonney commentedon Oct 12, 2026
Addendum to the LOW "Deleted agent while loading" (Review A, TALE-358, 2026-10-12 20:15 Zurich occurrence): a failed read makes it permanent.
mainc94f1fd84, paths underservices/platform/app/features/.projects/hooks/queries.ts:66-84:useProjectAgentsreturnsagents: data ?? []together withhasAnsweranderror.tasks/hooks/use-actor-directory.ts:139reads onlyagentsandisLoading. Its agent map and catalog are then empty (:160-161), andresolveActornames every agent actort('timeline.deletedAgent')(:241-246).mentionsPending(:338) also ignores the failure, so mentions of those agents resolve as gone.Expected: while
hasAnsweris false, orerroris set, show a neutral placeholder instead of "Deleted agent", and treat mentions as pending. Offer the hook'sretrywhere the timeline already shows read errors.Regression: an actor-directory test with a rejected
listProjectAgentsread. An agent actor is not named "Deleted agent". Onc94f1fd84it is.Severity: low to medium. It is misleading but recoverable on reload. This is static reading, verified at the cited lines. I didn't run it.