Skip to content

Hadron v0.33.73

Choose a tag to compare

@github-actions github-actions released this 05 Dec 07:18
· 29 commits to main since this release

Added

  • Danger Color Token Merge-Gate Guard (hadron-gatekeeper):
    • Added Danger Color Token Guard (strip_line_comments_and_strings, has_prod_danger_token_call, is_danger_token_exempt_path) in InvariantLinter::lint_diff flagging added production theme::danger() calls in crates/hadron-chamber/src/ outside app/widgets.rs and theme.rs while skipping #[cfg(test)], comments, char literals, and string literals (crates/hadron-gatekeeper/src/invariant_linter.rs).

Changed

  • Theme-Aligned Error & Git Status Colors and Off-Thread Base Branch Detection (hadron-chamber):
    • Replaced leaked window-close theme::danger() (#ef4444) and hardcoded theme::halo_error() across the Stats Swarm Eval & Health card (eval_health_level_color), red gate-triage Abandon button, and Settings > Secrets unavailable badge with theme-adaptive theme::error(), and replaced hardcoded hex constants in app/render/git.rs with branch_status_color() and diff_stat_colors() backed by theme::success(), theme::error(), and theme::text_muted() (crates/hadron-chamber/src/app/render/{stats,chat,git}.rs, crates/hadron-chamber/src/app/settings/secrets.rs, crates/hadron-chamber/src/theme.rs).
    • Resolved repository base branch off-thread via WorkspaceScan::gather (resolve_base_branch / hadron_gluon::worktree::default_branch), cached Chamber.git_base_branch (defaulting to "main" on Selector/WSL startup), and eliminated hardcoded "main" across reload.rs, render/{git,diff_inspector,terminal}.rs, and actions.rs (crates/hadron-chamber/src/app/).

Fixed

  • /prune Stale-Branch Reconciliation, /unabandon Restoration & Slash-Command Hardening (hadron-chamber):
    • Reconciled /prune (PruneMode / parse_prune_args / prune_worktrees_and_branches) with Git > Branches: excludes live checked-out worktree branches, runs git worktree prune on confirm, classifies remaining quark/* branches into merged (-d), git cherry-proven patch-equivalent (requiring explicit /prune confirm --patch-equivalent with verified refs/tags/<tag>^{commit} == sha archive-tag proof before -D), and spared unmerged stale branches with /abandon guidance; added is_safe_git_ref guards to list_branches and list_remote_branches (crates/hadron-chamber/src/vcs.rs, crates/hadron-chamber/src/app/actions.rs, crates/hadron-chamber/src/text.rs, docs/commands.md).
    • Fixed /unabandon double quark/quark-* prefixing (resolve_unabandon_branch_name preserving wip-<ULID> segments and strip_prefix("archive/") with is_safe_git_ref validation), rejected unknown /clear flags, stamped Event.skill via post_skill_command_message for /review (reviewing-work) / /goal / /team-review / /bakeoff, bounded /pr's gh execution via hadron_forge::exec::run_bounded (30s timeout, null stdin), fixed /nucleus search markdown links ([slug](notes/slug.md)), wired real git log --numstat file counts and %an authors into /timelapse, made /doctor report real active font config (doctor_body_with_fonts), and made /intercom report its local software queue truthfully (crates/hadron-chamber/src/{vcs,text}.rs, crates/hadron-chamber/src/app/actions.rs).
  • Single-Target Preamble Isolation in Skill Routing (hadron-gluon):
    • Updated extract_target_segment to isolate a single resolved @target clause starting at a line beginning after a non-empty preamble (e.g. orchestrator report followed by \n@worker ...) so preamble prose cannot hijack single-worker skill selection while preserving full-body evaluation for inline mentions, and cleaned up a stale TODO comment in cli.rs (crates/hadron-gluon/src/router/{mod,tests}.rs, crates/hadron-gluon/src/cli.rs).