precondition-enumeration
/precondition-enumeration
List every state, role, flag and prior action your proof depends on, so reproduction works on the first attempt and triage never has to guess what setup the test assumed. Use when the proof requires a specific starting state to trigger
- Author
- Wsh7Ash ↗
- Repository
- payloadlab ↗
- Licence
- MIT
- Last repository change
- 28.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 2
No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
List every state, role, flag and prior action your proof depends on, so reproduction works on the first attempt and triage never has to guess what setup the test assumed. Use when the proof requires a specific starting state to trigger
Original author description
List every state, role, flag and prior action your proof depends on, so reproduction works on the first attempt and triage never has to guess what setup the test assumed. Use when the proof requires a specific starting state to trigger
How it works
- Procedure
- Signals
- Patterns
- Pitfalls
- Done when
- References
SKILL.md preview
--- name: precondition-enumeration description: "List every state, role, flag and prior action your proof depends on, so reproduction works on the first attempt and triage never has to guess what setup the test assumed. Use when the proof requires a specific starting state to trigger" pack: payloadlab version: 1.0.0 category: defensive-security tags: [setup, hypothesis, reproduction] --- # Precondition Enumeration > List every state, role, flag and prior action your proof depends on, so reproduction works on the first attempt and triage never has to guess what setup the test assumed **Use when:** the proof requires a specific starting state to trigger **Avoid when:** the behavior occurs on a default install with no setup beyond an account ## Procedure 1. List every precondition: role, plan tier, feature flag, prior action, data rows and account age. 2. Order them so the chain executes top to bottom without improvisation or hidden knowledge. 3. Mark each as default, product-obtainable or requiring privileged access to establish. 4. State time dependence: how long setup takes and how long the precondition remains true. 5. Follow the chain literally from a clean environment and fix every ambiguity you hit. 6. Attach the ordered chain to the record, separate from the trigger steps themselves. ## Signals - The proof assumes two roles in different tenants without stating how that state was created. - A feature flag must be enabled and the method of enabling it was never recorded. - The trigger requires accumulated data, so anyone reproducing today cannot match your conditions. - Triage's first reply is a request for the missing setup, which this chain would have supplied. ## Patterns **1. Chain line** ```text 1=create-tenant-a 2=create-tenant-b 3=b-creates-order 4=flag-on 5=a-attempts-read expect=denied ``` **2. Flag note** ```text flag=new-flow default=off how-enabled=admin-console persists=until-redeploy note=state-this ``` **3. Time dep** ```text precondition=account-age>30d implication=cannot-repro-today mitigation=seed-or-wait note=declare-it ``` ## Pitfalls - Describing setup as narrative prose, forcing the reader to re-derive the order. - Assuming a precondition is default when your own earlier testing enabled it. - Omitting time-dependent state, which makes the proof appear non-reproducible to everyone else. - Mixing prerequisites into trigger steps so neither section can be followed alone. ## Done when - Preconditions are listed in executable order with their source classified. - Time dependence and persistence are stated for each. - The chain has been followed literally from a clean state with ambiguities fixed. ## References - [OWASP - testing guidance for test cases](https://owasp.org/www-project-web-security-testing-guide/) - [ISO 29147 - vulnerability disclosure](https://www.iso.org/standard/72311.html)
Versions
The database has no other skills named precondition-enumeration.
Database snapshot: 13.11.2026 · package version 64b24750fd48 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100prerequisite-chain-documentation
Document every precondition a defect depends on, in order, so triage can rebuild your exact starting position instead of guessing at what state the test assumed. Use when a defect only fires after a specific sequence of setup, roles, flags or data exists - 100reproduction-planning
Plan the exact reproduction before touching the system: what precondition, what request or input, and what observation counts as success. Use when a report claims a behavior you have not yet seen and you need an honest attempt to see it or fail to see it - 100session-state-hygiene-during-tests
Control cookies, tokens and cached state during the proof so the identity you think you are testing is the identity actually being tested, run after run. Use when the proof depends on a specific role, account or session boundary - 90reproduction-first
Build a reliable, minimal reproduction before you write a fix so you can prove the bug is actually gone. Use when a report is vague, intermittent, or "works on my machine" and you need solid ground under the debugging. - 90test-and-verify
Test and verify one behavior through a tight evidence loop: baseline, failing proof when useful, minimal edit, and final proof. Use for tests, verification, TDD, regression-proofing, smoke checks, readiness validation, or prove-change.