Skip to content

autoloop/20260425T032158Z/w1/3 3.f goncho configuration namespace - #15

Closed
XelHaku wants to merge 6 commits into
mainfrom
autoloop/20260425T032158Z/w1/3-3.f-goncho-configuration-namespace
Closed

autoloop/20260425T032158Z/w1/3 3.f goncho configuration namespace#15
XelHaku wants to merge 6 commits into
mainfrom
autoloop/20260425T032158Z/w1/3-3.f-goncho-configuration-namespace

Conversation

@XelHaku

@XelHaku XelHaku commented Apr 25, 2026

Copy link
Copy Markdown
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

@XelHaku

XelHaku commented Apr 25, 2026

Copy link
Copy Markdown
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 XelHaku closed this Apr 25, 2026
@XelHaku
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant