Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

fix(GBRA-130): public categories and runbook rows for the page_write_failed and file_unreadable hold codes

garrytan9d73025e9fd2
diff --git a/docs/guides/sync-unblock-runbook.md b/docs/guides/sync-unblock-runbook.md
index 276ca5b1ba..7d04b735f6 100644
--- a/docs/guides/sync-unblock-runbook.md
+++ b/docs/guides/sync-unblock-runbook.md
@@ -131,6 +131,8 @@ Every hold and error has three fields, from one table
| `write_gate_rejected` | page | none | yes | always: write_gate.external_mode=reject is the user's setting |
| `legacy_slug_conflict` | page | none | yes | always: only a person decides which legacy page the file takes over |
| `settle_mismatch` | page | none | yes | always: the pass cannot tell why the path does not settle |
+| `page_write_failed` | page | upgrade | yes | always: the writer cannot place the failure |
+| `file_unreadable` | page | none | yes | always: only a change to the checkout makes the file readable |
| `origin_conflict` | page | repair | no | the hold carries a reason (the pages differ, ids conflict or none is the page the path names), or the heal is off |
| `origin_conflict_decision` | page | none | yes | always: the pages differ, their ids conflict or none is the page the path names |
| `revision_conflict` | page | retry | no | the same path fails again after a rerun |
diff --git a/llms-full.txt b/llms-full.txt
index c6464dfc94..4ca2a3c94f 100644
--- a/llms-full.txt
+++ b/llms-full.txt
@@ -7536,6 +7536,8 @@ Every hold and error has three fields, from one table
| `write_gate_rejected` | page | none | yes | always: write_gate.external_mode=reject is the user's setting |
| `legacy_slug_conflict` | page | none | yes | always: only a person decides which legacy page the file takes over |
| `settle_mismatch` | page | none | yes | always: the pass cannot tell why the path does not settle |
+| `page_write_failed` | page | upgrade | yes | always: the writer cannot place the failure |
+| `file_unreadable` | page | none | yes | always: only a change to the checkout makes the file readable |
| `origin_conflict` | page | repair | no | the hold carries a reason (the pages differ, ids conflict or none is the page the path names), or the heal is off |
| `origin_conflict_decision` | page | none | yes | always: the pages differ, their ids conflict or none is the page the path names |
| `revision_conflict` | page | retry | no | the same path fails again after a rerun |
diff --git a/src/core/persistence/public-category.ts b/src/core/persistence/public-category.ts
index 0710642451..3f46240031 100644
--- a/src/core/persistence/public-category.ts
+++ b/src/core/persistence/public-category.ts
@@ -35,10 +35,10 @@ export const PUBLIC_BY_TERMINAL: Readonly<Record<TerminalCategory, PublicCategor
export const PUBLIC_BY_CODE: Readonly<Record<string, PublicCategory>> = {
worktree_dirty: 'drift', file_drift: 'drift', source_changed: 'drift', pinned_git_worktree_conflict: 'drift',
concurrent_write: 'conflict', revision_conflict: 'conflict', page_identity_changed: 'conflict', legacy_slug_conflict: 'conflict', origin_conflict: 'conflict', origin_conflict_decision: 'conflict',
- settle_mismatch: 'defect',
+ settle_mismatch: 'defect', page_write_failed: 'defect',
invalid_fence: 'content_refused', invalid_frontmatter: 'content_refused', frontmatter_slug_conflict: 'content_refused', rename_held: 'content_refused',
file_too_large: 'content_refused', content_rejected: 'content_refused', managed_image_sync_unsupported: 'content_refused',
- purged_content: 'content_refused', write_gate_rejected: 'content_refused',
+ purged_content: 'content_refused', write_gate_rejected: 'content_refused', file_unreadable: 'content_refused',
file_database_drift: 'drift', raw_file_changed: 'drift', pending_import: 'transient',
source_binding_changed: 'config', unsafe_file_target: 'config',
canonical_file_missing: 'file_missing',