Skip to content
Agentmart
Submit a tool

forge-archive

Archive a ForgeSpec task through the fail-closed evidence gate, then close the change when ready.

Skill by forgespec

IndexedMIT
Write a review

Chalk Labs

Need help deploying forge-archive?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tiagomoscoso-forge-archive

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Archive a ForgeSpec task through the fail-closed evidence gate, then close the change when ready.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/forge-archive

What's inside

Skill name
forge-archive
Description
Archive a ForgeSpec task through the fail-closed evidence gate, then close the change when ready.
License
MIT
Compatibility
Requires forgespec CLI.
Metadata
author: forgespec · version: 1.0 · generatedBy: 0.1.0
Instructions
94 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

Verify delivery before accepting a task. The question this skill answers is: is this genuinely good enough to accept as delivered — not "did the agent say it's done."

The CLI owns evidence freshness, validator execution, state transitions, waivers, and the archive/close mechanics themselves. This skill owns the semantic judgment the CLI cannot make: whether the implementation actually satisfies the requirement, stayed in scope, and holds up architecturally.

## Gather what you need

1. `forgespec agent context <task> --json` and `forgespec tool run evidence-inspection --task <task> --json` — the linked requirement(s), acceptance criteria, and what evidence already exists.

## Review across the dimensions that matter here

Not every dimension applies to every task; assess the ones that do.

**Correctness**
- Does the implementation actually satisfy the linked requirement(s)?
- Are the acceptance criteria genuinely met — including edge and failure cases, not just the happy path implied by the task title?
- Would this survive a realistic adversarial input, not just the example in the requirement?

**Scope**
- Did the implementation stay inside this task and this change?
- Was anything unrelated modified?
- Did the scope quietly expand beyond what the task described?

**Architecture**
- Does the implementation follow the direction change.md's Architecture/Decisions sections committed to?
- Did it introduce coupling that wasn't there before?
- Did it bypass an abstraction the codebase already uses?
- Does it live in the module that actually owns this behavior?

**Code quality**
- Clear responsibilities and readable naming.
- Manageable complexity.
- No obvious duplication of existing capability.
- No unnecessary cleverness.
- Appropriate error handling.
- Appropriate resource lifetime (nothing leaked, nothing double-freed/double-closed).

**Tests** — evaluate quality, not presence.
- Do the tests actually prove the requirement, with meaningful assertions?
- Do they cover the failure cases the requirement calls for?
- Were any tests weakened to make the implementation pass, rather than the implementation fixed to pass real tests?
- Is anything requirement-relevant left untested?
- Is the test level (unit/integration/manual) actually appropriate?
- Would the test still pass if the requirement were violated? If so, it isn't proving anything.

**Security** (when relevant)
- Input validation, authn/authz, secret handling.
- Trust boundaries, command execution, path handling.
- Injection risk, privilege boundaries, sensitive logging.

**Concurrency/reliability** (when relevant)
- Races, locking, atomicity, ordering.
- Retries and idempotency.
- Partial failure, recovery, and restart behavior.

**Compatibility** (when relevant)
- API compatibility.
- Persisted-data compatibility.
- Older clients and expected external behavior.

**Complexity**
- Challenge unnecessary abstraction.
- Challenge speculative extensibility the requirement didn't ask for.
- Challenge a diff that's large relative to what the requirement actually needed.

## Findings need a severity and an action, not a vibe

Classify every finding by severity:
- **CRITICAL** — a real defect against a requirement, acceptance criterion, or a hard boundary (security, data loss, scope). Blocks archive.
- **WARNING** — a real problem that doesn't block delivery but should be tracked and fixed.
- **SUGGESTION** — an optional improvement; the reviewer's opinion, not a defect.

Never downgrade a real correctness problem to WARNING because the implementation is mostly there — "mostly correct" is not correct. Make every finding actionable: name the requirement or acceptance criterion it violates and what would fix it.

Vague: "Consider improving this."
Actionable: "REQ-AUTH-003 requires expired tokens to be rejected, but TokenValidator accepts tokens when `exp` is missing. Add explicit `exp` validation and a regression test."

If any archive validator is `spec-compliance` or `code-review` (or another configured semantic validator), write your findings as the review JSON this rubric produces and submit it: `forgespec review submit <task> --validator <name> --file <review.json>`. Critical findings must be zero before the archive gate will accept that validator.

Semantic review complements deterministic evidence — it never replaces build, test, lint, or typecheck results, and it never substitutes for evidence that's actually stale.

## Run the gate, don't bypass it

`forgespec archive <task> --json`. This fails closed: there is no `--yes` or blanket bypass. The only escape hatch is `--waiver <validator> --reason <auditable reason>`, used only for a deliberate, reasoned decision to skip a specific validator — never to make a real failure disappear, and never claim a validator "passed" when it was actually waived.

## Close the change when it's actually ready

If `forgespec ready --json` reports `closeReady`, merge requirements into `forgespec/specs/` using `runtime/spec-sync.json`, then `forgespec close --change <id> --json`. Before closing, check that:
- every mandatory requirement's stable ID is actually present in the durable specs (`close` enforces this, but read the merge rather than trusting it blindly)
- no requirement text was lossy-summarized away during the merge
- the specs read coherently on their own, not just as a diff against change.md

Do not move files by hand. Archive and close are quality gates, not filesystem operations.

From TiagoMoscoso/ForgeSpec, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 11, 2026 (1 month ago)
Last release
Sep 11, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from forgespec

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get forge-archive running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying forge-archive?

CallGet help
Cite this page

forge-archive skill. Agent Mart. https://agentmart.dev/skills/tiagomoscoso-forge-archive (last updated 2026-10-24)