AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Agentic Test Update

skill-jpbaking-agentic-tests-agentic-test-update · by jpbaking

Reconcile agent tests after the user INTENTIONALLY changed main-code behavior — show each failing agent test as old-locked vs new-actual behavior, and update tests only with per-diff user confirmation. Use when agent tests fail after a deliberate behavior change.

No reviews yet
0 installs
35 views
0.0% view→install

Install

$ agentstack add skill-jpbaking-agentic-tests-agentic-test-update

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jpbaking-agentic-tests-agentic-test-update)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Agentic Test Update? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Agentic Test Update

Agent tests lock old behavior; the user changed behavior on purpose. This skill re-locks — but only where the user confirms the change was intended. Unconfirmed failures are potential regressions and must stay failing.

RULES

  1. NEVER edit main code or user tests. Only agent tests and plan files.
  2. Never update a test without the user's explicit per-diff confirmation. No batch "update all".
  3. An updated test must assert the NEW actual behavior (test-quality rules from agentic-unit-test apply). Never weaken a test to pass both old and new behavior.

Step 1 — Collect failures

  1. Run the full agent-test suite.
  2. All green? Report "nothing to update" and STOP.
  3. For each failing test, capture: test name, file, expected (old locked behavior), actual (new behavior). Group by source file.

Step 2 — Confirm with the user, per behavior change

For each group, show a compact diff and ask ONE question:

src/pricing.ts — 3 agent tests failing
  old locked: priceWithTax(0, 0.2) → 0
  new actual: priceWithTax(0, 0.2) → throws RangeError
Intended change? (yes = update tests to lock new behavior / no = keep failing as regression)

Record every answer in agentic-test-plan.md under a ## Behavior updates section: confirmed or regression.

Step 3 — Update confirmed tests

For each confirmed group:

  1. Rewrite the failing assertions to lock the NEW behavior. Keep test names honest (rename if the name describes old behavior).
  2. Run the test file 3× (flakiness check). 3 attempts; after the 3rd failure revert the test and mark it FAILED to update: in the plan.
  3. Lint if configured.

Leave every regression test untouched and failing.

Step 4 — Report

  • Updated: tests re-locked to new behavior (per file).
  • Regressions: failing tests the user did NOT confirm — listed loudly; the suite is intentionally left red until the user fixes main code or re-runs this skill.
  • Failed to update: 3-attempt casualties with reasons (or "none").
  • Final suite status: green, or red-with-known-regressions.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.