一键导入
dbm-draft-review
Review a human-prepared draft DBM against the governed knowledge base — build review substrate, prepare candidate findings for human disposition.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review a human-prepared draft DBM against the governed knowledge base — build review substrate, prepare candidate findings for human disposition.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Read one deliverable folder and produce a structured 7-section content digest summarizing identity, scope, document kit, dependencies, references, semantic framework, and quality observations.
Transform raw concordance evidence atoms and risk inventory rows into typed publication concordance candidates for register freeze review.
Post-synthesis cross-section semantic concordance verification for rewritten DBM package outputs.
Post-authoring evidence bundle and review for pipeline-produced DBM sections — build review substrate, prepare candidate findings for human readiness judgment.
Assemble the full rewritten DBM package from approved section outputs and produce package QA artifacts.
Publish exactly one rewritten DBM section from approved mapped DOMAIN inputs and emit fixed QA artifacts.
基于 SOC 职业分类
| name | dbm-draft-review |
| description | Review a human-prepared draft DBM against the governed knowledge base — build review substrate, prepare candidate findings for human disposition. |
| compatibility | Chirality TASK; dispatched by WORKING_ITEMS or ORCHESTRATOR |
| allowed-tools | python3 tools/review/scan_section_coverage.py:*, python3 tools/review/extract_claims.py:*, python3 tools/review/scan_tbd_markers.py:*, python3 tools/review/check_body_thinness.py:* |
| metadata | {"chirality-skill-version":"1","chirality-task-profile":"NONE"} |
Review a human-prepared draft DBM document against the governed knowledge base (decomposed KTY/KA artifacts, accepted SCA/supersession state, frozen publication planning artifacts). Build a structured evidence bundle using deterministic substrate tools, then use agent judgment to prepare candidate findings for human disposition via the REVIEW agent.
This skill is a reviewer only. It does not modify the draft, the knowledge base, publication planning artifacts, or governed pointers.
The evidence bundle is not a quality gate. Hard gates are limited to process validity (inputs exist, tools ran, schemas valid, provenance present). Engineering judgment about materiality, adequacy, and significance stays with the reviewing agent and human.
TASK (generic shell mode, no profile)Typical dispatchers: WORKING_ITEMS for interactive human-draft review sessions. ORCHESTRATOR for batch review.
DRAFT_DBM_PATH — path to the draft DBM document (markdown)REVIEW_OUTPUT_DIR — output directory for the evidence bundleDOMAIN_ROOT — absolute path to the DOMAIN root (e.g., West_Doe_Deepcut_DBM)PUBLICATION_SCHEMA_PATH — approved Publication_Schema.mdSECTION_MAP_PATH — approved Section_Map.csvPUBLICATION_RULES_PATH — approved Publication_Rules.mdSUPERSESSION_MAP_PATH — Supersession_Map.csv from active SCASECTION_CONTEXT_ROOT — directory containing SEC-##_Context.md packetsEXISTING_PUBLISHED_DBM_PATH — previous pipeline-produced Rewritten_DBM.md for comparative review| Key | Meaning | Default | Allowed values |
|---|---|---|---|
DRAFT_DBM_PATH | Draft to review | Required | Absolute path to markdown file |
REVIEW_OUTPUT_DIR | Evidence bundle output root | Required | Path under _Publication/DBM/_Review/<review-id>/ |
DOMAIN_ROOT | DOMAIN decomposition root | Required | Absolute path to domain directory |
PUBLICATION_SCHEMA_PATH | Publication schema | unset | Markdown path under _Planning/ |
SECTION_MAP_PATH | Section map | unset | CSV path under _Planning/ |
PUBLICATION_RULES_PATH | Publication rules | unset | Markdown path under _Planning/ |
SUPERSESSION_MAP_PATH | Supersession map | unset | CSV path under active SCA |
SECTION_CONTEXT_ROOT | Section context packets | unset | Directory path |
EXISTING_PUBLISHED_DBM_PATH | Published DBM for comparison | unset | Markdown path under package/ |
| Status | Meaning |
|---|---|
COMPLETE | All tools ran, all governed inputs available, all substrate artifacts written |
PARTIAL | One or more governed inputs unavailable; substrate is incomplete — affected review dimensions listed in summary |
TOOL_ERROR | A tool failed; substrate is unreliable |
| Status | Meaning |
|---|---|
NO_FINDINGS | Agent review produced no candidate findings |
FINDINGS_FOR_DISPOSITION | Agent prepared candidate findings for human disposition |
REVIEW_INCOMPLETE | Agent could not complete review (substrate was PARTIAL or TOOL_ERROR) |
| Type | Meaning |
|---|---|
INCORRECT | Draft contradicts governed KTY/SCA/supersession truth |
UNSUPPORTED | Draft makes a claim not warranted by the knowledge base |
MISSING | Governed material exists but is absent from the draft |
FLATTENED | Draft converts TBD/conflict/assumption into a firm fact |
OUTDATED | Draft uses superseded source DBM content |
INCOMPLETE | Draft has the right topic but lacks required engineering detail |
| Severity | Meaning |
|---|---|
HIGH | Significant technical or governance concern |
MEDIUM | Notable gap or inconsistency |
LOW | Minor quality observation |
ADVISORY | Noted for record; no action expected |
Validate inputs and write boundary. Confirm DRAFT_DBM_PATH exists and is readable. Confirm REVIEW_OUTPUT_DIR resolves to an acceptable path. Create output directory if absent. If governed inputs (schema, section map, rules) are missing, set EvidenceBundleStatus = PARTIAL and record exactly what is unavailable and which review dimensions are affected. Do not improvise a weaker hidden standard.
Run scan_section_coverage.py. When PUBLICATION_SCHEMA_PATH is available, compare draft section headings against the schema. When SECTION_MAP_PATH is also available, pass it as --section-map for run-specific authority. Write output to {REVIEW_OUTPUT_DIR}/Section_Coverage.csv.
Run extract_claims.py. Extract engineering values, parameters, configuration statements, and controlled terms from draft text. Write output to {REVIEW_OUTPUT_DIR}/Draft_Claims.csv.
Run scan_tbd_markers.py. Scan draft for TBD/TBC/ASSUMPTION markers. When SECTION_MAP_PATH and DOMAIN_ROOT are available, pass them for KB cross-reference. Write output to {REVIEW_OUTPUT_DIR}/TBD_Inventory.csv.
Run check_body_thinness.py. Compute section body underdevelopment signals. Pass --section-map and --schema when available. Write output to {REVIEW_OUTPUT_DIR}/Body_Thinness.csv.
Read draft sections against mapped KA artifacts. When SECTION_MAP_PATH is available, read the Section_Map.csv to identify PRIMARY-role KA artifacts mapped to each section. For each section, read the draft section text and the mapped KA artifacts. Judge:
Check supersession compliance. When SUPERSESSION_MAP_PATH is provided, verify that the draft uses current design-basis values, not superseded source wording. Flag OUTDATED findings for any use of superseded content.
Classify candidate findings. Assign each finding a type from the 6-type taxonomy and a severity. Every finding must:
Origin = AGENT_CHECK (required for REVIEW compatibility)Section_Coverage.csv:row-3)Emit evidence bundle. Write all outputs to REVIEW_OUTPUT_DIR. Set EvidenceBundleStatus and ReviewStatus in the summary.
All outputs are written to REVIEW_OUTPUT_DIR. Exactly 6 files:
| File | Purpose |
|---|---|
Evidence_Bundle_Summary.md | EvidenceBundleStatus, ReviewStatus, tool run results, input provenance, dimensions assessed vs. not assessed |
Section_Coverage.csv | Structural coverage (expected vs. found sections) |
Draft_Claims.csv | Values, parameters, terms located in draft |
Body_Thinness.csv | Section body underdevelopment signals |
TBD_Inventory.csv | TBD/TBC/ASSUMPTION markers with KB cross-reference |
Candidate_Findings.csv | Agent-prepared findings for human disposition |
Required columns:
FindingID, FindingType, Severity, Origin, DraftLocation, DraftLineNumber, DraftText, GovernedTruthRef, GovernedTruthValue, SectionID, KTYRef, KARef, SupersessionRef, Explanation, EvidenceSource
FindingID: sequential F-001, F-002, ...FindingType: controlled enum from finding taxonomySeverity: controlled enum from finding severityOrigin: AGENT_CHECK for all findings (required for REVIEW agent compatibility)EvidenceSource: traces to substrate row (e.g., Section_Coverage.csv:row-3, Body_Thinness.csv:row-7) or AGENT_REVIEW:<brief description> for pure-judgment findingsRequired H2 headings:
## Bundle Status — EvidenceBundleStatus and ReviewStatus with explanation## Input Provenance — paths consumed, which governed inputs were available vs. missing## Tool Run Results — per-tool: ran/skipped, exit code, output path, row count## Review Dimensions — which review dimensions were assessed (structural coverage, claim accuracy, supersession compliance, body adequacy, TBD fidelity) and which could not be assessed due to missing inputs## Section Coverage Summary — narrative interpretation of Section_Coverage.csv## Body Adequacy Observations — narrative interpretation of Body_Thinness.csv signals## TBD and Open-Item Assessment — narrative interpretation of TBD_Inventory.csv## Accuracy and Completeness Assessment — per-section assessment from agent judgment (step 6)## Supersession Compliance — assessment from step 7 (or "not assessed" when no supersession map)## Recommendations — actionable recommendations for the draft author, organized by severityOrigin = AGENT_CHECK on every finding row.EVIDENCE_INCOMPLETE / PARTIAL — it does not silently downgrade the review standard.Candidate_Findings.csv uses only controlled enum values for FindingType and Severity.Evidence_Bundle_Summary.md contains all required H2 headings.