本文へ移動
cccskills
無料GitHub で公開

gz-insights-remember

Use when the operator course-corrects or a defect, resolution or discovery needs recording through gz insights remember.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

gz insights remember

Purpose

Wield gz insights remember to append one schema-valid record to the append-only insights store at .gzkit/insights/agent-insights.jsonl (GHI #575). The store accumulates four trust-bearing record kinds — defect, defect-resolution, improvement, discovery — and was historically hand-appended, which drifted from the InsightRecord schema (date-only timestamps, malformed evidence, missing required fields). remember closes that gap: it constructs an InsightRecord first (validating type, scope, summary) and only then serializes and appends — a missing or malformed required field fails closed (non-zero exit, no line written) before it ever reaches disk. This verb replaces hand-authoring a JSONL line for the insights store.

Procedure

  1. Identify the record kind via --type: defect (an observed problem), defect-resolution (the fix outcome), improvement (a post-correction lesson — the record AGENTS.md § Behavior Rules requires when the operator course-corrects in flight; rationale in docs/governance/behavior-rules.md § Always #11), or discovery (a survey finding).

  2. Supply --scope (the surface or skill the record names) and --summary (a one-sentence record body). Both are required and fail closed when empty.

  3. Optionally attach --evidence <command-or-path> (repeatable — pass it once per witnessing command or file) and --next-action <text> (what changes structurally to prevent recurrence).

  4. Run the capture:

    uv run gz insights remember --type <defect|defect-resolution|improvement|discovery> \
      --scope <surface-or-skill> --summary "<one-sentence body>" \
      [--evidence <command-or-path> ...] [--next-action "<structural change>"]
    
  5. The command fails closed (non-zero exit, no line written) when --type, --scope, or --summary is empty, or when --type is out of the InsightType enum — construction is what enforces the schema.

Validation

  • A new line is appended to .gzkit/insights/agent-insights.jsonl (the file/dir is created on first use).
  • The line's ts field is stamped with the current UTC instant automatically — no manual timestamp is ever required.

Example

# Record a course-correction insight
uv run gz insights remember --type improvement --scope obpi-pipeline \
  --summary "governed author verb replaces hand-authored appends" \
  --next-action "delete the hand-authored append path"

# Record a defect with witnessing evidence
uv run gz insights remember --type defect --scope gzkit.insights \
  --summary "verb drifted from schema" \
  --evidence "uv run -m unittest tests.commands.test_insights_cmd"

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

tvproductions/gzkit92026年10月18日 更新

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月18日 更新

ghi-close

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

tvproductions/gzkit92026年10月18日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

tvproductions/gzkit92026年10月18日 更新

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月18日 更新

git-sync

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

tvproductions/gzkit92026年10月18日 更新

tvproductions のスキルをすべて見る

このスキルの問題を報告する