You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lifecycle: a read call that says whether a plan is stale before it's approved #4648
area:lifecycleplan/diff/apply/observe/drift/prune/search --liveenhancementNew feature or requestepic:arugulaArugula's asks of chant (arugula-salad/arugula's epic: Arugula on chant)
chant at b1b9e44 (0.124.56). From Arugula (arugula-salad/arugula), which pins 0.108.1 and is planning the move to build: newest (arugula#1675).
Problem. A platform that shows a plan for approval needs to know, before applying, whether anything changed the targets since that plan was made, including applies from a laptop or another CI. chant checks the digest at apply time, but there's no read call to ask beforehand. Arugula's platform counts only its own applies as making a plan stale. The data is in the ledger (chant ledger applies --since), but the caller has to know which targets a plan covers and how to compare.
Ask. A read in the read contract: chant plan stale <digest> [--json] (or a ledger view) that says whether any apply touched the plan's targets after the plan was recorded, listing those applies (who, when, which run). It should be safe to call from a platform before it asks a person to approve.
Done when: a test where an apply from another run after the plan makes it stale, and one to an unrelated target doesn't. The JSON shape is added to workspace-read-contract.mdx.
area:lifecycleplan/diff/apply/observe/drift/prune/search --liveenhancementNew feature or requestepic:arugulaArugula's asks of chant (arugula-salad/arugula's epic: Arugula on chant)
Activity
lex00 commentedon Nov 1, 2026
Tracked on Arugula's side in arugula-salad/arugula#1988 (epic: Arugula on chant), which lists every place Arugula waits on chant.
chant plan stale: whether anything applied to a plan's targets since …
chant plan stale: whether anything applied to a plan's targets since …
Merge pull request #4686 from INTENTIUS/unit/plan-stale-4648