conformance-testing
Skill1 starsChanged 38 days agoApache-2.0View on GitHub
Design the test strategy for a Loams migration: unit, contract, integration, conformance, failure injection, load, and upgrade tests, with the gates that let a stage pass. Use when building the pilot or preparing for cutover.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- GoogleCloudPlatform/gcsfuse-toolstheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- GoogleCloudPlatform/gcsfuse-tools★ 10same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- company/AGENTS.mdAGENTS.md
- agent-platformSkill
- app-migrationSkill
- byog-deploySkill
- cutover-operationsSkill
- data-migrationSkill
- decision-recordsSkill
- identity-authzSkill
- loams-adoptionSkill
- loams-fitSkill
- loams-rust-sdkSkill
- observability-meteringSkill
- rust-workspaceSkill
- sdk-portabilitySkill
- stack-inventorySkill
- target-architectureSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
Pin fixtures: Use the shared corpus for SDK behaviour.
- Distinctive: line 50
Test consistency: Write, read in another process with the token.
- Distinctive: line 70
Do not test only the happy path.
- Distinctive: line 71
Do not load-test production without a stop switch and an owner.
- Distinctive: line 72
Do not accept an upgrade without a rollback path.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Conformance testing
The question is not "does it compile?" but "does it behave the same under failure, replay, and load?".
When to use
- Stage 3, before the pilot is called done.
- Stage 4, before data migration.
- Stage 5, before cutover.
- A cross-language or upgrade regression appears.
Inputs
- The service contract and SLOs.
reference/sdk/runtime-contract.mdandreference/sdk/fixtures.md.- The company's test infrastructure and CI.
Layers
| Layer | What it proves |
| Unit | Domain invariants; no I/O |
| Contract | The API shape and error codes callers depend on |
| Integration | The service against a real loams dev |
| Conformance | The SDK follows R1–R14 across languages |
| Failure injection | Timeouts, retries, duplicate writes, partial failure |
| Load | p95/p99, saturation, queue lag, recall |
| Upgrade | A version change does not break data or clients |
| Restore | A backup can be restored inside the RTO |
Procedure
- Write the acceptance gates per stage in
company/testing/acceptance.md. - Pin fixtures. Use the shared corpus for SDK behaviour; add company fixtures for the domain.
- Test idempotency. Send the same mutation twice; assert one effect and the same consistency token semantics.
- Test consistency. Write, read in another process with the token; assert read-your-write when required.
- Inject faults. Drop connections, delay, return
Unavailable,ResourceExhausted, andDeadlineExceeded; assert bounded retries. - Load test at 2× expected peak; record p95/p99 and the saturation point.
- Upgrade test on a copy: old data, new binary, old client, new client.
- Restore drill from the disk snapshot and the bucket.
- Wire CI: unit/contract on every PR; integration nightly; load and upgrade before a release.
Outputs
company/testing/acceptance.md.company/testing/load-plan.md.- CI jobs and fixtures.
- A gate report per stage.
Guardrails
- A green unit suite is not a conformance result.
- Do not test only the happy path.
- Do not load-test production without a stop switch and an owner.
- Do not accept an upgrade without a rollback path.
References
- Runtime contract
- Fixtures
- Migration playbook
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

