Read the approval mode the way terragucci does #8

Open
opened 2026-10-08 19:19:27 +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.

tgconfig.ts:100 defaults to ledger and routes.tsx:49 checks only config.approval === "sealed", so an estate that sets no approval but lists identity.gates in chant.workspace.json is sealed to terragucci (approval.ts:62-67) and ledger to sluice: the inbox button writes an unsealed line terragucci ignores.
Done when: sluice takes the mode from terragucci config check --json results.approval.mode at the base commit (or ports effectiveApproval with identity.gates), shows its source on the estate page, reads chant.workspace.json with chant's workspace/declaration parseDeclaration rather than by hand, and a test covers gates-without-key as sealed.

From terragucci's chat research (INTENTIUS/terragucci, 2026-10-08): sluice as the optional interactive Slack/Teams front end for terragucci estates. 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. `tgconfig.ts:100` defaults to `ledger` and `routes.tsx:49` checks only `config.approval === "sealed"`, so an estate that sets no `approval` but lists `identity.gates` in `chant.workspace.json` is sealed to terragucci (`approval.ts:62-67`) and ledger to sluice: the inbox button writes an unsealed line terragucci ignores. Done when: sluice takes the mode from `terragucci config check --json` `results.approval.mode` at the base commit (or ports `effectiveApproval` with `identity.gates`), shows its `source` on the estate page, reads `chant.workspace.json` with chant's `workspace/declaration` `parseDeclaration` rather than by hand, and a test covers gates-without-key as sealed. From terragucci's chat research (INTENTIUS/terragucci, 2026-10-08): sluice as the optional interactive Slack/Teams front end for terragucci estates. 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#8
No description provided.