Agent commits: terragucci's trailers and guarded paths #16

Open
opened 2026-10-21 03:08:50 +00:00 by lex00 · 0 comments
Collaborator

(bug)
Part of the terraform-plane epic (arugula-salad/arugula#1141). Lands after terragucci's next release, the first built on chant 0.124.41 or later (chant#4287); npm's newest is still 0.4.40, on chant 0.124.24.

  • commitMessage in src/services/agent.ts writes Asked by @login and a co-author line. terragucci 0.4.13 writes Requested-by: and Pushed-by: (agent-comment.ts:286-289), and its involvement rule reads them (involved.ts:107-146). Without them, the person who asked sluice's agent for a change, and sluice's bot, can approve its apply.
  • forbiddenPaths (src/services/agent.ts:94,106) is missing terragucci.components.json (0.4.13) and .gitlab/ (terragucci agent-comment.ts:93,106). The prompt text and the refusal reply list the same paths.

Done when: agent commits carry both trailers with the asker's and the bot's logins; the list, the prompt and the reply match terragucci 0.4.40's (unchanged since 0.4.39); a test asserts the trailers and both new paths are refused. Pairs with #15, which makes the involvement rule visible in the inbox.

Also: sluice runs no review: agent, so a policy that reads input.review gets risk unknown. terragucci's review agent now matches chant's reviewAgent (terragucci#1215, chant#4299; both pin Claude Code 2.1.290, review-agent.ts:58, sluice agent.ts:12). chant's bundle can't be imported (terragucci's own bundle check refuses it), so it would run in the sandbox. Either run it or document that input.review is unknown under sluice.

From a review of sluice against terragucci 0.4.39 and chant 0.124.27 (2026-10-20). Proposal for the maintainer; PRs would come from lex00/sluice.

Updated 2026-10-22 for terragucci main (pins chant 0.124.41, terragucci#1212–#1223) and chant 0.124.41–0.124.42.

(bug) Part of the terraform-plane epic (arugula-salad/arugula#1141). Lands after terragucci's next release, the first built on chant 0.124.41 or later (chant#4287); npm's newest is still 0.4.40, on chant 0.124.24. - `commitMessage` in `src/services/agent.ts` writes `Asked by @login` and a co-author line. terragucci 0.4.13 writes `Requested-by:` and `Pushed-by:` (`agent-comment.ts:286-289`), and its involvement rule reads them (`involved.ts:107-146`). Without them, the person who asked sluice's agent for a change, and sluice's bot, can approve its apply. - `forbiddenPaths` (`src/services/agent.ts:94,106`) is missing `terragucci.components.json` (0.4.13) and `.gitlab/` (terragucci `agent-comment.ts:93,106`). The prompt text and the refusal reply list the same paths. Done when: agent commits carry both trailers with the asker's and the bot's logins; the list, the prompt and the reply match terragucci 0.4.40's (unchanged since 0.4.39); a test asserts the trailers and both new paths are refused. Pairs with #15, which makes the involvement rule visible in the inbox. Also: sluice runs no `review:` agent, so a policy that reads `input.review` gets risk `unknown`. terragucci's review agent now matches chant's `reviewAgent` (terragucci#1215, chant#4299; both pin Claude Code 2.1.290, `review-agent.ts:58`, sluice `agent.ts:12`). chant's bundle can't be imported (terragucci's own bundle check refuses it), so it would run in the sandbox. Either run it or document that `input.review` is `unknown` under sluice. From a review of sluice against terragucci 0.4.39 and chant 0.124.27 (2026-10-20). Proposal for the maintainer; PRs would come from lex00/sluice. Updated 2026-10-22 for terragucci main (pins chant 0.124.41, terragucci#1212–#1223) and chant 0.124.41–0.124.42.
Sign in to join this conversation.
No labels
terraform-plane
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jhgaylor/sluice#16
No description provided.