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
docs: the Git mask-target record says only the installer creates them, but the server prepares them live #4470
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: docsThe docs/ tree and the README / AGENTS / CONTRIBUTING surfaces.priority: p3Someday. Needs a driving use case before it starts.type: docsDocumentation only.
Part of #4426 (follow-ups from #4278). Deferred from the final review of PR #4444.
Context
docs/decisions/governed-writable-workers.md:2853-2859 says that originally absent mask targets "are created only by the owned first-party installer". The server also creates them:
Before each maintenance checkpoint: the server creates them in the live .git (prepareMaintenanceGitTargets, packages/ui-server/src/brain/maintenance-git.ts:124-151). This includes operations that publish nothing, such as the storage-removal review (packages/ui-server/src/storage/removal-facts.ts:12-14).
During governed admission:resolveWorkerProtection creates them too (packages/ui-sdk/src/server/worker-launcher.ts:1061).
Main's status made the same directories live before the epic, so the record was already inaccurate there.
Scope
Amend the record only; no code change. The amendment should state that:
the server prepares the three empty targets live, as their owner, before the checkpoint;
the installer's scaffold path and live-absence check apply only to targets still absent from the checkpoint.
Acceptance criteria
The record names both creators and when each applies.
The record states that a publish:false operation may leave the three empty directories in the live .git, and why that is accepted.
Code citations in the amended paragraph hold under bun scripts/check-citations.ts.
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: docsThe docs/ tree and the README / AGENTS / CONTRIBUTING surfaces.priority: p3Someday. Needs a driving use case before it starts.type: docsDocumentation only.
Activity