feat: validate DiskSage cloud capacity evidence - #1181
Conversation
|
Important Review skippedDraft detected. 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:
Comment |
|
PR governance metadata gate is not ready for
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Local current-head security evidence (2026-07-29 KST):
This PR deliberately does not duplicate the already-merged dependency updates. The central Security Scan must be rerun after the stacked base is brought forward. Draft/governance failure remains expected until then. |
…lineage-contract' into feat/disksage-cloud-capacity-assessment-contract
|
Stacked child PR #1182 adds the DiskSage metadata-first semantic catalog candidate-batch validation contract after this capacity-assessment layer. It is database-independent and does not authorize copy or eviction. |
|
Closing as draft-abandoned: incomplete DiskSage contract work not ready for commercial pilot merge; reopen when evidence-backed and non-draft. Loop drain 2026-07-31. |
Description
POST /api/cloud-capacity-assessment/validatefor the separatedisksage.cloud-capacity-assessmentv1 envelopeType of change
Validation
python3 -m pytest -q tests/test_cloud_capacity_assessment_api.py(26 passed)python3 -m pytest -q tests/test_cloud_capacity_assessment_api.py tests/test_file_lineage_api.py(87 passed)python3 -m ruff check services/cloud_capacity_assessment.py api/cloud_capacity_assessment.py tests/test_cloud_capacity_assessment_api.py main.pyvalid=trueTrust boundary
This endpoint validates schema and submitted claim consistency only. It does not authenticate the upstream provider response, revalidate freshness, persist quota, execute provider writes, prove sync, or authorize local-source eviction.
Research grounding
Stack
Based on #1132. Producer: ContextualWisdomLab/disksage#86, based on disksage#85.
Checklist