Agent commits: terragucci's trailers and guarded paths #16
Labels
No labels
terraform-plane
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jhgaylor/sluice#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(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.
commitMessageinsrc/services/agent.tswritesAsked by @loginand a co-author line. terragucci 0.4.13 writesRequested-by:andPushed-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 missingterragucci.components.json(0.4.13) and.gitlab/(terragucciagent-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 readsinput.reviewgets riskunknown. terragucci's review agent now matches chant'sreviewAgent(terragucci#1215, chant#4299; both pin Claude Code 2.1.290,review-agent.ts:58, sluiceagent.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 thatinput.reviewisunknownunder 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.