Skip to content

fix(hooks): refresh checkpoint evaluator and devcontainer - #13

Merged
lusoris merged 1 commit into
mainfrom
fix/checkpoint-asset-refresh
Oct 22, 2026
Merged

lusoris merged 1 commit into
mainfrom
fix/checkpoint-asset-refresh

Conversation

@lusoris

@lusoris lusoris commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

The engine on PATH (8dacd54b1) passes --prepare-session to the adopted .config/lefthook/scripts/checkpoint.py. The copy here predated it, so every Stop with a session id ended rc 2 on unrecognized arguments: --prepare-session; the same engine pins the devcontainer Go feature, so pre-commit refused every commit (DevContainer out of sync).

  • checkpoint.py and common.py now hold the engine's rendering (same bytes praetorctl adopt --lock-source-root=<engine checkout> writes).
  • The devcontainer bundle is regenerated with praetorctl devcontainer generate --source-root <engine checkout at 8dacd54b1> --force (Go feature with installGoTools false, version from go.mod).

Engine order: engine-stop-hook-prepare-session-skew-20261022.

…dacd54b1

The PATH engine at 8dacd54b1 passes --prepare-session to the adopted
checkpoint.py; the copy here predated it, so every Stop with a
session_id ended rc 2 on 'unrecognized arguments: --prepare-session'.
checkpoint.py and common.py now hold the engine's rendering.

The same engine pins the devcontainer Go feature (installGoTools false,
version from go.mod), so the recorded bundle no longer matched and
pre-commit refused every commit; the bundle is regenerated with
praetorctl devcontainer generate --source-root (engine checkout at
8dacd54b1) --force.

Engine order engine-stop-hook-prepare-session-skew-20261022.

Signed-off-by: lusoris <lusoris@proton.me>
@lusoris
lusoris merged commit ef5418f into main Oct 22, 2026
3 checks passed
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