Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).
日本語の概要は準備中です。原文の説明を表示しています。
Use to rank the in-flight foundation backlog by insight signal, GHI count and invariants.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Rank the in-flight foundation backlog by priority. The bundled script does the deterministic work (gather Draft/Proposed foundation ADRs, count governance signals, render the deliverable). The agent does the cognitive work (read each candidate's § Intent and § Decision, classify severity, flag port/adapter reclassification candidates). Determinism lives at the rendering edge; cognitive freedom lives only on the input edge.
This skill is diagnosis only. It MUST NOT mutate any foundation ADR, ledger entry, registry, or promote/complete/change-status on any artifact. Running the skill is read-only across the governance surface.
The bundled script reports raw signal counts. Weighted scoring is the
foundation-triage-rubric surface at src/gzkit/foundation/rubric.py:
uv run python -m gzkit.foundation.rubric prints a priority_score with its
evidence for each in-flight foundation. Read those scores as evidence in the
cognitive pass; they never enter the rank-input JSON, whose schema rejects
extra fields.
/gz-foundation-triage
When this skill is invoked, the agent MUST execute the three steps below in order. The deliverable is the rank-ordered list from Step 3.
Run the bundled helper once with --format json to gather every in-flight
(Draft or Proposed) foundation ADR with its governance-signal counts inline:
uv run python .gzkit/skills/gz-foundation-triage/scripts/triage.py --format json
Each record contains: id (canonical ADR id, e.g. ADR-0.0.57), status
(one of Draft/Proposed), title, path (foundation ADR file relative
to repo root), insight_count (agent-insights.jsonl mentions of the ADR
id), ghi_count (GHI references mined from the same insights stream),
invariant_mentions (occurrences in AGENTS.md and .gzkit/rules/*.md).
The script is read-only over the governance corpus — it parses files; it
never writes them.
For each record in the Step 1 JSON, read the foundation ADR's § Intent
section and § Decision section. This is the contract; everything else
hangs off it. Do not classify without reading both.
Then apply the port/adapter reclassification check (mirrored from the
pool-triage cognitive-pass pattern, which adopted GHI #424 round-3
hardening): flag any candidate whose scope authors an invariant or
prerequisite without which downstream features cannot exist. A flagged
candidate is emitted as {id, reclassify: "foundation"} in a separate
annotation list, NOT as a rank-input entry. Ranked candidates and
reclassification annotations are mutually exclusive: a single candidate
appears in one list or the other, never both.
Where the foundation kind is closed, the annotation list stays empty. A
project that has closed the kind carries data/foundation_grandfather.json,
and gzkit has (AGENTS.md § Gate Covenant; gz validate --taxonomy). A closed
kind takes no new member, so emit "reclassify_foundation": [] and rank every
candidate. Where the kind is open, the check applies as written, and the
example below shows that case.
Compose a single rank-input JSON document with one entry per candidate the agent recommends working on:
{
"rankings": [
{"id": "ADR-0.0.57", "severity": "urgent"},
{"id": "ADR-0.0.48", "severity": "next-quarter"}
],
"reclassify_foundation": [
{"id": "ADR-pool.some-slug", "reclassify": "foundation"}
]
}
Rendering-edge contract (binding — structural-only schema):
| Field | Constraint |
|---|---|
rankings[*].id | str; must appear in the Step 1 fetched set |
rankings[*].severity | one of urgent (pull this quarter), next-quarter, latent |
reclassify_foundation[*].id | pool ADR id (slug-form) |
reclassify_foundation[*].reclassify | literal "foundation" |
| any other field | rejected by the renderer |
The schema is structural-only by design. The agent's cognitive contribution is selection + ordering + severity + reclassification flag; the renderer owns all prose, derived from the fetched candidate set.
Write the rank-input JSON to a cache file under .gzkit/cache/foundation-triage/,
then pass that path to the script with --format rank:
# Write tool: .gzkit/cache/foundation-triage/rank.json
uv run python .gzkit/skills/gz-foundation-triage/scripts/triage.py \
--format rank --rank-input .gzkit/cache/foundation-triage/rank.json
The script renders a deterministic markdown deliverable: one numbered row per ranked foundation, each row containing the severity and title in a fixed shape; the reclassification annotations render in a separate section beneath. The script's stdout IS the deliverable — do not echo, restate, copy, or paraphrase that output in agent-generated text.
There is no Step 4. The rank list and the reclassification annotation list together ARE the recommended work order.
Declared form: deterministic markdown, the script's --format rank
output, presented verbatim. Chat-renderable; no Rich box-drawing glyphs;
no ANSI color sequences.
After a foundation-triage run, the following MUST hold:
git status --porcelain docs/design/adr/foundation/ .gzkit/ledger.jsonl
# Expected: empty output
If any foundation ADR file or .gzkit/ledger.jsonl shows as modified, the
ephemeral / diagnosis-only invariant has been violated and the skill is
defective. The skill is a read-only diagnostic; promotion remains an
operator decision under the relevant lifecycle ADR.
.gzkit/skills/ghi-triage/SKILL.md — sibling pattern in the
governance-triage bounded contextまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。
Use to do the work a GHI describes, verify it and close the issue with evidence in one sweep.
日本語の概要は準備中です。原文の説明を表示しています。
Use to triage the open GHI queue before planning or choosing what to pull; produces a ranked deliverable.
日本語の概要は準備中です。原文の説明を表示しています。
Run the guarded repository sync ritual; commit-time hooks enforce the cheap gates and the pre-push hook runs gz check.
日本語の概要は準備中です。原文の説明を表示しています。
Run the guarded repository sync ritual; the hooks your pre-commit config declares enforce the quality gates.
日本語の概要は準備中です。原文の説明を表示しています。