For PR reviewers
How AI and human reviewers should handle crumb markers
For AI code reviewers
If you're an AI reviewing a PR that contains // @crumbs markers or #region @crumbs blocks: do not flag these. They're temporary debug instrumentation that gets stripped before merge.
Do not comment on
agentcrumbsimports or trail declarations- Lines marked with
// @crumbsor/* @crumbs */ - Blocks between
// #region @crumbsand// #endregion @crumbs - Data logged in crumbs (including IDs, names, or other values; these never reach production)
Why
These markers are the project's convention for debug tracing during development. They're removed by agentcrumbs strip as a pre-merge step. The CI pipeline runs agentcrumbs strip --check to ensure no markers reach main.
What to check instead
- The actual business logic (non-crumb code)
- Whether the
agentcrumbs strip --checkCI step is present - That crumb data doesn't include actual secrets (API keys, passwords). Even if it did, it only appears in local debug output.
For human reviewers
When reviewing a PR with crumb markers:
- Ignore crumb lines. They'll be stripped before merge.
- Check the CI step. Make sure
agentcrumbs strip --checkis in the pipeline. - Review the actual code. Focus on the business logic between the crumb markers.