claude-blueprint 2.0.5 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blueprint",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "Architecture Decision Records with teeth — 39 commands, 21 agents, 15 architecture paradigms. DDD bounded contexts, DCAR forces evaluation, reflexion model conformance, epistemic status tracking, Wardley strategic analysis, C4 diagrams, ATAM tradeoff analysis, risk heat maps, cross-repo federation, and configurable governance tiers. All with a cranky senior engineer persona.",
5
5
  "author": {
6
6
  "name": "pragnition"
package/hooks/hooks.json CHANGED
@@ -1,141 +1,4 @@
1
1
  {
2
- "description": "Blueprint architecture governance hooks. Pre-commit guard is opt-in (disabled by default). All others suggest actions without blocking.",
3
- "hooks": {
4
- "SessionStart": [
5
- {
6
- "matcher": ".*",
7
- "hooks": [
8
- {
9
- "type": "prompt",
10
- "prompt": "Periodic governance health nudge. This fires at session start — to avoid noise, only act roughly every 20 sessions: pick a random number 1-20 and only proceed if it equals 1. If proceeding: read config/state.toml (relative to the blueprint skill directory) and check the [last_operations] timestamps. If any operation has never been run (empty string) or exceeds its staleness threshold (evidence_audit >90d, audit >60d, evaluation >90d, drift >30d, risk_assessment >90d, reflect >60d, strategic_map >180d), output a single concise line: 'Governance checks overdue. Run /blueprint:nudge for details.' If all timestamps are current or you decided to skip this session, stay completely silent — produce no output at all.",
11
- "timeout": 5
12
- }
13
- ],
14
- "_comment": "Periodic health nudge — lightweight governance staleness check (roughly every 20 sessions)"
15
- }
16
- ],
17
- "PreToolUse": [
18
- {
19
- "matcher": "Write|Edit",
20
- "hooks": [
21
- {
22
- "type": "prompt",
23
- "prompt": "Check if this file change violates any accepted ADR invariant. If it does, warn the user with the specific ADR reference. If no ADRs exist or no violation is detected, approve silently.",
24
- "timeout": 10
25
- }
26
- ],
27
- "disabled": true,
28
- "_comment": "Pre-commit architecture guard (ADR-0026). Enable with /blueprint:hooks install guard"
29
- }
30
- ],
31
- "PostToolUse": [
32
- {
33
- "matcher": "Skill",
34
- "hooks": [
35
- {
36
- "type": "prompt",
37
- "prompt": "Check if the skill that just completed was a bug-fix workflow: rapid:bug-fix, gsd:debug, gsd:quick (with fix-related arguments). If so, suggest: 'A bug was just fixed. Run /blueprint:retro to classify the root cause and check if this warrants an ADR.' Do not block.",
38
- "timeout": 5
39
- }
40
- ],
41
- "_comment": "Retro-suggest after RAPID/GSD bug-fix workflows"
42
- },
43
- {
44
- "matcher": "Skill",
45
- "hooks": [
46
- {
47
- "type": "prompt",
48
- "prompt": "Check if the skill that just completed was a Feynman research skill: feynman:deepresearch, feynman:lit, feynman:compare, feynman:audit. If so, check if the research topic relates to any existing accepted ADR (technology choices, architecture patterns, design decisions). If it does, suggest: 'This research is relevant to [ADR-NNNN]. Run /blueprint:evidence set ADR-NNNN L1 to upgrade its evidence level, or update the ADR references section.' If the research covers a topic with no existing ADR, suggest: 'This research could support a new architectural decision. Run /blueprint:new --research \"[topic]\" to formalize.' Stay silent if the research has no architectural relevance.",
49
- "timeout": 10
50
- }
51
- ],
52
- "_comment": "Feynman research → ADR evidence pipeline"
53
- },
54
- {
55
- "matcher": "Skill",
56
- "hooks": [
57
- {
58
- "type": "prompt",
59
- "prompt": "Check if the skill that just completed was a GSD or RAPID planning/execution skill. Specifically look for: gsd:plan-phase, gsd:execute-phase, gsd:discuss-phase, gsd:autonomous, rapid:plan-set, rapid:execute-set, rapid:discuss-set. If one of these just completed successfully, check whether the work involved architectural decisions (new technology choices, pattern selections, API designs, data model changes, deployment strategies, infrastructure choices). If architectural decisions were made during the phase but no ADR was created, suggest: 'Architectural decisions were made during this phase. Run /blueprint:new to document them, or /blueprint:scope to check which bounded context is affected.' Be specific about which decisions you detected. If no architectural decisions were made (e.g., pure UI work, content changes, test additions), stay silent.",
60
- "timeout": 10
61
- }
62
- ],
63
- "_comment": "Cross-plugin integration: suggest ADRs after GSD/RAPID phase completion"
64
- }
65
- ],
66
- "SubagentStop": [
67
- {
68
- "matcher": "gsd-executor|gsd-planner|gsd-phase-researcher|rapid-executor|rapid-planner|rapid-research",
69
- "hooks": [
70
- {
71
- "type": "prompt",
72
- "prompt": "A GSD or RAPID agent just completed. Review its output for architectural decisions that should be documented as ADRs. Look for: new dependencies added, database/cache/queue choices, API pattern selections, module boundary definitions, deployment topology changes, authentication strategy decisions. If you find undocumented architectural decisions, suggest: 'The [agent] made architectural choices that should be recorded. Run /blueprint:new \"[specific decision topic]\" to document.' Only suggest for genuinely architectural decisions — not implementation details.",
73
- "timeout": 10
74
- }
75
- ],
76
- "_comment": "Detect architectural decisions made by GSD/RAPID agents"
77
- }
78
- ],
79
- "Stop": [
80
- {
81
- "matcher": ".*",
82
- "hooks": [
83
- {
84
- "type": "prompt",
85
- "prompt": "If an ADR was just accepted, rejected, or transitioned during this session, suggest: 'Run /blueprint:architect to update ARCHITECTURE.md and /blueprint:fitness to regenerate fitness functions.' Do not block.",
86
- "timeout": 5
87
- }
88
- ],
89
- "_comment": "Architecture-sync after ADR transitions (ADR-0034)"
90
- }
91
- ],
92
- "SessionEnd": [
93
- {
94
- "matcher": ".*",
95
- "hooks": [
96
- {
97
- "type": "prompt",
98
- "prompt": "Session is ending. Review the conversation for architectural decisions that were made but never documented as ADRs. Look for: technology choices (databases, frameworks, libraries), pattern selections (REST vs gRPC, monolith vs microservices), data model designs, deployment strategy changes, authentication decisions, API design choices, module boundary definitions. If you find undocumented architectural decisions, output a brief summary: 'Undocumented architectural decisions from this session:\\n- [decision 1] → /blueprint:new \"[topic]\"\\n- [decision 2] → /blueprint:new \"[topic]\"\\nRun these in your next session to formalize.' If no architectural decisions were made, stay silent.",
99
- "timeout": 15
100
- }
101
- ],
102
- "_comment": "Session-end sweep for undocumented architectural decisions"
103
- }
104
- ],
105
- "FileChanged": [
106
- {
107
- "matcher": "package\\.json|requirements\\.txt|pyproject\\.toml|Cargo\\.toml|go\\.mod",
108
- "hooks": [
109
- {
110
- "type": "prompt",
111
- "prompt": "A dependency manifest was modified. If a new dependency was added, suggest: 'Consider /blueprint:new to document this technology choice as an ADR.' Do not block.",
112
- "timeout": 5
113
- }
114
- ],
115
- "_comment": "Dependency-watch on package changes (ADR-0034)"
116
- },
117
- {
118
- "matcher": "PLAN\\.md|RESEARCH\\.md|ROADMAP\\.md|\\.planning/",
119
- "hooks": [
120
- {
121
- "type": "prompt",
122
- "prompt": "A GSD or RAPID planning artifact was modified. If the changes include architectural decisions (technology choices, pattern selections, data model designs, deployment strategies), suggest: 'Planning artifacts contain architectural decisions. Run /blueprint:new to formalize them as ADRs before execution begins.' Only suggest for genuinely architectural content.",
123
- "timeout": 5
124
- }
125
- ],
126
- "_comment": "Detect architectural decisions in GSD/RAPID planning artifacts"
127
- },
128
- {
129
- "matcher": "skills/.*\\.md|agents/.*\\.md",
130
- "hooks": [
131
- {
132
- "type": "prompt",
133
- "prompt": "A Blueprint skill or agent definition was modified. If a new skill was added or a skill was renamed, suggest: 'Run the Blueprint installer to update the CLAUDE.md command reference: npx claude-blueprint install --global' Only suggest if the change adds, removes, or renames a skill — not for content edits to existing skills.",
134
- "timeout": 5
135
- }
136
- ],
137
- "_comment": "Auto-refresh CLAUDE.md when skills are added or renamed"
138
- }
139
- ]
140
- }
2
+ "description": "Blueprint architecture governance hooks. All hooks disabled — prompt-type hooks produce unreliable LLM output that causes JSON validation errors and blocks continuation. Re-enable selectively with /blueprint:hooks when command-type replacements are available.",
3
+ "hooks": {}
141
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-blueprint",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "type": "module",
5
5
  "description": "Architecture Decision Records with teeth — lifecycle management, 15 architecture paradigms, DDD context scoping, DCAR forces evaluation, reflexion models, Wardley mapping, C4 diagrams, ATAM tradeoff analysis, and 19 specialized agents for Claude Code.",
6
6
  "bin": {