autoloop/20260425T032158Z/w1/3 3.f goncho configuration namespace - #15
Closed
XelHaku wants to merge 6 commits into
Closed
autoloop/20260425T032158Z/w1/3 3.f goncho configuration namespace#15XelHaku wants to merge 6 commits into
XelHaku wants to merge 6 commits into
Conversation
XelHaku
commented
Apr 25, 2026
Collaborator
- test(progress): assert SaveProgress idempotency on real progress.json
- fix(autoloop): self-heal landed worker follow-ups
- landing: tighten serious hierarchy
- feat(autoloop): per-run health accumulator
- fix(site): align footer template with landing content
- fix(config): add goncho namespace
Collaborator
Author
|
Closed as superseded by rescue PR #42. Useful work was rescued into main; remaining differences are patch-id drift or unrelated branch-base noise. |
XelHaku
deleted the
autoloop/20260425T032158Z/w1/3-3.f-goncho-configuration-namespace
branch
April 25, 2026 08:15
XelHaku
added a commit
that referenced
this pull request
Apr 25, 2026
Implements items #4, #7, #14, #15 from docs/cmd-loops-improvements.md plus a partial #12 (parser errors map to exit code 2; richer codes for backend timeout / verify failure are deferred until internal packages emit semantic errors). #4 — Graceful shutdown: * main() wraps context.Background() with signal.NotifyContext for SIGINT/SIGTERM; the context is plumbed through run, runAutoloop, builderloop.RunOnce, plannerloop.RunOnce, and the service install paths. systemd's TimeoutStopSec now gives the backend a clean cancellation chance instead of jumping straight to SIGKILL. #7 — Keywords in planner summary: * printRunSummary echoes "keywords: <values>" when any are set so operators can confirm topical-focus mode actually engaged. #14 — --repo-root / REPO_ROOT: * Both binaries accept --repo-root <path> anywhere in argv (consumed before subcommand dispatch) and fall back to REPO_ROOT then os.Getwd. systemd units no longer have to rely on WorkingDirectory= alignment to operate. #15 — digest --output clobber guard: * Replaced os.WriteFile (silent overwrite) with O_CREATE|O_EXCL. --force opts back into truncate-and-overwrite. Default protects against fat-fingered paths like '--output README.md'. #12 (partial) — Parser errors → exit 2: * Introduced errParse sentinel in each binary. main() maps errors.Is(err, errParse) to os.Exit(2); everything else still exits 1. Future work: tag config errors / no-candidates / backend timeout / verify-failed once the internal packages surface them distinctly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.