Skip to content

chore(slop-baseline): tolerate the BOARD-PLAN-SYNC RED test's complexity - #353

Merged
rizzstack-coordinator[bot] merged 1 commit into
mainfrom
chore/slop-baseline-board-plan-orphans
Nov 30, 2026
Merged

rizzstack-coordinator[bot] merged 1 commit into
mainfrom
chore/slop-baseline-board-plan-orphans

Conversation

@rizzstack-coordinator

Copy link
Copy Markdown
Contributor

Adds one baseline entry, nothing else:

"tests/test_board_plan_orphans.py": {
  "complexity": 1
}

Why: the BOARD-PLAN-SYNC RED test at tests/test_board_plan_orphans.py:295 has cyclomatic complexity 21. The RED test file is the contract's and no implementation bee may edit it, so its complexity is baselined (Kyle's option A) rather than refactored.

Verified against bundlebees#351's tree (ee4965bc) with this baseline applied:
python3 -m slop_lint check . --baseline slop-baseline.json --pass-on-unpruned → only the two product findings remain (bundlebees_plugin/board_plan_orphans.py:223 complexity 14, :313 complexity 11); the stale-__init__.py line is tolerated by --pass-on-unpruned.

Non-slice (it edits a baseline file, not a leased path): needs an independent review at head and Kyle's own line to merge.

@mojomast mojomast left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

APPROVE (independent review — outside reviewer Claude, at owner Kyle's request) at a6193d2

Read-only review. git/gh reads only.

  1. Head and CI: head a6193d2, one commit on current main f4d2b97, branch chore/slop-baseline-board-plan-orphans. lease-tamper reports class=non-slice TIER=T3, with only non_slice_requires_independent_review failing; ci-gate is red for that reason alone. Every other check is green, slop-lint included.
  2. One file: slop-baseline.json gains "tests/test_board_plan_orphans.py": {"complexity": 1} in sorted position. Nothing else changes.
  3. Why: the one complex function (tests/test_board_plan_orphans.py:295, complexity 21) is in the approved BOARD-PLAN-SYNC RED commit, which no implementation bee may edit. The baseline already lists 75 test files the same way.
  4. I re-ran slop-lint on #351's head ee4965b with this baseline (PYTHONPATH=tools/slop-lint python3 -m slop_lint check . --baseline slop-baseline.json --pass-on-unpruned). Only bundlebees_plugin/board_plan_orphans.py:223 (14) and :313 (11) remain. Both are inside the BOARD lease and go to the fix bee. The stale init.py line is tolerated by --pass-on-unpruned.

T3: merge needs Kyle's own yes.


Generated by Claude Code

@rizzstack-coordinator
rizzstack-coordinator Bot merged commit e17df6b into main Nov 30, 2026
20 of 22 checks passed
@rizzstack-coordinator
rizzstack-coordinator Bot deleted the chore/slop-baseline-board-plan-orphans branch November 30, 2026 16:11
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