Night Market Completion-Integrity Campaign
A five-phase (P0–P4) executable campaign that binds an autonomous loop's "done" signal to gates the agent cannot fake.
What it does
Attacks the hardest problem in agentic loops: an agent declaring itself finished. It lays out a gated path to earn the promotion of the completion_integrity flag from default-off to default-on.
- P0 — Reproduce baselines: run each plugin's pytest suite from inside its directory, feed JSON probes to the herald Stop hook and compare verdicts.
- P1 — Shadow-read the manifest with the flag off, then opt in on a single bounded work item (with the full stop/relaunch machinery explained first).
- P2 — Measure false-stop and false-continue rates against thresholds registered before the first measurement.
- P3 — Adversarial self-test: talk past the judge, forge the manifest, mutation-prove every new check.
- P4 — Change control: ADR, failing-test-first default flip, doc sweep, CHANGELOG, rollback note.
It also ships a solution menu ranked by fake-resistance and a table of fenced-off wrong paths (hook timeouts above budget, self-judging generators, env-var payload assumptions).
Who it's for
- Maintainers and contributors of the claude-night-market repo (egregore / herald / imbue plugins)
- Engineers who want loop termination enforced in code, not in prompt instructions
- Teams adopting prover–verifier separation and mutation-proven gates as a standard
Caveat: it is pinned to specific commit hashes, exact test counts and plugin paths, so outside that repository only the methodology transfers.
Examples
- Baseline run: "Execute P0" → run the egregore, herald and imbue suites from their own directories and verify all three herald smoke probes emit the documented JSON.
- Count shadow false completions: parse
.egregore/manifest.jsonfor items markedcompletedthat still carry afix-requireddecision, and record the count as the P2 baseline. - Break the gate on purpose: hand-edit an item's status to
completed, pipe a stop event into the egregore Stop hook, and document that nothing cross-checks decisions against status.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/athola/claude-night-market/HEAD/.claude/skills/night-market-completion-integrity-campaign/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .claude/skills/night-market-completion-integrity-campaign folder from the GitHub repo athola/claude-night-market into my ~/.claude/skills/night-market-completion-integrity-campaign/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/athola/claude-night-market.git && mkdir -p ~/.claude/skills && cp -r claude-night-market/.claude/skills/night-market-completion-integrity-campaign ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and move to your working directory.
- Clone the repository:
git clone https://github.com/athola/claude-night-market.git - Create the skills directory if needed:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r claude-night-market/.claude/skills/night-market-completion-integrity-campaign ~/.claude/skills/ - Because the skill references in-repo plugins and tests, launch Claude Code from the cloned
claude-night-marketroot. - Prerequisites:
uv,python3, andrg(ripgrep) must be installed. - Restart Claude Code and ask something like "start the completion-integrity campaign at P0" to trigger the skill.