|
| 1 | +{ |
| 2 | + "strictness": 1, |
| 3 | + "commentTypes": ["logic", "syntax", "style", "info"], |
| 4 | + "triggerOnUpdates": true, |
| 5 | + "triggerOnDrafts": true, |
| 6 | + "ignorePatterns": "node_modules/**\ndist/**\ncoverage/**\nthird_party/**", |
| 7 | + "statusCheck": true, |
| 8 | + "statusCommentsEnabled": true, |
| 9 | + "updateExistingSummaryComment": true, |
| 10 | + "summarySection": { |
| 11 | + "included": true, |
| 12 | + "collapsible": true, |
| 13 | + "defaultOpen": false |
| 14 | + }, |
| 15 | + "instructions": "This is a public MIT open-source TypeScript/Bun monorepo. Review every PR as SPEC DRIVEN DEVELOPMENT: compare the diff with README.md, repository Markdown docs, linked issues, PR description, PR comments and the relevant codebase. Flag spec drift, undocumented behavior changes, missing tests for promised behavior, high-confidence security risks, weak formal invariants, and game-theory incentive problems.", |
| 16 | + "rules": [ |
| 17 | + { |
| 18 | + "id": "spec-source-required", |
| 19 | + "rule": "Every behavioral change must be traceable to a visible source of truth: linked issue, PR description, PR discussion, README/docs, or changed-code reference. If the spec is missing, ask the author to add it before approval.", |
| 20 | + "severity": "high" |
| 21 | + }, |
| 22 | + { |
| 23 | + "id": "spec-alignment", |
| 24 | + "rule": "Flag any change that contradicts the visible issue/TZ/spec, PR discussion, README/docs, or changes behavior without documentation.", |
| 25 | + "severity": "high" |
| 26 | + }, |
| 27 | + { |
| 28 | + "id": "security-review", |
| 29 | + "rule": "Look for injection, path traversal, secret leaks, unsafe Docker/GitHub Actions settings, supply-chain risk, and cross-container isolation regressions.", |
| 30 | + "severity": "high" |
| 31 | + }, |
| 32 | + { |
| 33 | + "id": "formal-verification", |
| 34 | + "rule": "Assess which invariants, preconditions, and postconditions are mathematically defensible. Flag weak or unstated invariants when they affect correctness.", |
| 35 | + "severity": "medium" |
| 36 | + }, |
| 37 | + { |
| 38 | + "id": "game-theory", |
| 39 | + "rule": "Assess whether the implementation creates incentives to bypass intended rules or safety controls. Suggest a stronger mechanism when incentives are misaligned.", |
| 40 | + "severity": "medium" |
| 41 | + } |
| 42 | + ] |
| 43 | +} |
0 commit comments