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
writ deploy judges dirtiness at the repository root: a modified Inventory file forces --allow-dirty though only Home/ is planned or served #852
deploying #147 Phase 1; restated by the user the same day: "we have bugs on this command line nonsense."
Observed
$ writ deploy common
Error: layers have uncommitted changes: [personal]
Commit your changes or use --allow-dirty to plan against HEAD
$ git -C ~/Workspace/Personal status --short
M Inventory/Danoble-MBP-A.brews-installed
M Inventory/Danoble-MBP-A.ports-installed
Two machine-inventory files outside Home/ are modified, as they are on every machine most of the time,
and every deploy of the personal layer needs --allow-dirty. Nothing under Home/ is dirty.
Mechanism
cmd/writ/writ/snapshot/snapshot.goIsDirty runs git status --porcelain at the repository root
and returns true on any output: staged, unstaged or untracked, anywhere in the repository.
CheckClean refuses the deploy unless --allow-dirty, naming the layer but not the files.
So the check asks a broader question than the one that matters. A modified Inventory/ file, a stray AGENTS.md, a plan document in progress: none can affect what deploy plans or what a link serves,
and each of them forces the flag.
Wanted
Dirtiness is judged on the paths writ serves: the Home/ directories the segment match admitted for
this deploy (git status --porcelain -- <those dirs>), not the repository root.
The refusal names the dirty files, not only the layer, so the reader can decide whether to commit,
stash, or pass the flag.
an integration test with a fixture layer dirty in Inventory/ and clean in Home/
Related
#843 (the zero-project refusal on the same command line), #850 (the implicit projects), #847 (pinned or
live links — which decides whether the check has anything to guard), #819 (admitted by working tree,
planned from HEAD: the same two-trees split from the other side), #473 (origin records dirty layers).
Activity
test(writ): the layer-journey scenario -- self install, repo set, dep…
David-Noble-at-work commentedon Nov 9, 2026
star github triage sweep added this issue to Triage: devlore, for the rule it breaks:
severity: a Bug whose Severity is blank; a bug is Critical, High, Medium or Low