본문으로 건너뛰기
cccskills
무료GitHub에 공개

gz-obpi-pipeline

Use after a plan is approved, or when the operator says "execute OBPI-X.Y.Z-NN", to implement, verify and sync an OBPI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(10)

  • SKILL.md11.1 KB
  • AGENTS.md2.3 KB
  • references/design-notes.md1.3 KB
  • references/evidence-capture.md512 B
  • references/plan-audit-receipt-contract.md714 B
  • references/stage-1-load-context.md15.0 KB
  • references/stage-2-implement.md24.3 KB
  • references/stage-3-verify.md16.2 KB
  • references/stage-4-present-evidence.md43.1 KB
  • references/stage-5-sync-and-account.md17.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

gz-obpi-pipeline

Post-plan execution pipeline: implement the approved plan, verify, present evidence, and sync.

The canonical runtime launch surface is uv run gz obpi pipeline.

Rationale: docs/governance/obpi-pipeline-control-rationale.md § I-001

Read docs/governance/acceptance-obligations.md and docs/user/manpages/obpi-acceptance.md before producing or importing these records. This replaces authored standing-verdict lines as the acceptance authority; historical verdicts remain unchanged. It does not authorize starting an OBPI: the operator initiates this pipeline, and GHI corrective work retains its direct route.

Rationale: docs/governance/obpi-pipeline-control-rationale.md § I-002

Each stage's procedure is served by the runtime at stage entry. uv run gz obpi pipeline <OBPI-ID> prints Stage N procedure: <path> (sha256 <digest>) for Stage 1 and again for every stage it enters; read that file before acting in the stage. The five files live in references/ beside this skill, stage-1-load-context.md through stage-5-sync-and-account.md, rendered from the attested control inventory (data/obpi_pipeline_control_inventory.json), verbatim except where a row declares its rewording and reason; this body keeps the controls that apply at invocation or at every stage. A stage file that is missing, empty or altered refuses the launch before any marker is written (OBPI-0.35.0-17, Requirement 7; cut over in OBPI-0.35.0-20).

Persona

Active driver: pipeline-orchestrator — read .gzkit/personas/pipeline-orchestrator.md and adopt its behavioral identity before executing this skill.

Rationale: docs/governance/obpi-pipeline-control-rationale.md § I-005

Persona Dispatch

The pipeline dispatches four subagent personas across its stages. Stage-2 implementer/spec-reviewer/quality-reviewer dispatch is documented procedurally below (§ Stage 2); the Stage-4 narrator dispatch is declared here:

Persona doctrine reference: ADR-0.0.11-persona-driven-agent-identity-frames (Validated). Runtime mapping: src/gzkit/pipeline_dispatch.py (ROLE_PERSONA_MAP).


The Iron Law

THE PIPELINE IS NOT COMPLETE UNTIL STAGE 5 FINISHES.

Every stage flows into the next. No "stop and summarize" between stages. If you have not reached the end of Stage 5, you are not done — and violating the spirit of this rule is violating the rule.

Rationalization Prevention

These thoughts mean STOP — you are about to break the pipeline:

ThoughtReality
"The hook blocked me, I'll work around it"Hook blocks are signals. Diagnose the cause. NEVER create marker files manually to bypass.

Work selection (operator rulings, verbatim canon)

  • The active docs/governance/-campaign-.md plan governs work selection; handoffs and triage advise. Select its topmost unchecked item whose gate is met, subject to ascending feature-ADR order and operator-only OBPI initiation. Campaign amendments require operator ratification; ADR, OBPI, and GHI repair remain the work mechanisms.
  • Work feature ADRs in ascending semver order: the lowest version with unlanded OBPIs is in flight. Do not work, author, or recommend a higher feature ADR ahead of it. The campaign selects work but cannot override that order. If campaign sequencing conflicts, semver governs; surface the conflict to the operator rather than silently resolving it. “One feature at a time” does not authorize swapping the order. An ADR in flight may be revised to take more OBPIs. The revision updates the document (an Intent amendment, a Decision item, a checklist item and the scorecard baseline) and the briefs table in the same change. A Validated ADR is not revised: scope missed from one enters the in-flight ADR as a repair assignment that cites the obligation it repairs. An item off the ADR's theme is labelled as such in the Intent amendment.

Rationale: docs/governance/obpi-pipeline-control-rationale.md § I-041

Carried verbatim from root AGENTS.md § Operator Doctrine on 2026-09-17 (GHI #921); the corpus .gzkit/corpus/AGENTS.md.jsonl keeps the ruling's history.

When to Use

  • After exiting plan mode for an OBPI (plan approved, ready to execute)
  • When the user says execute OBPI-X.Y.Z-NN or complete OBPI-X.Y.Z-NN
  • When implementation is already done but governance stages (verify, ceremony, or sync) were skipped — use --from=verify or --from=ceremony

When NOT to Use

  • For planning — use Claude Code plan mode instead
  • When no OBPI brief exists for the work
  • For independently routed defect repairs: use AGENTS.md § Defect-fix routing and its GHI direct-repair authority. Do not start an OBPI merely to repair a defect. Corrections already owned by the active, operator-initiated OBPI stay in that pipeline regardless of patch size.

Invocation

/gz-obpi-pipeline OBPI-0.14.0-05
/gz-obpi-pipeline OBPI-0.14.0-05 --from=verify
/gz-obpi-pipeline OBPI-0.14.0-05 --from=ceremony

Short-form OBPI IDs are accepted: 0.14.0-05 expands to OBPI-0.14.0-05.

--from Flag

FlagStages RunUse Case
(none)1 → 2 → 3 → 4 → 5Full post-plan execution
--from=verify1 → 3 → 4 → 5Already implemented, need governance
--from=ceremony1 → 4 → 5Already verified, need attestation + sync

Stage 1 always runs — context is needed for ceremony and sync regardless of entry point.


Pipeline Stages

The pipeline executes 5 stages sequentially. Stage 4 behavior depends on execution mode — all other stages are autonomous.

┌──────────────────────────────────────────────────────────────┐
│  Stage 1: LOAD CONTEXT       (autonomous)                    │
│  Stage 2: IMPLEMENT          (autonomous)                    │
│  ├─ DO NOT STOP HERE. Proceed to Stage 3.                    │
│  Stage 3: VERIFY             (autonomous)                    │
│  ├─ DO NOT STOP HERE. Proceed to Stage 4.                    │
│  Stage 4: PRESENT EVIDENCE   (human gate — universal)        │
│  ├─ WAIT for human attestation, then Stage 5.                │
│  Stage 5: SYNC AND ACCOUNT   (autonomous)                   │
│  └─ Pipeline complete. NOW you may report status.            │
└──────────────────────────────────────────────────────────────┘

Stage 4 = HUMAN GATE (wait for attestation) — universal per ADR-0.0.36

Error Recovery

Lock bracket: Lock is claimed at Stage 1 and surrendered by gz obpi complete at Stage 5, or by an abort surrender.

Abort surrender

On an abort the lock is surrendered with a recorded category (GHI #1167):

uv run gz obpi lock release {OBPI-SLUG} --abandon <category>:<reason>

A release without --abandon exits 3 and leaves the lock in place (.gzkit/rules/token-block-discipline.md § Sub-Invariant 5). --force waives the ownership check only. A session handoff is not an exchange record and discharges nothing. The categories are a closed enum, listed in docs/user/manpages/obpi-lock-release.md; if none describes the abort, do not pick one that misdescribes it. Leave the lock held, name it in the handoff and report it to the operator

Rationale: docs/governance/obpi-pipeline-control-rationale.md § T-024

Handoff creation: On any abort, after the surrender, run /gz-session-handoff to preserve context for the next session.


Blocked on the Operator (GHI #887)

When the next legitimate action is a human's, say so in the ledger and stop.

Rationale: docs/governance/obpi-pipeline-control-rationale.md § T-026

uv run gz obpi block {OBPI-SLUG} \
  --reason "<what cannot proceed without a human>" \
  --next-action "<the concrete decision the operator owes>"

Rationale: docs/governance/obpi-pipeline-control-rationale.md § T-027

The operator clears it with their own words:

uv run gz obpi unblock {OBPI-SLUG} --ruling "<decision>" --operator "<who>"

No attestor is required to record a block.

Rationale: docs/governance/obpi-pipeline-control-rationale.md § T-030


Evidence Capture

See references/evidence-capture.md for the full stage-by-stage evidence table.


Plan-Audit-Receipt Contract

See references/plan-audit-receipt-contract.md for the receipt JSON schema and contract details.


Parallel Execution

Use one writer per governed checkout. Read-only investigation may run independently. Only the operator initiates OBPI work; separate sessions do not grant initiation. Capture the contract and input components before review and verify applicability before consuming it. Sequence shared acceptance/schema writes outside review windows. If another run changes the subject, identify affected evidence before continuing. Never stash, pop, reset, revert, or sync another active run's work to clean the tree.

All OBPIs require per-OBPI human attestation (universal per ADR-0.0.36).


Relationship to Existing Skills

CLI Command / SkillRole in Pipeline
gz obpi lock claim/releaseStage 1 claim, Stage 5 release, abort release (--force)
/gz-plan-auditPre-pipeline — runs in plan mode, produces receipt
gz obpi completeStage 5 atomic completion (attestation + brief + receipt)
gz obpi syncStage 5 confirmation — receipt and brief agree
/gz-session-handoffError recovery — preserves context on abort

Completion Contract

Anti-Pattern: Hook Bypass

If a pipeline hook blocks a write, that means the pipeline is not active or evidence is missing. The correct response is to diagnose the cause — NOT to manually create marker files or ledger entries to bypass the hook. Manually creating files to bypass hooks defeats the entire enforcement mechanism.


Design Notes

See references/design-notes.md for architectural context, hook enforcement details, and AirlineOps lineage.


Related

  • OBPI Acceptance Protocol: AGENTS.md § OBPI Acceptance Protocol
  • Plan audit: .claude/skills/gz-plan-audit/SKILL.md
  • Session handoff: .gzkit/skills/gz-session-handoff/SKILL.md
  • Governance workflow: docs/user/concepts/workflow.md
  • Runbook: docs/user/runbook.md
  • Transaction contract: docs/governance/GovZero/obpi-transaction-contract.md

Related ADRs

  • ADR-0.0.19 — Pre-execution reasoning walkthrough. The Stage 1→2 Justification Gate routes a plan with an ambiguous scope boundary, an unresolved integration point or an unread surface into the gz-justify walkthrough before implementation begins.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tvproductions/gzkit92026년 10월 24일 업데이트

Use to file a GitHub issue when a finding needs its own work order or the operator asks; OBPI corrections stay in its change log.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tvproductions/gzkit92026년 10월 24일 업데이트

ghi-close

무료

Use to do the work a GHI describes, verify it and close the issue with evidence in one sweep.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tvproductions/gzkit92026년 10월 24일 업데이트

Use to triage the open GHI queue before planning or choosing what to pull; produces a ranked deliverable.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tvproductions/gzkit92026년 10월 24일 업데이트

git-sync

무료

Run the guarded repository sync ritual; the hooks your pre-commit config declares enforce the quality gates.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tvproductions/gzkit92026년 10월 24일 업데이트

git-sync

무료

Run the guarded repository sync ritual; commit-time hooks enforce the cheap gates and the pre-push hook runs gz check.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tvproductions/gzkit92026년 10월 24일 업데이트

tvproductions의 스킬 모두 보기

이 스킬의 문제 신고