Skip to content

fix(agents): put the no-owner-waits and finish-your-work rules in the rulebook - #12265

Merged
dezren39 merged 2 commits into
mainfrom
claude/flow-fixes-2
Nov 22, 2026
Merged

dezren39 merged 2 commits into
mainfrom
claude/flow-fixes-2

Conversation

@dezren39

@dezren39 dezren39 commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

What this does

On 2026-11-22 the main queue held 0 queued tasks and 595 blocked ones. Two of the causes were rules no agent reads on every run.

  • Nothing waits on the owner. AGENTS.md never mentioned FDR-0013, and 130 tasks sat parked on him. It now carries the rule and points at the skill.
  • Finish your work. 108 open issues carried status:in-review with every pull request merged, and other tasks waited on them as open blockers. AGENTS.md now says a completing PR says Closes #N, and after a merge the issue is closed or its remainder noted.
  • The testing doctrine's full text moves to doc/agents/testing-doctrine.md to make room. AGENTS.md is 7,870 of 8,000 bytes.
  • Benchmark real graph encoding and storage candidates #10219's done check works again. The formatter re-padded the committed bake-off table, so the validator's exact-text comparison failed on main. It now compares cells. Tests added, and the nightly scripts workflow runs both the tests and --check-committed.

How it was checked

  • python3 -I scripts/research_workflow.py check --repo-root . → ok.
  • python3 -I -m unittest discover -s doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph -p 'test_validate_real_encoding_bakeoff.py' → 5 passed. One test changes a single cell in a copy of the report and expects a refusal.
  • validate_real_encoding_bakeoff.py --check-committed fails on main and passes here.

Generated by Claude Code


Run Proof on this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

… rulebook

The fleet's main queue held 0 queued and 595 blocked tasks on
2026-11-22. Two causes were not written anywhere an agent reads on
every run:

- AGENTS.md never mentioned FDR-0013, so 130 tasks sat parked on the
  owner. It now says: decide, record, continue; only a hands item waits.
- Merged work was not closed. 108 open issues carried status:in-review
  with every pull request merged, and tasks waited on them as open
  blockers. AGENTS.md now says a completing PR says "Closes #N" and the
  issue is closed, or its remainder noted, after the merge.

The testing doctrine moves to doc/agents/testing-doctrine.md to make
room; AGENTS.md is 7,870 of 8,000 bytes.

Also fixes the #10219 done check: the formatter re-padded the committed
bake-off table, so the validator's exact-text comparison failed on main.
It now compares cells, with tests, and the nightly scripts workflow runs
it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
@dezren39
dezren39 requested a review from a team as a code owner November 22, 2026 00:39
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 4 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b00add3d-4ae9-4865-8579-b8143354a49b
Commits

Reviewing files that changed from the base of the PR and between d26fa16 and b38d430.

Files selected for processing: 5

  • .github/workflows/scripts-test.yml
  • AGENTS.md
  • doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/test_validate_real_encoding_bakeoff.py
  • doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/validate_real_encoding_bakeoff.py
  • doc/agents/testing-doctrine.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T00:50:50.403090Z b38d430 New commits
ℹ️ 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.

@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: 6fc9d9b616

ℹ️ 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".

Comment on lines +34 to +35
def test_padding_rule_width_and_blank_lines_do_not_change_the_cells(self) -> None:
self.assertEqual(bakeoff.table_cells(TIGHT), bakeoff.table_cells(PADDED))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Cover table-normalization invariants with property-based tests

The new parser explicitly promises invariance under cell padding, separator width, and blank lines, but this test checks only two hand-written layouts. The testing doctrine in AGENTS.md requires property-based coverage for code with invariants; its linked full text specifically includes parsers and says example tests do not replace PBT. Add generated layout variations that must preserve the expected cells, retaining these examples as smoke coverage.

AGENTS.md reference: AGENTS.md:L37-L39

Useful? React with 👍 / 👎.

Seeded generator tests (stdlib only): any layout of a cell matrix parses
back to the matrix, two layouts of one table compare equal, and changing
any one cell is always a difference. Adds a refusal test for a changed
leader line. Review finding on #12265.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
@dezren39
dezren39 merged commit ecd7891 into main Nov 22, 2026
1 check passed
@dezren39
dezren39 deleted the claude/flow-fixes-2 branch November 22, 2026 00:49
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.

2 participants