Skip to content

refactor: retarget onto consensus-hardening-protocol; adopt spec §5.3 floors - #3

Merged
icohangar-ops merged 1 commit into
mainfrom
retarget-chp-package
Oct 6, 2026
Merged

icohangar-ops merged 1 commit into
mainfrom
retarget-chp-package

Conversation

@icohangar-ops

Copy link
Copy Markdown
Owner

Drops the vendored src/cme/chp (pre-spec, hardcoded foundation floor 70) for the published consensus-hardening-protocol.

Why tests changed: the preliminary session scores a builder heuristic (capped at 92) before any agent runs, so under the spec's floor of 100 for capital_allocation/board_decision it now REFRAMEs. The hardening gate already scores the produced artifact out of 100 and refuses sub-floor sessions, so CFOSessionReport now carries that authoritative status, score, verdict and packet.

  • A session with a named confirmer reports LOCKED (was PROVISIONAL_LOCK); visible to callers reading report.case.status
  • Two-step lock test runs with the human-lock flag off
  • Builder-alone capital flow asserts REFRAME with no packet
  • 41/41 in a clean venv on PyPI 0.1.1; rebased onto current main

🤖 Generated with Weave Router

… floors

Drop the vendored src/cme/chp (pre-spec; hardcoded foundation floor 70) for the
published package. The preliminary session scores a builder heuristic (capped
at 92) before any agent runs, so under the 100 floor for capital_allocation and
board_decision it now REFRAMEs. The hardening gate already assesses the
produced artifact out of 100 and refuses sub-floor sessions, so the report now
carries that authoritative status, score, verdict and packet.

Tests rewritten to match: a confirmer-locked session reports LOCKED; the
two-step flow runs with the human-lock flag off; the builder-alone capital
flow asserts REFRAME with no packet. 41/41 in a clean venv on PyPI 0.1.1.

Co-Authored-By: Weave Router <router@workweave.ai>

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Oct 6, 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: 0643364d-c6e7-4f44-bb9f-9070e1402675
  • Autopilot · 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

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

@cursor cursor 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.

Approved. Cursor Bugbot was not present after the first check poll, so that signal was skipped; no applicable approval policy required human review, and this automation had no prior approval to keep or dismiss. No reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@icohangar-ops
icohangar-ops merged commit 24d2f33 into main Oct 6, 2026
7 checks passed
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