Skip to content

Add low-noise team observability and harden the runtime - #13

Merged
tomastaker merged 1 commit into
mainfrom
codex/delegate-kit-v2-observability
Sep 16, 2026
Merged

tomastaker merged 1 commit into
mainfrom
codex/delegate-kit-v2-observability

Conversation

@tomastaker

Copy link
Copy Markdown
Owner

Summary

  • add default low-noise team status reporting with compact watch output and traffic-light state icons
  • keep detailed diagnostic output available through watch --full while suppressing unchanged roster spam
  • improve worker-count guidance so independent work scales for quality and elapsed time within explicit limits
  • harden cross-runtime worktree ownership, interrupted child launches, resume races, and legacy migration
  • add regression coverage for observability, lock publication windows, recovery, ownership, and migration edge cases

Validation

  • node --test tests/*.test.mjs (105 passed)
  • bash tests/caps.sh (67 passed)
  • bash tests/route.sh (105 passed)
  • bash tests/delivery.sh (25 passed)
  • bash tests/gate.sh (30 passed)
  • bash tests/inspect.sh (13 passed)
  • CI-parity syntax, shellcheck, schema, package-size, preset, and relocated-runtime checks
  • independent Astra review completed with no remaining findings

@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: c53e41f8-6018-46ef-b123-7babd5298a98


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T21:59:34.634550Z 7089433 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tomastaker
tomastaker merged commit bbeb13a into main Sep 16, 2026
4 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7089433b6f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

// Burn attempt budget before any dispatchable metadata is published. A
// crash may conservatively consume an attempt, but can never create an
// uncounted prepared run that launch would accept.
for (const m of rows) m.budget = budget({ stateDir: home(), task: m.budget_task, record: true, limits: caps });

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Validate writer leases before charging the run budget

When a writer worktree is already leased, this loop increments the task's run counter before reserveWriter discovers the conflict. The failed prepare creates no run metadata, but with --max-runs 1 a user who removes the conflicting lease and retries is rejected because the sole attempt was silently consumed. Check/reserve the writer lease before recording the budget, while retaining rollback or crash-safe ordering.

Useful? React with 👍 / 👎.

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