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

gz-content-compose

Use after compression decisions on a corpus to validate and stage the candidate rendition with byte evidence.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md6.1 KB

SKILL.md(원문)

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

gz-content-compose

Overview

Wield gz content compose to validate and stage a candidate rendition of a control surface toward a target consumer (vendor) at the declared compression setpoint. This is the compress stage of the ADR-0.0.37 CMS pipeline: corpus → compress → rendition → playback.

The tool is deterministic. NO LLM call, NO network I/O. The drop/combine/rewrite compression judgment is the agent's (this skill is the LLM surface). The tool validates, accounts bytes, and writes the candidate.

The tool NEVER writes a rendered surface. AGENTS.md, CLAUDE.md, and their mirrors are byte-unchanged after every compose run. Only the candidate artifact under .gzkit/renditions/ and the ledger change.

Workflow

  1. Read the corpus for the target surface:
    • .gzkit/corpus/<surface>.jsonl — the append-only source of truth
    • Identify tier: invariant entries — these MUST appear verbatim in the candidate
    • Identify tier: compressible entries — these can be dropped, combined, or rewritten
  2. Know the setpoint — resolve via gz validate --setpoint-coherence or read data/vendor-manifest.json content_type_temperatures.<ContentType>.<consumer>. The setpoint is lite, medium, or heavy.
  3. Draft the candidate text — compress the compressible entries toward the setpoint:
    • lite: maximum compression; include only the highest-priority compressible entries
    • medium: balanced compression
    • heavy: minimal compression; include most compressible content
    • Invariant-tier entries MUST appear verbatim (0-Kelvin floor — no exceptions)
  4. Write the candidate to a temp file (e.g. /tmp/candidate.md)
  5. Run the compose tool to validate + stage:
gz content compose <surface> --consumer <vendor> --candidate /tmp/candidate.md
  1. Confirm the output — check byte evidence and candidate path:
test -s .gzkit/renditions/<surface>/<consumer>.candidate.md
grep "composition_candidate_emitted" .gzkit/ledger.jsonl
  1. The candidate flows to the advisor-QC loop (OBPI-24) and operator attestation (OBPI-22) before promotion to a committed rendition.

Before commit: the retention map

gz content commit enforces a retention gate (ADR-0.35.0 § Decision item 10, GHI #1090/#1091; manpage content § "Retention gate: --retention-map") when the candidate drops a block the consumer's prior committed rendition carried. The gate proves only bytes; whether the extraction was independent, whether a KEPT span carries its quote's meaning, and whether the operator actually ruled each drop live in this procedure, not in the tool. Before running commit:

  1. Find the removed blocks before committing. Compare the consumer's committed rendition .gzkit/renditions/<surface>/<consumer>.md with the candidate block by block (a block is a heading, paragraph, list item or table row; a fenced code block is one block); every prior block whose text does not appear in the candidate is removed. No committed rendition, or no removed block, means no map is needed. gz content commit has NO dry run: without a map it exits 3 and names each removed block, but when nothing was removed it PROMOTES (exit 0) — never run it as a probe with attestation words the operator did not say.
  2. Dispatch an independent reviewer — a different model from the author wherever one is available; otherwise a fresh-context agent, and say so — to extract the binding conditions of each removed block, verbatim. The reviewer's identity goes in extracted_by; it must differ from mapped_by.
  3. The author (you) maps each condition: KEPT with the verbatim candidate span that carries it, or DROPPED with a reason; sentences that bind nothing go in non_binding with a reason. Every meaningful character of each removed block must be covered.
  4. The reviewer verifies every KEPT pair (quote -> span) for sameness of meaning, and every non_binding exemption; the tool checks only byte presence. Record the reviewer's verdict on each pair, and present it to the operator alongside the DROPPED ids in step 5.
  5. Present every DROPPED condition to the operator by id (e.g. C2), with its quote and reason, and obtain the operator's own words ruling each drop. Never author attestation text the operator did not say.
  6. Commit with --retention-map <file> and the operator's words in --attestation-text, which must contain every DROPPED id at a token boundary. On exit 3, read every named violation and repair the map; never delete a condition to make the refusal go away.

Output Contract

On success (exit 0):

  • Candidate written to .gzkit/renditions/<surface>/<consumer>.candidate.md
  • composition_candidate_emitted ledger event carrying surface, consumer, setpoint, and per-tier byte evidence
  • Byte evidence printed to stdout

On failure (exit 1):

  • No candidate written
  • Error to stderr naming the cause (absent corpus / undeclared setpoint / invariant violation)

Do Not

  • Call any Anthropic/LLM API in tool code — the tool is deterministic; this skill IS the LLM surface
  • Promote the candidate (gz content commit) except through § Before commit: the retention map, with the operator's own attestation words
  • Rewrite or drop tier: invariant entries in the candidate text
  • Claim compose is complete without running gz content compose and confirming exit 0
  • Edit AGENTS.md, CLAUDE.md, or any mirror during this skill — rendered surfaces are never touched
  • Mark a condition KEPT at a candidate span that does not carry its removed quote's meaning — byte presence is not sameness of meaning
  • Author or paraphrase the operator's drop ruling — a DROPPED condition's attestation words must be the operator's own, never invented on their behalf

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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월 20일 업데이트

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월 20일 업데이트

ghi-close

무료

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

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

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

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

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

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

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월 20일 업데이트

git-sync

무료

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

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

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

tvproductions의 스킬 모두 보기

이 스킬의 문제 신고