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
Commit 3344f54
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: skills/loopx-self-repair/references/repair-patterns.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,7 @@ teaches a reusable control-plane lesson.
190
190
|`local_release_python_runtime_drift`| A locally promoted release imports under CI's declared Python but the default macOS `python3` exits during CLI startup on a newly added standard-library symbol. |`python3 --version`, default wrapper target, failing import traceback, `pyproject.toml` requirement, changed module imports, candidate doctor under the actual wrapper interpreter. | A new module used a newer convenience alias even though the source-based local wrapper still runs on an older system interpreter, and release validation did not exercise that real default path before promotion. | Prefer an equivalent broadly available standard-library API at the narrow import seam, add a focused timestamp/import regression, run candidate doctor plus the affected product smoke with the actual default interpreter, and only then promote the repaired release. Do not claim broad interpreter support beyond the verified CLI path. |
191
191
|`node_test_python_selector_bypass`| Python-backed Node tests or browser smokes fail under a system Python 3.9 although `uv` prepared a compatible worktree interpreter. |`requires-python`, source checkout/active venv, selected child argv and `sys.executable`, bare `python3` fallbacks, and the test runner's environment. | JS/TS subprocess callers independently selected `python3` from PATH instead of the source checkout's Python discovery contract. | Resolve one checked Python 3.11+ interpreter for test subprocesses, honoring explicit overrides and the active/worktree environment before system discovery; fail with an actionable setup hint when none exists. Cover 3.9 rejection, worktree precedence, native Windows discovery, source import provenance, and a static guard against new bare-`python3` test subprocesses. Do not rewrite historical validation receipts or change product runtime interpreter authority. |
192
192
|`heartbeat_prompt_error_projection_gap`|`loopx heartbeat-prompt --help` succeeds, but an invalid generation command exits 1 while markdown shows a copyable empty task body and `Generator Inputs` fields such as `active_state`, `thin`, `agent_id`, or `agent_scopes` as `None`. | failing markdown output, `--format json` payload, CLI handler exception branch, active-state lookup inputs, agent identity arguments. | The command caught generation errors into a minimal `{ok:false,error}` payload and then reused the success markdown renderer, which made an error look like a generated blank automation. | Build a heartbeat-prompt error payload that preserves requested inputs, render a distinct error page with no copyable task-body fence, and cover markdown plus JSON failure output with a focused smoke. |
193
+
|`quota_failure_presentation_runtime_reentry`|`quota status` or `quota plan` catches a host/runtime failure, then throws again while compacting the failure report; `--turn-envelope` can also hide the original recovery in Markdown. | Original typed error, CLI failure payload, projection RPC count, JSON/Markdown readback, locator and registry bytes before/after, permission-restored retry. | Optional success presentation reentered the unavailable runtime after the command had already decided its failure. | Preserve failed quota payloads before optional runtime-backed projection and render their existing command diagnostic. Cover one denied connection, bounded locator retries, no dispatch or replacement process, original recovery/receipt, both output formats and envelope modes, and recovery without changing permission policy. |
193
194
|`shell_pr_comment_command_substitution`| A PR comment, issue body, or review body is posted with shell command substitution artifacts because Markdown backticks were passed through a double-quoted `gh ... --body "..."` argument. | shell command used for the PR/comment operation, rendered public comment body, recent agent transcript, and PR review/comment hygiene instructions. | Agent treated Markdown as inert text inside a shell string; the shell evaluated backticks before `gh` received the body. | Do not pass Markdown-rich bodies through double-quoted shell arguments. Use a single-quoted body when safe, stdin or `--body-file` for multiline text, or a GitHub connector/API call that bypasses shell interpolation; add a smoke or checklist item when the workflow recurs. |
194
195
|`external_delivery_clock_override`| A caller can move an external send into or out of a configured delivery window by supplying an artifact timestamp such as `--generated-at`. | execute-path CLI arguments, sink window decision input, current invocation time, focused zero-provider-call smoke. | One caller-controlled timestamp was reused for both reproducible artifact metadata and runtime delivery authorization. | Keep artifact time and execution-observation time separate. Bind live CLI delivery decisions to a trusted invocation clock, expose any injected clock only as an internal test seam, and prove that an in-window artifact timestamp cannot override an out-of-window execution observation. |
195
196
|`reviewer_notification_semantic_dedupe_gap`| A reviewer was already tagged by a clear public review-request comment, but a later automated fallback posts another comment because the earlier message lacks the current idempotency marker or uses different handle casing. | live PR comments, normalized selected reviewer, request/comment write calls, marker receipts, reviewer-request packet. | Idempotency recognized only system-authored markers and ignored older or human-authored explicit review-request evidence. | Keep marker matching as the fast path, then recognize only bounded, direct review-request language near a normalized reviewer mention; ignore quotes, code, ordinary discussion, and weak mentions. Return the existing public comment URL and perform zero writes. |
0 commit comments