Use chant's newer workspace features for runs and the inbox #20
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#20
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?
(enhancement, after #15)
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.
Agent run records (chant ws-076, ws-090):
chant workspace runs start/endwrites_agent-runs/<id>.jsonlwith cost fields and prints aChant-Runtrailer for the agent's commits, which suits/terragucci agentruns.chant workspace status --json(chant #2674,workspace/status-gates.ts) gives per-member gate state and quorum, so the watcher needn't read the branch by hand. It now also returns chant's ownreleaseandpr-*gates (chant#4168 promote and PR loop), so the watcher must filter by op (tf-apply,tf-migrate,policy-override) or it files gates that aren't terragucci's. Its quorum output is thin:approvals[]andneededonly, with no progress per rule, so the inbox's rule progress still comes fromgate-quorum(#15). It also reads member ledgers under_members/<m>/_gates/, which sluice and terragucci hardcode as the flat_gates/tf-apply.jsonl.Pending facts now carry
approvalMode,wave,heldByandresume(chant #3861, #3839, #3886, #3683). The inbox can show them instead of inferring.sluice writes resolutions directly, past checks
chant approvemakes at write time:identity.attribution: "identified"refusing a bare--relayed-by sluice, gates inidentity.gatesrefused unsigned, andapproval.policy. chant ws-074 says writes go through chant. At least refuse in the console whatchant approvewould.chant query(chant#4297, 0.124.41) is SQL overchant/lifecycle(--json, schemaVersion 1; runs, deploys, releases, raw gate lines). It fits history on the estate page, not live gate state, and needs Node 22.13+.Done when: agent runs have run records and their commits the trailer; the watcher reads gate state from
workspace status --json, filtered to terragucci's ops; the inbox shows the pending fact's fields; the console refuses whatchant approvewould refuse for the estate's identity settings.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.