fix(governance): replace hard-coded deal value readiness gate - #641
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe sales-readiness CLI no longer fabricates a KRW 2B contract value. Validators accept omitted deal values, and a public ChangesAcquisition readiness
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant CLIParser
participant run_sales_readiness
participant ReadinessValidators
CLIParser->>run_sales_readiness: parse --require-acquisition-readiness
run_sales_readiness->>ReadinessValidators: enable 20B product evidence without contract value
ReadinessValidators-->>run_sales_readiness: return evidence validation results
Possibly related issues
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
@opencode-agent address Exact RED is now proven; this is the bounded implementation handoff for issue #636 / Draft #641. Immediately before any write, refetch #641 exact head, protected Exact fail-first evidence: CI run Implement the minimum GREEN without weakening existing readiness evidence:
Do not touch canonical docs #604, dependencies/workflows, psychometric numerical code, provider credentials, package version/release or hosted CRM/valuation services. |
|
@jules address Fallback sole branch writer for exact Draft #641 head Preserve the proven RED boundary and implement the smallest acquisition-readiness correction from #636 without weakening evidence gates: make generic acquisition readiness price-neutral, make Run the focused acquisition-readiness tests plus existing sales-readiness/buyer/procurement/release-index/PR-queue/Figma contracts, then full applicable tests. Add beginner-readable migration/doctoring and an authoritative changelog fragment only after product GREEN, deterministically render/check |
|
@opencode-agent address Fresh maintainer-loop takeover for exact Draft #641 head The production-boundary RED remains exact: CI Implement the minimum GREEN without weakening evidence gates: add a truthful generic acquisition-readiness profile; make Run the new contract together with all existing sales-readiness/buyer/procurement/release/queue/Figma tests, then meaningful changed-production statement/branch/docstring coverage and complete applicable Python/Rust/PyO3/package/GPU/fuzz/Security/SAST on one unchanged head. Add bounded migration/doctoring/changelog material and render/check managed |
|
@opencode-agent address Fresh current-main reconciliation + GREEN handoff for Draft #641. The previous handoff was explicitly bound to protected Fresh compare is Then implement the minimum #636 GREEN without weakening any evidence gate: generic acquisition-readiness profile; optional |
…l value Stop defaulting sales readiness to KRW 2B, expose a truthful --require-acquisition-readiness gate, and keep optional contract values caller-supplied only.
3919471 to
2f2145a
Compare
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/doctoring/acquisition_readiness_gate.md`:
- Line 5: Update the citation in the acquisition readiness gate documentation to
include a stable source link and a brief summary describing the Standards’ scope
and relevance to the gate. Preserve the full citation and follow the repository
guidance for linking the source, using a PDF when redistribution is permissible
or otherwise providing the citation and link.
In `@scripts/sales_readiness.py`:
- Around line 1365-1367: Replace the conversion in
scripts/sales_readiness.py:1365-1367 with a distinct generic
acquisition-readiness profile that activates all required generic validators
without 20B pricing or legacy file/token requirements; update manifest
generation at scripts/sales_readiness.py:1456-1467 to record generic readiness,
legacy compatibility mode, and optional transaction scenario separately, and
mark or remove the deprecated --require-20b-product option at
scripts/sales_readiness.py:1507-1514. Extend
tests/test_acquisition_readiness_contract.py:35-47 to execute the generic gate
and verify validators and manifest identity, then update the documented behavior
in docs/doctoring/acquisition_readiness_gate.md:9-17 and
docs/changelog.d/641-acquisition-readiness-gate.md:3.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 372eb1e2-8bc5-45c5-83d1-cf0a08203386
📒 Files selected for processing (4)
docs/changelog.d/641-acquisition-readiness-gate.mddocs/doctoring/acquisition_readiness_gate.mdscripts/sales_readiness.pytests/test_acquisition_readiness_contract.py
|
@opencode-agent address Exact-current governance defect remains on #641 head The branch removes the implicit numeric default, but it does not yet satisfy issue #636's machine-identity/terminology migration. The generic Keep #641 unmergeable until the GREEN closes the actual #636 acceptance boundary:
CodeRabbit's current walkthrough explicitly says the new flag “enables the 20B product evidence profile”; that is evidence the semantic migration is still incomplete, not acceptance. |
# Conflicts: # docs/changelog.d/641-acquisition-readiness-gate.md
|
@opencode-agent address The acquisition-readiness machine-identity defect remains on exact current head The generic acquisition-readiness path is still backed by legacy Finish the previously scoped migration on this exact head: add current generic internal names/check identities and route |
Why
Sales readiness previously defaulted
--contract-value-krwto KRW 2B and presented that figure as a product-quality gate.What
--require-acquisition-readinessevidence completeness flagVerification
tests/test_acquisition_readiness_contract.pytests/test_sales_readiness.pytests/test_enterprise_due_diligence_gate.pySummary by CodeRabbit