workflow-cross-field-testing

workflow-cross-field-testing is a cursor rule for Cursor from Intrafere/MOTO-Autonomous-ASI. It costs 461 tokens per session, scanned A, original, MIT.

A removable testing layer for checking MOTO’s cross-field workflows and product rules. It combines executable invariants, controlled scenarios, fake dependencies, isolated results, risk analysis, and a support graph without becoming part of the production program.

In plain words
What is it for?
Use it to add or review workflow invariants, scenario tests, deterministic state checks, real-code adapters, generated artifacts, and test plans that can be removed safely.
Why use it?
It lets the project verify complex workflows while keeping production behavior independent of test folders and test-only code.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to add or review workflow invariants, scenario tests, deterministic state checks, real-code adapters, generated artifacts, and test plans that can be removed safely.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/intrafere/moto-autonomous-asi/workflow-cross-field-testing
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.

Clone the repo
git clone --depth 1 https://github.com/Intrafere/MOTO-Autonomous-ASI

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 workflow-cross-field-testing

README.md
[![agentmods](https://agentmods.dev/badge/rules/intrafere/moto-autonomous-asi/workflow-cross-field-testing.svg)](https://agentmods.dev/rules/intrafere/moto-autonomous-asi/workflow-cross-field-testing)
Your own site
<a href="https://agentmods.dev/rules/intrafere/moto-autonomous-asi/workflow-cross-field-testing"><img src="https://agentmods.dev/badge/rules/intrafere/moto-autonomous-asi/workflow-cross-field-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 461 This file is loaded in full into every session.
When invoked 461 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00461 $0.00461
Opus 5 $0.00230 $0.00230
Sonnet 5 $0.00092 $0.00092
Haiku 4.5 $0.00046 $0.00046

Measured 8d ago against content hash 7e123a4aadd8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

workflow-cross-field-testing 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 8d 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/workflow-cross-field-testing.mdc · 40 lines

How it starts

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

Cross-Field Workflow Testing

#1 Rule: The Testing System Must Remain a Removable Overlay

The testing system is its own system that sits on top of the current production program. Production code, launch paths, builds, and runtime behavior must never depend on the testing folders, test artifacts, test-only imports, or test-only state. A user must be able to delete the entire testing system (including tests/ and generated test artifacts) and still have a fully functioning MOTO program with unchanged production behavior. This separability requirement takes priority over every other testing rule.

MOTO uses a project-specific testing overlay that combines executable product-law invariants, deterministic state recombination, bounded real-code adapters with faked dependencies, isolated scenario/result artifacts, inverse target-risk analysis, and a support graph.

  • Treat tests/workflow_harness/invariant_catalog.py and tests/workflow_testing_plans/02_invariant_catalog.md as the stable product-law catalog. Add invariant IDs instead of renaming existing IDs.
  • Keep the overlay removable and behavior-neutral. Never add production dependencies on the testing system, runtime shortcuts, hidden stops/caps, impossible state transitions, or production-only test behavior.
  • Keep external providers, Lean/SMT, browser services, credentials, and mutable runtime roots faked, blocked, or isolated unless a test explicitly owns that integration.
  • Record safely unobservable interactions as blocked; never report synthetic coverage as a real-code pass.
  • Run focused tests while developing and npm run test:workflows after workflow-test or deterministic-artifact changes.
  • Run npm run test:deep after every major build and after substantial orchestration, persistence, provider, proof, prompt/RAG, event-contract, runtime-root, or cross-mode change. It is additive: run npm test separately for normal backend/frontend coverage.
  • Regenerate deterministic cross-field artifacts with python -m tests.workflow_cross_field.artifacts when their inputs change, then verify that the checked-in projection is clean.

Read the full file on GitHub · 40 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. 8d ago First seen · 40 lines · 461 tokens per session scan A 7e123a4aadd8

Subscribe to this mod's changes

workflow-cross-field-testing is a cursor rule published in the GitHub repository Intrafere/MOTO-Autonomous-ASI (83 stars, last pushed 4d ago), licensed MIT. It adds 461 tokens to every session, about $0.0023 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-30.