본문으로 건너뛰기
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.md4.2 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). Say whose words the record carries with --source operator|agent (default agent): pass operator only for the operator's own words; an agent's reading of them stays agent (operator ruling 2026-10-18). When the record replaces an earlier one, name it with --supersedes <ts>; a ts no record carries is refused before anything is written.

  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>"] \
      [--source operator|agent] [--supersedes <ts>]
    
  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.
  • One insight_recorded event is appended to the ledger naming the record: its ts, a SHA-256 of the line, the source, and any supersedes. A recorded line edited by hand afterwards fails gz validate --insights-shape.

Before a recorded failure becomes a rule

A single failure stays an insight (maxim 13). To propose that a recurring failure become a rule, cite its records and run the recurrence check; propose the rule only on exit 0:

uv run gz insights recurrence <insight-ts> '#<N>' '#<M>'

You judge that the cited records share one class of failure; the verb checks only the count against data/recurrence_threshold.json and that every pair is a session lease apart. Manpage: docs/user/manpages/insights-recurrence.md.

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"

리뷰

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

댓글

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

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

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

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

ghi-close

무료

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

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

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

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

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

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

git-sync

무료

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

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

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

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

tvproductions의 스킬 모두 보기

이 스킬의 문제 신고