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

Production Readiness

skill-moai-team-llc-agentic-product-standard-production-readiness · by Moai-Team-LLC

Audit an agentic product against the 12-point Definition of Done before launch. Covers context, tools, permissions, reliability, evals, observability — the minimum bar for production. Use whenever the user is preparing to launch / ship / deploy an agentic product, asks "is this production-ready," wants a pre-launch checklist, or is doing a code review before going live.

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

Install

$ agentstack add skill-moai-team-llc-agentic-product-standard-production-readiness

Open-source listing, not yet scanned by AgentStack. Follow the source repository for install instructions.

Security review

⚠ Flagged

1 finding(s); flagged for manual review. · v0.1.0 How review works →

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

What it can access

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

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 →

Reliability & compatibility

Not yet reviewed
0 installs to date
no reviews yet
3mo 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 Production Readiness? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Production Readiness — 12-Point Definition of Done

An agentic product is not production-ready until all 12 points pass. Each point catches a class of failures that has hit real products.

This is an audit checklist, not a feature list. Walk through it with the user; mark each as pass, gap, or N/A with explicit reasoning. Gaps must be closed or accepted with eyes open.

The 12 points

Context and state

1. Context utilization 50 turns or > 30 min)
  • [ ] No critical info lost during compaction (verified by eval cases)
  • [ ] Compaction trigger is metric-driven, not turn-count-driven

Why: compaction that drops critical state silently is worse than no compaction.

Common gap: built compaction, never tested on a session long enough to need it.


Tools and permissions

4. Destructive actions require explicit human approval
  • [ ] List of destructive actions enumerated (deletes, writes, sends, charges, etc.)
  • [ ] Each one routes through an approval gate
  • [ ] Approval is logged with who/when/what

Why: Replit incident — agent wiped 1,200+ companies' data despite a "code freeze" prompt. Prompts don't enforce.

Common gap: "the prompt tells the agent not to delete production data" — insufficient.


5. Permissions enforced by code, not by prompt
  • [ ] Agent does not hold credentials that bypass permission boundaries
  • [ ] Permission gate is a separate code path the LLM cannot override
  • [ ] Even with prompt injection, agent cannot perform forbidden actions

Why: prompt injection is a real threat; LLM can be coerced; code cannot.

Common gap: OAuth scopes too broad; agent runs as superuser internally.


6. Tool execution sandboxed
  • [ ] Code execution in containers / VMs, not host environment
  • [ ] File operations in scoped working directories
  • [ ] Network access through allow-listed domains
  • [ ] Secrets never in context window; injected at tool boundary

Why: tool execution is an attack surface; treat it like any RPC exposed to untrusted input.

Common gap: agent has shell access with no sandbox.


Tenant isolation (if multi-tenant)

Skip this whole section if the product is single-tenant or deployed per customer. Otherwise every box must be checked — there is no partial cross-tenant isolation.

  • [ ] Isolation model chosen per data store (pooled + RLS / schema-per-tenant / DB-per-tenant) and recorded in the Agent Contract
  • [ ] tenant_id is part of the authenticated principal; a request with no resolvable tenant fails closed (no default tenant)
  • [ ] Isolation enforced below the LLM (row-level security or repository layer); verified to hold under prompt injection
  • [ ] Retrieval filtered inside the index (not post-top-k), memory namespaced, cache key includes tenant_id, traces tagged, sub-agent messages and background jobs carry the tenant
  • [ ] Tools ignore any model-supplied tenant; a mismatch is audited and rejected
  • [ ] A code-asserted cross-tenant leakage eval (canary seeded as A, queried as B incl. an injection variant) runs in CI

Why: an agent is a confused deputy — prompt-level isolation leaks. The first cross-tenant leak is a churn-and-lawsuit event, and retrofitting isolation is the migration nobody budgets for. See the tenant-isolation skill.

Common gap: a tenant-agnostic answer cache serving tenant A's response to tenant B; tenant_id passed as a tool argument the model can be talked into changing.


Reliability

7. Durable execution: pause/resume/retry works on killed process
  • [ ] Kill the agent process mid-execution; restart; verify it resumes
  • [ ] Retry policies defined per activity type
  • [ ] Human-wait signals work (agent can wait hours/days for approval)

Why: any agent running > 60s will hit a crash, restart, or wait — without durability, work is lost.

Common gap: "we tested the happy path" — production isn't the happy path.


8. Structured outputs validated by schema; assertions on critical path
  • [ ] Every LLM call returning structured data validates against schema
  • [ ] Code assertions on critical state transitions
  • [ ] No "parse this text output and hope" anywhere on the critical path

Why: unvalidated outputs cause silent corruption; assertions catch it early.

Common gap: regex-parsing LLM responses; works in dev, fails in production edge cases.


9. Guardrails on input and output (minimum: PII, jailbreak, schema validation)
  • [ ] Input guardrails: PII detection, jailbreak / prompt injection classifier
  • [ ] Output guardrails: schema validation, content policy, citation check
  • [ ] Guardrails run on real traffic, with metrics on hit rates

Why: defense in depth; multiple cheap guardrails beat one perfect one.

Common gap: no input guardrails; trusting the model to refuse.


Evals and observability

10. Eval set ≥ 50 examples per top-priority failure mode
  • [ ] At least 5 named failure modes (product-specific, not generic)
  • [ ] Each has ≥ 50 cases in the eval set
  • [ ] Cases sampled from real or representative traces

Why: generic evals don't catch product-specific failures; 50 cases give enough signal to detect regression.

Common gap: 20 cases of "helpfulness" — not enough, not the right thing to measure.


11. LLM-judges calibrated against human labels (TPR/TNR tracked)
  • [ ] Each LLM judge has ≥ 100 human-labeled examples for calibration
  • [ ] TPR and TNR both > 80%
  • [ ] Calibration re-run when judge prompt changes
  • [ ] TPR/TNR reported with every release

Why: uncalibrated judges produce meaningless scores; teams stop trusting evals and revert to vibe.

Common gap: built a judge; never measured if it agrees with humans.


12. CI blocks deploys on eval regression; 100% production traces logged
  • [ ] CI runs full eval suite on every PR
  • [ ] Merge blocked on regression vs main branch
  • [ ] 100% of production traffic produces traces
  • [ ] Traces include all required fields (see harness-engineering layer 7)
  • [ ] Trace retention sufficient for incident investigation (typically 30–90 days)

Why: evals without enforcement are theater; traces are the only way to debug failures after launch.

Common gap: evals exist but don't gate merges; tracing is sampled, missing the failures.


Audit posture

When running this audit with the user:

  • Walk through each point sequentially. Don't jump around.
  • For each: pass / gap / N/A with reason. "N/A because we don't have destructive actions" is fine; "N/A because we don't think it matters" is not.
  • Estimate effort to close each gap. Rank them by risk-adjusted cost.
  • Make the explicit launch decision. "Launch with these N gaps accepted, address in week 1" is a valid choice. "Launch and hope" is not.

Post-launch hardening (after the 12 points)

Once the 12 are met, the next tier of investments:

  • A/B testing infrastructure — compare new prompts/models/tools against current production
  • Cost telemetry per request, per user, per agent type — find the expensive calls
  • Failure runbooks — what to do when each named failure mode fires in production
  • Eval set growth from production — sample weekly, label, add to eval set
  • Model swap exercise — verify you can swap the model without breaking; trains the muscle
  • Multi-region deployment — if availability matters
  • Privacy controls and audit log — GDPR/CCPA compliance if you serve regulated users

Common "almost ready" patterns

Teams often have 10 of 12 covered. The common gaps are:

| Gap | Frequency | Severity | |---|---|---| | #11 (judge calibration) | Very common | High — invalidates eval scores | | #5 (code-enforced permissions) | Very common | Critical — Replit-class incident risk | | #2 (state externalized) | Common | High — first restart loses work | | #7 (durable execution tested) | Common | High — failure on first real crash | | #12 (CI gating) | Common | Medium — slow degradation over time |

If the user is short on time, prioritize closing these.

Output of this skill

When the audit completes, the user should have:

  1. A pass/gap/N/A scorecard across all 12 points
  2. Effort estimate to close each gap
  3. A risk-adjusted prioritization
  4. An explicit launch decision with accepted risks documented
  5. A 30-day hardening roadmap for post-launch

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.