STAGE_S6_TEST_CASES

STAGE_S6_TEST_CASES is a cursor rule for Cursor from SilenceInsect/AIDocxWorkFlow. It costs 98 tokens per session (53,570 once invoked), scanned A, original, MIT.

A workflow stage that creates detailed test cases from a previous stage's test points. It checks coverage explicitly and records anything not covered in an omission ledger, a file that lists unresolved gaps.

In plain words
What is it for?
Use it to turn `test_points.json` into test cases, track coverage, record omissions, and check that all required test points are addressed.
Why use it?
It makes missing requirement coverage visible instead of optimizing only for a small number of tests. It also validates its required input before generating cases.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/silenceinsect/aidocxworkflow/stage_s6_test_cases
Clone the repo
git clone --depth 1 https://github.com/SilenceInsect/AIDocxWorkFlow

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for STAGE_S6_TEST_CASES

README.md
[![agentmods](https://agentmods.dev/badge/rules/silenceinsect/aidocxworkflow/stage_s6_test_cases.svg)](https://agentmods.dev/rules/silenceinsect/aidocxworkflow/stage_s6_test_cases)
Your own site
<a href="https://agentmods.dev/rules/silenceinsect/aidocxworkflow/stage_s6_test_cases"><img src="https://agentmods.dev/badge/rules/silenceinsect/aidocxworkflow/stage_s6_test_cases.svg" alt="Measured on agentmods" height="20"></a>
Per session 98 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 53,570 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00098 $0.53570
Opus 5 $0.00049 $0.26785
Sonnet 5 $0.00020 $0.10714
Haiku 4.5 $0.00010 $0.05357

Measured 3d ago against content hash 905c91646d97, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

STAGE_S6_TEST_CASES scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/STAGE_S6_TEST_CASES.mdc · 770 lines

How it starts

The opening of the file, as written. The whole thing — 770 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AIDocxWorkFlow S6 — 测试用例生成

独立阶段:可以单独调用。上游材料(S5 test_points.json)审查合格后开始,失败写失败报告。

第一原则

S6 当前不是在做代码实现,也不是在写最短答案,而是在闭合需求覆盖缺口。 默认目标不是最少用例,而是基于 coverage_ledger.json 显式完成覆盖;任何未闭合点必须进入 omission_ledger.json。


阶段入口

触发方式:/aidocx-s6-test-cases 或粘贴 S5 test_points.json

前置材料(必须全部满足):

材料 来源 审查要求
S5 test_points.json(必须读取) workflow_assets/<req_name>/<version>/「S5 测试点生成」/test_points.json 每个 TP 含 module / test_point_type
S2 backlog(必须读取) workflow_assets/<req_name>/<version>/「S2 需求拆解」/backlog.md 作为优先级参考
S4 business_flow.md(必须读取) workflow_assets/<req_name>/<version>/「S4 流程图导出」/business_flow.md 用于理解业务流程和风险场景
模块子模板(必须读取) knowledge/public/module_templates/(按 TP 的 module 字段) 每个模块的子类枚举决定 TC 方法选择

Read the full file on GitHub · 770 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 770 lines · 53,570 tokens per session scan A 905c91646d97

Subscribe to this mod's changes

STAGE_S6_TEST_CASES is a cursor rule published in the GitHub repository SilenceInsect/AIDocxWorkFlow (2 stars, last pushed 1mo ago), licensed MIT. It adds 98 tokens to every session and 53,570 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.