JimKrider

trip-resolve

Walk through BLOCKER and MAJOR findings from trip_check_report.md with the human, patch the target spec or doc cleanly, re-verify Key 1, and seal a SHA-256 hash-chained decision block into GROUNDING_LEDGER.md.

JimKrider 0 Updated 13h ago
GitHub

Install

npx skillscat add jimkrider/trip-sitter/trip-resolve

Install via the SkillsCat registry.

SKILL.md

Resolve Findings & Seal Grounding Block (/trip-resolve)

Run this skill after /trip-check to work through findings methodically, update the specification, and permanently record resolved hallucination patterns in the tamper-evident SHA-256 ledger (GROUNDING_LEDGER.md).

Inputs

  • ReportFile (default: trip_check_report.md): Output from /trip-check.
  • TargetFile: The spec, financial model doc, or plan being remediated.
  • LedgerFile (default: GROUNDING_LEDGER.md): Append-only hash-chained ledger conforming to grounding-ledger.md.

Execution Protocol

Step 1: Triage Findings Without Rationalization

  1. Read ReportFile and group open items strictly by severity: all BLOCKER items first, then MAJOR, then optional NIT items.
  2. For each BLOCKER or MAJOR finding that requires a judgment call (e.g., architectural trade-off, scope cut, or model assumption), present the finding concisely with concrete resolution options and wait for human direction.
  3. For purely factual/mechanical defects (broken file path, dual-packed numeric cell, missing acronym expansion), propose the exact correction directly.

Step 2: Patch Target & Upstream Code/Tests

  1. Apply agreed edits cleanly to TargetFile.
  2. If a finding uncovered a bug in an upstream validator, schema, or script, patch the upstream code and add a regression test rather than papering over it in prose.

Step 3: Re-Run Key 1 & Seal SHA-256 Ledger Block

Resolve <plugin-root> (../../../ relative to this skill; . inside trip-sitter) and <target-repo> (. by default):

  1. Re-run deterministic Key 1 verification:
    python3 <plugin-root>/scripts/grounding_check.py \
      --audit-doc <TargetFile> --repo-root <target-repo>
  2. Seal the resolution into the hash-chained ledger:
    python3 <plugin-root>/scripts/grounding_check.py --seal-block \
      --repo-root <target-repo> \
      --ledger GROUNDING_LEDGER.md \
      --doc <TargetFile> \
      --summary "<concise summary of resolved blockers and permanent guard>"
  3. Verify the entire chain remains untampered:
    python3 <plugin-root>/scripts/grounding_check.py \
      --verify-ledger GROUNDING_LEDGER.md --repo-root <target-repo>

Step 4: Handoff

Report the sealed block_hash, summarize patched findings, and recommend re-running /trip-check <TargetFile> --recheck (skipping clean cached channels on Pass 2+, or proceeding to /trip-build once GROUNDED -- TWO-KEY GO is achieved).