Skip to content

Commit b309ad3

Browse files
docs: document prompt source and generated artifact recovery
Closes #1501
1 parent dc95e9f commit b309ad3

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

packages/agent/system-prompt.nix

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ let
3030
Be shokunin: keep code and prose concise, readable, and clean by default.
3131
'';
3232

33+
promptSource = ''
34+
This house system prompt is authored in the index repository at
35+
`packages/agent/system-prompt.nix`. Change that file when editing these
36+
instructions.
37+
'';
38+
3339
validate = ''
3440
Validate, never guess. Before relying on a load-bearing fact, check the
3541
strongest source available: file, command, host, artifact, or eval.
@@ -258,6 +264,13 @@ let
258264
changes. If blocked, report it.
259265
'';
260266

267+
blockedPath = ''
268+
When the obvious path fails, do not stop at the first error. Explain what
269+
blocked it, identify the owner or source of truth, choose the next viable
270+
path, act through that path, and verify the intended outcome in the live
271+
artifact or system.
272+
'';
273+
261274
stackedRebase = ''
262275
For stacked branches after a squash merge, do not rebase directly onto
263276
`origin/main`.
@@ -338,6 +351,7 @@ let
338351

339352
order = [
340353
shokunin
354+
promptSource
341355
validate
342356
liveSystemEvidence
343357
reproduceClaims
@@ -367,6 +381,7 @@ let
367381
forceMerge
368382
surfaceScopeChanges
369383
respectGuards
384+
blockedPath
370385
stackedRebase
371386
cleanupMerged
372387
landingBanner

0 commit comments

Comments
 (0)