[pull] main from PaulDuvall:main#23
Merged
Merged
Conversation
added 6 commits
May 22, 2026 10:47
Pair deterministic detectors with LLM remediators in an event-driven loop so codified rule violations are caught and fixed automatically before the AI session continues. - README.md: pattern section, reference-table row, overview diagram node, Pattern Dependencies diagram node, cross-links from Event Automation, Error Resolution, and Guided Refactoring; pattern count 29 - patterns.yaml: autonomous-remediation entry - index.html: overview diagram sync (new node + click link) - examples/autonomous-remediation/: working PostToolUse hook with AST smell detectors, secret scanner, fix-hint dictionary, retry budget, skip-list config Source: paulmduvall.com Feb 24, 2026 post on Claude Code hooks.
Add a callout in the Readiness Assessment pattern pointing readers to the free scorecard at redactedventures.com/scorecard so they can score themselves against the framework instead of doing it manually. Also fix a broken anti-pattern anchor in the autonomous-remediation example README (sub-headings under a pattern don't get their own anchors).
CI's pattern-count check caught that scripts/update-pattern-count.py needed to bump the index.html badge after the Autonomous Remediation pattern landed. Re-ran the script so README and index.html agree. Closes #17
The previous Choice Generation pattern reduced to 'ask one model for N options' — table stakes in 2026 since every IDE assistant ships alternative-completions natively. Reframe around running the same task across multiple frontier models (Claude/GPT-5/Gemini) where the disagreement is the eval signal. - README.md: rewritten pattern body with fan-out shell script, results-reading table, anti-patterns 'Single-Model Bias' and 'Voting Theater'. Old one-model-multiple-options content preserved as a 'Single-Model Alternatives' subsection. Updated reference table, top overview + decision-tree Mermaid diagrams (CG -> CMV), Pattern Selection prose, Success Metrics list, and 8 cross-pattern Related Patterns lines. - patterns.yaml: id/anchor/description/related-list updated. - index.html: overview diagram + Quick Start sync. - experiments/README.md + asynchronous-research/README.md: 3 cross-document links rewritten. - PATTERN_MIGRATION_GUIDE.md: appended rename + anchor mapping rows so the audit trail stays continuous. Pattern count unchanged at 29.
Following the catalog review, five patterns whose standalone slot was no
longer load-bearing have been merged, demoted, or archived:
- Question Generation -> merged into Planned Implementation as the
'Interview Phase' opening section. Same idea at a different zoom
level; Planned Implementation already began with 'Problem Definition.'
- Constrained Generation -> merged into Planned Implementation as the
'Constrain Phase' between interview and plan. Standalone was a 25-line
stub with zero incoming dependents.
- Automated Traceability -> merged into Spec-Driven Development as the
'Automated Traceability' subsection. Traceability is already implicit
in Spec-Driven's anchor + footnote system.
- Guided Architecture -> demoted to experiments/README.md (orphan, broad
'apply DDD with AI' framing that needs tightening before promotion).
- Baseline Management -> archived. 20-line stub on AI-set CloudWatch
thresholds; no incoming dependents and no plan to develop further.
Plus structural cleanup:
- Reference table: 5 rows removed, Planned Implementation row rewritten
- Top overview mermaid: 4 nodes removed (AT, CnG, GA, BM)
- Pattern Dependencies mermaid: Phase 3 trimmed, decision tree updated
- Pattern Selection prose: 8 cross-references rewired
- Related Patterns lines on 3 surviving patterns updated
- Operations section: empty Deployment + Monitoring subcategory headers
removed (single remaining pattern didn't justify subcategories)
- index.html: overview diagram + Quick Start synced
- patterns.yaml: 5 entries removed, planned-implementation rewritten
- Pattern count badge: 29 -> 24
External documentation that referenced the deleted anchors has been
rewired to surviving patterns (docs/, examples/, experiments/).
PATTERN_MIGRATION_GUIDE.md records every rename and anchor mapping so
the audit trail stays continuous.
tests/test_diagram.py: REQUIRED_DIAGRAM_PATTERNS class attribute now
holds the list instead of a redundant {name: name} dict, dropping
test_diagram_includes_all_patterns from 27 lines to 4. Pre-existing
unrelated violations in the same file (duplicate fixtures across three
test classes, three long unrelated test functions) are tracked
separately.
Dependabot flagged two open advisories for pytest < 9.0.3 (vulnerable tmpdir handling) in: - examples/spec-driven-development/requirements.txt - examples/security-sandbox/requirements-sandbox.txt These are illustrative requirements files for the examples — not on the project's CI test path — but they're the version pins readers copy when they clone an example. Strict == pins meant Dependabot couldn't auto- upgrade them. Loosened all pins to >= ranges (matching the style of requests>=2.32.4 already present in the sandbox file). Floors set to current versions with known CVE fixes so new clones don't pick up known-vulnerable versions on day one. Bumped at the same time: - pytest-cov 4.1 -> 5.0 - pytest-mock 3.12 -> 3.14 - flake8 6.1 -> 7.0 - mypy 1.7 -> 1.11 - pre-commit 3.6 -> 3.7.1 - pydantic 2.5 -> 2.7.4 - ipython 8.17 -> 8.26 - rich 13.7 -> 13.7.1 Closes GHSA-7w4j (Dependabot alerts #11 and #12 on PaulDuvall/ai-development-patterns).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )