Rule
Inspect the real codebase before writing code.
What AgentOps Enforces
- Search for existing patterns before adding new abstractions.
- Read the files that own the behavior you are changing.
- Identify validation commands before implementation begins.
- Write down the relevant findings so implementation starts with evidence, not vibes.
Failure Signal
- The patch duplicates a helper that already exists.
- The code passes a narrow test but violates local architecture.
- The agent says "I assume" when the repo can answer the question.
- Implementation starts before the relevant files have been opened.
Done Looks Like
Before editing, the agent can name the owner files, the local pattern, the risk, and the command that will prove the change.