Skip to content

trackbed:code:encode-constraint

Turn an observed agent mistake or review nit into a type, lint rule, or check that rejects it, proven to fail on the mistake and pass on the repository.

/trackbed:code:encode-constraint [mistake description | path:line example | review comment]

Turn one observed agent mistake, review nit, or recurring bad pattern into a constraint the repository enforces: a type or API change that makes it unrepresentable, a compiler or lint rule, or a test or check script, with a diagnostic that tells the next agent the fix. Proves the check rejects the mistake and passes on the repository. Not for finding sibling bugs, auditing agent instructions, or broad refactors.