一键导入
dbm-section-publish
Publish exactly one rewritten DBM section from approved mapped DOMAIN inputs and emit fixed QA artifacts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Publish exactly one rewritten DBM section from approved mapped DOMAIN inputs and emit fixed QA artifacts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | dbm-section-publish |
| description | Publish exactly one rewritten DBM section from approved mapped DOMAIN inputs and emit fixed QA artifacts. |
| compatibility | Chirality TASK; dispatched by DBM_PUBLISHER after the publication planning artifacts are frozen. |
| metadata | {"chirality-skill-version":"1","chirality-task-profile":"NONE"} |
Publish exactly one target DBM section from approved mapped inputs. The skill consumes frozen publication planning artifacts, reads only the mapped KTY-local inputs for its assigned section, and emits two outputs:
This skill is the primary publication authoring unit in v1. It is not a dispatcher and it does not redesign the publication schema or section map.
TASK (generic shell mode, no profile)Typical dispatcher: DBM_PUBLISHER after human approval of the frozen planning artifacts.
SECTION_IDSECTION_TITLESECTION_TYPESECTION_PURPOSESECTION_OUTPUT_PATHSECTION_QA_OUTPUT_PATHPUBLICATION_INPUT_MANIFESTPUBLICATION_SCHEMA_PATHSECTION_MAP_PATHPUBLICATION_RULES_PATHMAX_KA_FILESDBM_OUTPUT_MODE — FULL_ENGINEERING_DBM|DBM_DIGEST, default FULL_ENGINEERING_DBMSOURCE_DOMAINSECTION_ORDERSECTION_CONTEXT_PATH — deterministic per-section structural context packetOPEN_ITEM_PACKET — section-relevant human rulings, engineering TBDs, and decomposition/publication gaps supplied by DBM_PUBLISHER as operational caveat contextALLOW_CONTEXT_ONLY_DECOMP_FALLBACK — true|false, default trueHYPERGRAPH_USE_MODEHYPERGRAPH_SNAPSHOT_PATHHYPERGRAPH_NODES_PATHHYPERGRAPH_HYPEREDGES_PATHHYPERGRAPH_EVIDENCE_ROOT| Key | Meaning | Default | Allowed values |
|---|---|---|---|
SECTION_ID | Stable section identity for this run | Required | SEC-## or approved equivalent |
SECTION_TITLE | Approved section title | Required | Non-empty string |
SECTION_TYPE | Approved section taxonomy | Required | OVERVIEW, PROCESS_BASIS, PHILOSOPHY, DATA_REFERENCE, DISCIPLINE_BASIS, REGULATORY |
SECTION_PURPOSE | Human-approved intent for the section | Required | Non-empty string |
SECTION_OUTPUT_PATH | Output path for the section body | Required | Path under _Publication/DBM/sections/{SECTION_ID}/ |
SECTION_QA_OUTPUT_PATH | Output path for stable QA markdown | Required | Path under _Publication/DBM/sections/{SECTION_ID}/ |
PUBLICATION_INPUT_MANIFEST | Frozen exact input-path manifest | Required | Markdown path |
PUBLICATION_SCHEMA_PATH | Approved publication schema | Required | Markdown path |
SECTION_MAP_PATH | Approved section map | Required | CSV path |
PUBLICATION_RULES_PATH | Approved publication rules | Required | Markdown path |
MAX_KA_FILES | Hard cap on mapped KA files for this section | Required | Positive integer |
DBM_OUTPUT_MODE | Publication output mode for the run | FULL_ENGINEERING_DBM | FULL_ENGINEERING_DBM, DBM_DIGEST |
SOURCE_DOMAIN | Source domain label for the run | inferred | Non-empty string |
SECTION_ORDER | Display/assembly order | inferred | Positive integer |
SECTION_CONTEXT_PATH | Deterministic per-section structural context packet | unset | Path under _Publication/DBM/_Planning/section-context/ |
OPEN_ITEM_PACKET | Section-relevant unresolved items from DBM_PUBLISHER's mapped-KTY scan | unset | Brief block or path supplied by dispatcher |
ALLOW_CONTEXT_ONLY_DECOMP_FALLBACK | Allow decomposition-level context when a CONTEXT_ONLY KTY is below readiness threshold | true | true, false |
HYPERGRAPH_USE_MODE | Whether hypergraph evidence is admitted for this run | NONE | NONE, AUXILIARY_PLANNING, AUXILIARY_QA, AUXILIARY_PLANNING_AND_QA |
HYPERGRAPH_SNAPSHOT_PATH | Exact path to the admitted hypergraph snapshot | unset | Path under _Aggregation/Hypergraph/ |
HYPERGRAPH_NODES_PATH | Exact path to the hypergraph nodes CSV | unset | Path |
HYPERGRAPH_HYPEREDGES_PATH | Exact path to the hypergraph hyperedges CSV | unset | Path |
HYPERGRAPH_EVIDENCE_ROOT | Root folder containing hypergraph evidence CSVs | unset | Path under _Aggregation/Hypergraph/ |
SUPERSESSION_MAP_PATH | Path to the frozen cumulative supersession map | unset | CSV path; when present, the section worker filters to rows whose root/facility applicability matches the run. Blank AppliesToSections means the binding applies globally; otherwise AppliesToSections must include the current SECTION_ID. |
ROOT_NAME | Canonical root name for supersession applicability filtering | unset | String such as West_Doe_Deepcut_DBM |
FACILITY_ID | Facility identifier for supersession applicability filtering | unset | String such as 04-25 |
allowed-tools frontmatter field is intentionally omitted because this skill has no deterministic tool requirements of its own.Disallowed behavior:
CAT-* / 1_Working / KTY-* files._MEMORY.md or _SEMANTIC.md as factual authority. When the skill reads a mapped KTY _STATUS.md, it must also read sibling _MEMORY.md when present as non-authoritative operational context.FULL_ENGINEERING_DBM mode, no raw caveat dump, file-path inventory, or trace scaffold may stand in as the main body structure.{SECTION_OUTPUT_PATH} — one rewritten DBM section body{SECTION_QA_OUTPUT_PATH} — stable section QA artifactWhen synthesizing a section, consult inputs in this order of authority:
Publication_Schema.mdPublication_Rules.mdSection_Map.csvPublication_Input_Manifest.mdFULL_ENGINEERING_DBM is the default. In this mode, the section body must be a DBM-native engineering section, not a digest or current-state summary. It must carry the core design basis needed by a reader without reopening KA files for material values, capacities, configurations, interfaces, assumptions, design constraints, TBDs, and applicable tables.
DBM_DIGEST is allowed only when the dispatch brief or frozen publication rules explicitly select it. Digest mode may be concise, but the section QA must state that digest mode was used and must not present the output as a full governing DBM section.
When OPEN_ITEM_PACKET is supplied, treat it as operational caveat context for this section. It does not authorize new body claims or expand the mapped input set.
The section worker must:
TBD, to be confirmed, or assumed statements in body prose when body treatment is needed,TBD, ASSUMPTION, DEFERRED_CONFIRMATION, ExternalResponsibility, and human-ruling status in section QA,Hypergraph evidence is read-only auxiliary structure evidence for section workers. It does not enter the content authority stack for section body synthesis.
When HYPERGRAPH_USE_MODE != NONE and hypergraph inputs are provided in the brief, the section worker may use hypergraph evidence only for local QA checks:
Hypergraph evidence must not be used to:
Any hypergraph-derived QA concern must be labeled AUXILIARY_STRUCTURE_WARNING in the section QA output. The section worker must not block its own output on hypergraph QA findings; those findings are advisory for the package gate to consume.
MappingRolePRIMARY — mapped CAT/KTY/KA-local material that anchors section narrative and structureSUPPORTING — contextual or constraining content that informs the section but does not define its primary structureCONFLICTING — mapped input known to contradict other mapped inputs; the skill must surface the conflict in QA and avoid silent reconciliationCONTEXT_ONLY — background-only material that may inform interpretation but should not drive direct design-basis claims unless the publication rules explicitly permit itContributionScopeFULL_ARTIFACT — the whole artifact may contributeTARGET_HEADING — use only the heading/subsection named in the section-map NotesTABLE_ONLY — use tabular content onlyVALUES_ONLY — use only explicit values/parametersBACKGROUND_ONLY — background context only; do not rely on it for direct design-basis claimsOVERVIEWAuthority expansion for OVERVIEW sections: this is the one section type where structural context from SECTION_CONTEXT_PATH may become body-authoring authority for facility-level framing. The worker may synthesize facility identity, design objectives, scope boundaries, and document applicability from the context packet's objectives and category/KTY descriptions even when no single KA file states the overview in the same wording. This expansion is limited to facility/document framing. It does not permit inventing design values, equipment requirements, operating conditions, capacities, limits, product specifications, or other technical claims.
PROCESS_BASISPHILOSOPHYDATA_REFERENCEDISCIPLINE_BASISREGULATORYIn FULL_ENGINEERING_DBM mode, the templates above are minimum outlines only. The worker must assess the mapped active material against these design-basis content classes and include every applicable class in the body or explain the omission in section QA:
Section-type emphasis:
OVERVIEW: facility identity, document applicability, scope boundaries, current-state basis, and major unresolved limitations; do not invent technical values from structural context.PROCESS_BASIS: design/operating cases, process configuration, design values, equipment/package roles, process controls/protection, utilities, interfaces, and open design-development requirements.PHILOSOPHY: governing principles, applicability limits, required design behavior, exceptions, rationale, and related standards or owner decisions.DATA_REFERENCE: body tables or consolidated table equivalents for design-basis values, plus usage constraints and assumptions.DISCIPLINE_BASIS: discipline scope, governing criteria, required systems/components, standards/codes, interfaces, constraints, and unresolved discipline inputs.REGULATORY: obligations, applicability, compliance basis, facility impact, monitoring/reporting or design constraints, and unresolved regulatory items.If the approved section design cannot carry the applicable material without collapsing systems, tables, or design cases into a digest, emit UNDERDEVELOPED_SECTION in section QA and explain the required split or schema repair.
Design-basis tables in mapped material must be preserved, consolidated, split, or reconstructed as equivalent body tables when they contain material engineering values. The worker must not omit such tables merely because detailed provenance has moved to the trace appendix.
Allowed table treatments:
INCLUDEDCONSOLIDATEDSPLITOMITTED_WITH_RATIONALETRACE_ONLYDEFERRED_UPSTREAM_MISSINGNONE_APPLICABLETRACE_ONLY is valid only for trace, index, provenance, reference-list, or non-design-basis tables. A design-basis table omitted without rationale is an UNJUSTIFIED_TABLE_OMISSION finding.
The skill must treat the frozen Publication_Input_Manifest.md as the primary freshness boundary for the run.
Before reading mapped KTY-local files, the skill must confirm that the manifest records publication admission for the root via:
Handoff_State.md,If the manifest is missing that evidence, or records the root as not publication-admissible, fail with FAILED_INPUTS.
After the root publication-admission check passes, the skill must read each mapped KTY _STATUS.md before using its files, and must read sibling _MEMORY.md whenever _STATUS.md is read. _MEMORY.md may inform operational continuity or known local caveats but must not become factual authority for published DBM claims.
Minimum rules:
PRIMARY and CONFLICTING inputs must be at least INITIALIZED.PRIMARY input is below that threshold, fail with FAILED_INPUTS.CONFLICTING input is below that threshold, fail with FAILED_INPUTS.SUPPORTING input is below that threshold, skip it and record a gap note in section QA.CONTEXT_ONLY input is below that threshold, the skill may fall back to decomposition-level context only when ALLOW_CONTEXT_ONLY_DECOMP_FALLBACK=true, with a QA note._STATUS.md materially disagree, fail with FAILED_INPUTS and record the mismatch in section QA.The skill must not treat local _STATUS.md files as sufficient publication admission evidence on their own, and it must not treat an OPEN or otherwise unready KTY as equivalent to a fully authored KTY artifact.
When the manifest provides a vocabulary map, the skill should:
AppliesToSections remains globally eligible; populated AppliesToSections must include the current SECTION_ID,SUPERSESSION binding exists in the eligible supersession rows for the differing fact: apply the replacement value and record the binding reference (AmendmentID, DecisionID, SupersededAuthorityRef) in section QA,SUPPLEMENTARY_EXTENSION binding exists: preserve the accepted current-state KTY/decomposition basis and record the supplementary detail in QA/trace when relevant,TBD or an explicit scope note.Default: supersession history appears in section QA and Trace_Appendix.md, not in section body prose. A section may include a short supersession note in body prose only when all of the following are true:
Acceptable pattern: "Current design basis is 150 psig; legacy 175 psig references are superseded for this facility scope."
Do not write process-history notes such as "This was revised per SCA-005 after assessment determined prior routing assumptions were stale." When in doubt, omit the body note and record the amendment context in section QA; the trace appendix carries the full history.
TBD.[HBK-####]-style citations in the DBM body.TBD for information not yet available, to be confirmed for stated but unvalidated information, and assumed for a value used pending confirmation. Governance-state labels such as DEFERRED, BLOCKED, PENDING, or DEFERRED_CONFIRMATION must not appear in body prose. Preserve the original epistemic state in section QA.PRIMARY mapped KTY should contribute all material design-basis facts, tables, constraints, interfaces, assumptions, and TBDs that apply to the approved section scope unless the worker records a clear skip, insufficiency, consolidation, or deferral reason in section QA.PRIMARY KTY is insufficient when the KTY contains multiple material facts, design-basis tables, operating cases, equipment/configuration details, or open design requirements.PRIMARY KTY is reduced to a token mention or one generic sentence despite containing material section-scope basis, emit PRIMARY_KTY_COLLAPSED in section QA.SUPPORTING artifacts qualify, constrain, or trace claims anchored by PRIMARY artifacts. They should not create standalone claims unless the approved section map or publication rules assign that role.CONTEXT_ONLY artifacts do not produce body claims. They may shape QA, trace, framing checks, or explicit scope exclusions.Fail fast with FAILED_INPUTS if:
MAX_KA_FILES, orPublication_Schema.md / Publication_Rules.md.When that happens, DBM_PUBLISHER must split/refine the section design rather than forcing oversized synthesis.
SECTION_CONTEXT_PATH is structural context, not a substitute for mapped KA content. Use it to:
FACTUAL_USE_GATE = BLOCK_FACTUAL_USE, do not use that KTY for body claims even when the section map lists it as PRIMARY; treat it as CONTEXT_ONLY and record the override in section QA,TBD, to be confirmed, or assumed notes.
2b. Read the open-item packet when provided. Use OPEN_ITEM_PACKET to determine section-relevant human rulings, engineering TBDs, and decomposition/publication gaps. Preserve these items in QA even when body prose flattens them for readability.Scoping.mdKA-*.md_CONTEXT.md_REFERENCES.md_STATUS.md_MEMORY.md whenever _STATUS.md is read, as non-authoritative operational context only_DEPENDENCIES.md only when explicitly required by the section map or publication rulesMappingRole, ContributionScope, KTY readiness, and publication-rule precedence.SECTION_TYPE, the publication rules, DBM_OUTPUT_MODE, the body completeness standard, expected body components, and expected design-basis table treatment. In FULL_ENGINEERING_DBM mode, use DBM-native engineering headings and subsections rather than QA/export artifact structures.PRIMARY KTY material was materially used.FAILED_INPUTS for invalid/missing inputs or oversize sections; otherwise complete with explicit gaps/conflicts surfaced in the outputs.SEC-##_QA.md must contain these blocks in order:
## Section Summary## Coverage Table## Design Basis Content Coverage## Table Treatment## Section Adequacy Findings## Readiness Observations## Conflict Register## Terminology Notes## Gap / TBD Register## Amendment Notes## Assertion Emission Notes## Auxiliary Structure Warnings (present only when hypergraph evidence was consumed; each item labeled AUXILIARY_STRUCTURE_WARNING)The QA artifact must preserve distinctions such as TBD, ASSUMPTION, and DEFERRED_CONFIRMATION even when body prose flattens unresolved items for readability.
Content expectations by block:
Coverage Table records mapped KTYs/KAs consumed plus mapped inputs skipped and why.Design Basis Content Coverage records each applicable content class as INCLUDED, OMITTED_WITH_RATIONALE, DEFERRED_UPSTREAM_MISSING, or NOT_APPLICABLE, with concise rationale for omissions.Table Treatment records design-basis table handling as INCLUDED, CONSOLIDATED, SPLIT, OMITTED_WITH_RATIONALE, TRACE_ONLY, DEFERRED_UPSTREAM_MISSING, or NONE_APPLICABLE; TRACE_ONLY must not be used for body-worthy design-basis tables.Section Adequacy Findings records any fixed finding codes: UNDERDEVELOPED_SECTION, UNJUSTIFIED_TABLE_OMISSION, PRIMARY_KTY_COLLAPSED, MISSING_DESIGN_BASIS_CLASS, QA_SCAFFOLD_BODY_LEAKAGE, or NON_STANDALONE_CORE_BASIS.Readiness Observations records KTY readiness issues.Conflict Register records contradictory values/states and both mapped positions with provenance.Gap / TBD Register preserves distinctions such as human authority ruling, TBD, ASSUMPTION, DEFERRED_CONFIRMATION, external responsibility, and decomposition/publication gap.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.
Review a human-prepared draft DBM against the governed knowledge base — build review substrate, prepare candidate findings for human disposition.
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.