Skip to content

fix(runner): port Carbon District runner fixes onto current main - #27

Merged
zeekay merged 1 commit into
mainfrom
fix/cd-gen-fixes
Nov 29, 2026
Merged

zeekay merged 1 commit into
mainfrom
fix/cd-gen-fixes

Conversation

@zeekay

@zeekay zeekay commented Nov 29, 2026

Copy link
Copy Markdown
Member

§3.4 / §3.7 / §3.8 / Q10 Carbon District fixes, rebased and ported onto the refactored runner code.

  • §3.4: --skip-git-repo-check for scratch/non-git folders.
  • §3.7: single re-fetch before folder_not_granted (one GET per cache miss).
  • §3.8: dev + git stderr tails surfaced in session errors (credential-scrubbed).
  • Q10: GIT_CONFIG_* HTTPS bearer and deployKey/knownHosts clone support.
  • AGENTS.md SHA-256 reported on target register + heartbeat.

Preserves upstream's read-only OS guard, broader redact_git_detail, and claim-timing tests while retaining all CD behavior and tests.

Validated: cargo test --lib 446/446 pass; cargo clippy --lib --tests clean; no conflict markers.

Reapply the CD fixes on top of upstream's refactored runner, target heartbeat, and dev sandbox code:

- per-run sandbox override and readOnly clamp (Spec/RoutedRun/lifecycle)
- --skip-git-repo-check for scratch/non-git folders
- one folder re-fetch before folder_not_granted
- dev+git stderr tails surfaced in session errors and reports
- HTTPS forge bearer auth via GIT_CONFIG_* and deployKey/knownHosts clone support
- AGENTS.md SHA-256 on target register/heartbeat

Adapted to upstream's read_only OS guard, Register body, and claim timing tests.
Verified: cargo test --lib (446 passed, 0 failed); cargo clippy --lib --tests clean.

Signed-off-by: Zach Kelling <z@zeekay.io>

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
@zeekay
zeekay merged commit 7053144 into main Nov 29, 2026
4 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