docs: Add additional non-determinism rules to workflow guide for agents#7806
docs: Add additional non-determinism rules to workflow guide for agents#7806c-warren wants to merge 3 commits intocadence-workflow:masterfrom
Conversation
🔍 CI failure analysis for 0981f38: 1 flaky Cassandra integration test failure due to schema event buffer overflow during rapid schema operations—unrelated to documentation changes in this PR.OverviewAnalyzed 2 CI logs from 1 unique failure pattern. The single failure is a Cassandra persistence integration test that encountered a schema event buffer overflow, a known infrastructure issue unrelated to the PR's documentation-only changes. FailuresCassandra SchemaEvents Buffer Overflow (confidence: high)
Summary
Code Review ✅ Approved 2 resolved / 2 findingsDocumentation update to the workflow guide adds non-determinism rules for agents, addressing home directory path portability and formatting issues. No remaining issues found. ✅ 2 resolved✅ Bug: Go style guide references non-portable home directory path
✅ Quality: CLAUDE.md missing trailing newline
Rules ❌ No requirements metRepository Rules
2 rules not applicable. Show all rules by commenting Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
themavik
left a comment
There was a problem hiding this comment.
Sections on GetVersion plus workflow.Channel/workflow.Selector in CADENCE-WORKFLOWS.mdc spell out real nondeterminism foot-guns. nit: new root AGENTS.md and always-on .cursor/rules/agents.mdc is a wider policy change than the workflow doc—splitting that out keeps the workflow guidance easy to merge on its own.
What changed?
Updated the structure for our agent-guiding prompts to be agent agnostic, added additional rules to prevent non-determinism in workflow code.
Why?
There were additional ways to cause non-determinism that we have found while working on rules for agents writing workflow code. These have been added to our existing documentation, which lives in this repository.
Longer term we would like to move the rules somewhere that can be consumed by people/agents that are writing client code, where it will be most useful.
Additionally I've updated some of our agent memory/guidance to be tool agnostic, and updated the tool specific guidance to point to the generic guidance.
How did you test it?
I queried agents at runtime to find out what and how they loaded their context to validate that AGENTS.md was used.
Potential risks
These are just documentation changes, mostly for agents when writing code within our repository.
Release notes
N/A
Documentation Changes
These changes do not require documentation changes in our public docs repo.