Source: docs/superpowers/plans/2026-08-12-geometry-certificate-audit.md · Plain text

Geometry Certificate Audit Implementation Plan

For agentic workers: REQUIRED SUB-SKILL: Use superpowers:test-driven-development for every behavior change and superpowers:verification-before-completion before any success claim.

Goal: Build and run a zero-training, label-blind audit of geometry-certified context observations before changing or training the production scene-state model.

Architecture: A pure certificate builder consumes only context RGB and calibrated cameras. A separate post-hoc evaluator loads context depth after certificate serialization, scores geometric correctness, executes matched-coverage and shuffled controls, and writes immutable JSON plus a Chinese-first Markdown report.

Tech Stack: Python 3.11, PyTorch 2.11/CUDA 12.8, Kornia 0.8 LoFTR, NumPy, Pillow, pytest, Ruff, YAML, JSON.

Global Constraints


Task 1: Geometry primitives and certificate contract

Files: - Create: src/mcss/geometry_certificates.py - Test: tests/test_geometry_certificates.py

Task 2: Label-blind proposer and certificate builder

Files: - Modify: src/mcss/geometry_certificates.py - Test: tests/test_geometry_certificates.py

Task 3: Post-hoc scorer, frozen runner, and report

Files: - Create: src/mcss/certificate_audit.py - Create: scripts/run_geometry_certificate_audit.py - Create: configs/hypersim_geometry_certificate_audit.yaml - Test: tests/test_certificate_audit.py

Task 4: Static and real-data execution

Files: - Runtime only: outputs/geometry_certificate_audit_v1/** - Create terminal report: outputs/geometry_certificate_audit_v1/REPORT.md