Construction Evidence Hardening
Use this skill to prevent the same construction-document information loss on future projects. It supplies portable integrity rules, not product architecture or permission to mutate reviewed truth.
Authority and freshness
- The user's current request and the target repository's live
AGENTS.md, status, contracts, runtime code, and tests outrank this skill. - Inspect the live repository before choosing an implementation. Do not import Oracle V3, workbook, Azure, or historical packet procedures unless the current task and repository actually use them.
- If this skill conflicts with current product evidence, keep the evidence and stop applying the conflicting instruction. Report the mismatch instead of treating an installed skill as current authority.
Required outcome
Require complete accounting, not a dishonest promise of perfect semantic extraction:
- every registered source and meaningful work unit reaches the repository's existing terminal contract;
emptyis earned by source evidence, not accepted because an extractor returned nothing;- visible but unresolved material remains explicit
incomplete, unclassified, or the repository's equivalent; - literal content and source locators survive before normalization and typed projection; and
- a correction is not closed until the reusable path is fixed and tested, the issue is proven false or stale, or the unresolved ambiguity is preserved with evidence.
Do not add a new public state merely to satisfy this skill.
Model-native boundary
Model-native does not mean logic-free. Keep the split outcome-based:
- deterministic machinery accounts for sources, representations, work units, hashes, geometry, cache validity, schema validity, conservation, and terminal states;
- qualified models may perform the cross-trade semantic reading and structured extraction;
- validators test completeness and support; they do not invent missing source meaning; and
- typed trade projections follow lossless generic capture rather than replacing it.
Before adding parser logic, test whether the model received the complete, legible source region with its headings, entries, notes, and geometry. A stronger model cannot recover evidence that routing, cropping, truncation, or candidate selection withheld.
Default to one generic table/schedule path. Do not add project, customer, drawing, or trade literals. Add a specialized deterministic path only after a measured generic failure proves it necessary, keep it narrow, and retain a generic fallback. A mature incumbent implementation may serve as a conformance baseline or temporary fallback; it is not automatically the successor architecture.
Earliest-fault repair order
Run enough of the complete compiler to keep downstream failures visible, then repair the earliest demonstrated loss:
- frozen source inventory and readable representation;
- region or work-unit construction, including the exact evidence supplied to a model;
- literal and semantic extraction;
- table structure and deterministic normalization;
- occurrence grouping, relationships, authority, and conflict handling;
- retrieval, projection, and final presentation.
The repair mechanism remains open. The correct fix may be a generic model input, profile, prompt, region builder, validator, normalizer, or projection change. "Fix upstream" does not mean "write another parser."
Cross-trade schedule contract
For a schedule or table-like region, preserve an equivalent of:
- source title and table identity;
- every header row and merged or hierarchical heading;
- every entry's identifying cell plus all cells governed by those headings;
- continuation lines and repeated designations without accidental merging;
- notes explicitly referenced by an entry;
- sparse summaries, totals, capacities, and footer values;
- literal cell text, units, and evidence geometry; and
- diagnostics for illegible, ambiguous, truncated, or structurally unmatched content.
When typed semantics are not supportable, retain the literal cell grid or bounded source observation. Do not discard the region merely because it cannot yet become an electrical, mechanical, plumbing, architectural, structural, controls, or other typed record.
Proof proportional to the claim
- Reproduce the demonstrated failure on source-authorized evidence or an honest focused fixture.
- Add at least one positive and one suppression or abstention control.
- For a generic or cross-trade claim, exercise materially different schedule shapes and trades; one project or one selected answer set is not universal proof.
- Compare with any proven incumbent capability that the successor promises to preserve.
- Run representative operator questions through the final delivered surface, with the correct source/page/region and an honest abstention when unsupported.
- Use an unseen project only after the generic repair is frozen. Preserve failed holdouts as failed evidence; do not tune their validator or hidden key into a pass.
Prefer the smallest focused test and repository-required gate that falsify the changed boundary. Do not create packets, councils, or review artifacts that do not improve the working capability.
Residual recovery
When most frozen work units remain valid, rerun only failed, changed, or invalidated units. Rebuild the complete artifact from validated cached units only when the output contract requires it. Broaden reprocessing only when source revision, schema, runtime, provenance, or cache validation proves the broader set invalid.
Oracle V3 review workflows
When the task specifically concerns Oracle V3 ground-truth CSVs, review workbooks, or production fact synchronization, use $oracle-v3-review-workbook-hardening for that repository-specific procedure. Do not apply those manual review mechanics to Anvil by default.