Skip to content

chore(release): v0.3.0 — reliability, long-running work, replay-safety hardening - #69

Merged
ajianaz merged 3 commits into
mainfrom
chore/release-v030
Sep 12, 2026
Merged

ajianaz merged 3 commits into
mainfrom
chore/release-v030

Conversation

@ajianaz

@ajianaz ajianaz commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

What (description of the change)

Release train v0.3.0 (rebased on the pre-tag hardening batch): version bump 0.2.0 → 0.3.0, full CHANGELOG (Added: --workspace, job_start/job_poll, resume-with-prompt, usage ledger, binary hygiene; Changed: 429 retry classification, no per-step transcript clone; Fixed: risk-derived replay safety, component-based jail validation, JSONL torn-line recovery), publish workflow extended to ship tole-cli after tole-core, CLI pins tole-core 0.3.0.

Why (the problem you're solving)

Real minor-version feature material per house versioning, plus the CodeCora pre-tag full-scan CRITICAL+MAJOR fixes (#68) that had to land before any tag: double-fire of approved Write/Destructive tools on crash-resume, Guarded-resume livelock, Windows jail escape, and permanent session-file bricking from a torn final line.

Testing (how you verified this works)

All required checks green on the CI matrix (including Cargo Audit + Trivy after the security-trigger fix), full workspace tests green at 0.3.0, release binary reports 0.3.0, cargo package dry-runs clean for both crates. Pre-tag cora scan triaged: 1 CRITICAL + 3 MAJOR all fixed in #68 with regression tests; re-review clean.

After merge: tag v0.3.0 ON the main merge commit (owner approval per release protocol), publish workflow fires (core → cli).

ajianaz and others added 3 commits September 12, 2026 14:27
…ecovery (#68)

* chore(release): v0.3.0 — reliability & long-running work

Version bump 0.2.0 -> 0.3.0 (minor: real features per house versioning),
CHANGELOG entries for #57-#66, publish workflow extended to ship
tole-cli (version-pinned core dependency, published after core),
cli manifest pins tole-core 0.3.0.

* fix(ci): run security checks on PRs targeting main too

The main ruleset REQUIRES 'Cargo Audit' and 'Trivy FS Scan', but
security.yml only produced them for PRs targeting develop - release PRs
to main were permanently blocked (the documented impossible-required-
check trap: admin cannot bypass required checks). Align the trigger set
with ci.yml (develop, main).

* fix: harden replay safety, guard resume, jail validation, torn-line recovery

CodeCora full-scan findings triaged pre-tag (1 CRITICAL + 3 MAJOR real):
- turn: derive ReplaySafety from tool risk (CRITICAL #33) - a crash after
  a Write/Destructive effect ran must not blindly re-execute on resume;
  Guarded now forces re-consultation of the approver.
- turn: Guarded resume actually consults the approver and settles the
  intent either way (MAJOR #34) - Allow replays once; deny/absent settles
  the sandwich as failed instead of livelocking every future resume.
- jails: component-based path validation everywhere (MAJOR #6, INFO #12)
  - Windows drive-prefixed/rooted relatives escape via join despite not
  being is_absolute(); substring '..' both misses them and rejects benign
  names. Uniform across WriteFileTool, core file_tools, read_file.
- storage: torn-line accounting (MAJOR #47) - good_bytes counted before
  parse made a newline-terminated invalid final line look consumed; the
  truncation never fired and the next append bricked the session. Now
  counted only after a successful parse; empty lines still counted.
Tests: guarded deny (settles, no livelock), guarded allow (fires exactly
once), full workspace green; fmt/clippy clean; CodeCora diff review clean.

---------

Co-authored-by: ajianaz <[email protected]>
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 4acd43d into main Sep 12, 2026
14 checks passed
@ajianaz
ajianaz deleted the chore/release-v030 branch September 12, 2026 07:31
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