Skip to content

v3.1.2

Choose a tag to compare

@github-actions github-actions released this 17 Sep 23:31
· 1 commit to main since this release

Added

  • Session-start lean lifecycle — rai session open composite call replaces the manual check sequence; ensure_session_lifecycle auto-upgrade restored; orientation ledger wired to session start.
  • rai scm pre-review — pre-submission SCM review command that validates branch state before MR creation.
  • Truthful execution — agent execution correctness improvements; false-positive execution claims eliminated.
  • Gate skip signal quality — gate skip events now carry structured skip-reason signals; coverage gaps in skip-acceptance path closed.
  • Portfolio freshness detector — rai session open evaluates freshness of all portfolio cartridges at startup, not just the primary one.

Fixed

  • MCP envelope status propagation — MCP tool responses defer to payload status field instead of unconditionally reporting success.
  • Session worktree resolved by newest lease — cwd-binding lease read routes through SqliteLeaseStore ordering by newest heartbeat; stale leases no longer shadow the active worktree.
  • rai scm merge-mr no SCM default — falls back correctly when no SCM adapter is configured.
  • Story-close merges itself — self-merge guard prevents a story branch from being merged into itself when branch names collide.
  • find_epic_scope_file wrong epic — scopes file lookup to the correct epic directory instead of the first match.
  • Fanout snapshot frozen — pipeline fanout no longer uses a stale snapshot after force_refetch; scope re-parsed on advance.
  • MCP is_error false positive — is_error field in MCP envelope no longer triggers false-positive error detection on successful tool responses.
  • Jira transition fallback state name — transition by state name falls back to case-insensitive match when exact match fails.
  • Artifact emit MCP-only — raise_artifact_emit now correctly routes through MCP tool path; CLI fallback removed.
  • Ledger stale on retry — ledger entries are refreshed on pipeline retry; stale cost data no longer accumulates.
  • foreach-child-skill-loss — foreach phase no longer loses child skill reference after the first iteration.
  • Graph semantic search degraded — embedding index rebuilt correctly after graph prune; semantic search restored.
  • Graph depth-expand crash — --depth N expansion no longer panics on nodes with missing edge targets.
  • Backlog bug nodes missing fields — bug-type nodes now include all required fields in the graph index.
  • Graph build orphan nodes — orphan nodes pruned correctly on incremental rai graph build.
  • Fleet dispatch tier resolution — fleet subagent dispatch resolves the correct tier from manifest instead of defaulting to community.
  • ADR SCM status hygiene — rai scm status no longer writes ADR entries for non-SCM operations.
  • Kimi model routing — Kimi runtime routes to the correct model endpoint; provider map lookup fixed.
  • Governance trail CI — regression tests added for governance-trail gate path.
  • Merge signal surface — rai session open surfaces pending merge signals in the drift check output.
  • Squash-abort restore corruption — squash-abort no longer corrupts the working tree when restore fails mid-operation.
  • Gate catalog regenerated — gate catalog refreshed; stale gate violations resolved.
  • 10 additional bugfixes and reliability improvements.