Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion patterns/archetypes/code-health-auditor.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"Scope each run to one structural dimension (file size, duplication, complexity) rather than a broad audit",
"Use tracker-id and skip-if-match so a scheduled run doesn't reopen the same finding every day",
"Set expires on the created issue or pull request so stale findings don't accumulate",
"Assign findings to copilot so remediation can be picked up automatically"
"Assign findings to copilot so remediation can be picked up automatically",
"Persist the history of previously-audited structural dimensions in cache-memory and weight selection toward ones not covered in recent runs, so scheduled runs rotate through file size, duplication, and complexity instead of repeating the same dimension"
],
"anti_patterns": []
}
3 changes: 2 additions & 1 deletion patterns/archetypes/code-improvement.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"Scope each run to one narrow, well-defined improvement (a single failing check or a named category of fix) rather than an open-ended \"fix anything broken\" mandate \u2014 broad, unscoped code-improvement workflows have the lowest observed success rates",
"Use explicit DO NOT constraints to keep changes scoped to the requested improvement",
"Use protected-files: fallback-to-issue for manifests, CI configuration, and agent instructions",
"Add a pre-activation step that skips scheduled runs once too many open PRs share your title prefix, to avoid spamming maintainers"
"Add a pre-activation step that skips scheduled runs once too many open PRs share your title prefix, to avoid spamming maintainers",
"When rotating across several improvement categories (e.g. code quality, testing, docs, performance), persist the history of previously-selected categories in cache-memory and weight selection toward ones not covered in recent runs, so scheduled runs don't repeatedly re-select the same category"
],
"anti_patterns": [
"ci-coach",
Expand Down
3 changes: 2 additions & 1 deletion patterns/archetypes/performance-nut.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"Make one focused change and compare before-and-after results",
"Do not trade correctness or maintainability for speculative speedups",
"Add a pre-activation step that skips scheduled runs once too many open PRs share your title prefix, to avoid spamming maintainers",
"Constrain create-pull-request with allowed-files scoped to the changed source files, and set protected-files: fallback-to-issue for manifests, CI config, or agent instruction files"
"Constrain create-pull-request with allowed-files scoped to the changed source files, and set protected-files: fallback-to-issue for manifests, CI config, or agent instruction files",
"When scanning multiple bottleneck categories (e.g. code-level, data, network/I-O), persist previously-selected categories in cache-memory and weight toward ones not covered in recent runs so a scheduled cadence explores the full space over time"
],
"anti_patterns": []
}
Loading