create-anpunkit 2.1.0 → 2.3.0

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.
Files changed (68) hide show
  1. package/bin/cli.js +2 -2
  2. package/package.json +2 -3
  3. package/template/.claude/agents/debugger.md +1 -1
  4. package/template/.claude/agents/e2e-runner.md +56 -29
  5. package/template/.claude/agents/implementer.md +14 -8
  6. package/template/.claude/agents/infra-provisioner.md +53 -59
  7. package/template/.claude/agents/planner.md +99 -30
  8. package/template/.claude/agents/researcher.md +16 -1
  9. package/template/.claude/agents/spec-author.md +126 -0
  10. package/template/.claude/agents/synthesizer.md +1 -1
  11. package/template/.claude/agents/test-author.md +81 -63
  12. package/template/.claude/anpunkit-manifest.json +66 -107
  13. package/template/.claude/commands/infra.md +7 -3
  14. package/template/.claude/commands/log-decision.md +1 -1
  15. package/template/.claude/commands/log-issue.md +1 -1
  16. package/template/.claude/commands/overview.md +55 -13
  17. package/template/.claude/commands/phase.md +153 -81
  18. package/template/.claude/commands/quick.md +1 -1
  19. package/template/.claude/commands/replan.md +1 -1
  20. package/template/.claude/commands/store-wisdom.md +1 -1
  21. package/template/.claude/commands/synthesize.md +1 -1
  22. package/template/.claude/commands/unstuck.md +1 -1
  23. package/template/.claude/hooks/session-start.sh +5 -11
  24. package/template/.claude/ref/compression.md +56 -0
  25. package/template/.claude/skills/karpathy-guidelines/SKILL.md +1 -1
  26. package/template/.gitattributes +1 -0
  27. package/template/AGENTS.md +264 -130
  28. package/template/CLAUDE.md +5 -9
  29. package/template/README.md +116 -136
  30. package/template/commands.src/infra.md +7 -3
  31. package/template/commands.src/log-decision.md +1 -1
  32. package/template/commands.src/log-issue.md +1 -1
  33. package/template/commands.src/overview.md +55 -13
  34. package/template/commands.src/phase.md +153 -81
  35. package/template/commands.src/quick.md +1 -1
  36. package/template/commands.src/replan.md +1 -1
  37. package/template/commands.src/store-wisdom.md +1 -1
  38. package/template/commands.src/synthesize.md +1 -1
  39. package/template/commands.src/unstuck.md +1 -1
  40. package/template/docs/DESIGN_LOG.md +414 -9
  41. package/template/knowledge/azure.md +161 -0
  42. package/template/knowledge/webapp.md +265 -0
  43. package/template/scripts/spec-conformance.sh +93 -0
  44. package/template/scripts/spec-staleness.sh +115 -0
  45. package/template/setup.sh +30 -111
  46. package/template/tests/helpers/spec-assert.py +162 -0
  47. package/template/tests/helpers/spec-assert.ts +158 -0
  48. package/template/.claude/hooks/cursor-session-start.sh +0 -17
  49. package/template/.claude/skills/caveman/SKILL.md +0 -39
  50. package/template/.cursor/commands/infra.md +0 -82
  51. package/template/.cursor/commands/log-decision.md +0 -29
  52. package/template/.cursor/commands/log-issue.md +0 -23
  53. package/template/.cursor/commands/overview.md +0 -145
  54. package/template/.cursor/commands/phase.md +0 -249
  55. package/template/.cursor/commands/quick.md +0 -25
  56. package/template/.cursor/commands/replan.md +0 -73
  57. package/template/.cursor/commands/store-wisdom.md +0 -191
  58. package/template/.cursor/commands/synthesize.md +0 -22
  59. package/template/.cursor/commands/unstuck.md +0 -36
  60. package/template/.cursor/hooks.json +0 -14
  61. package/template/.cursor/rules/anpunkit.md +0 -11
  62. package/template/anpunkit.png +0 -0
  63. package/template/docker-compose.test.yml +0 -34
  64. package/template/e2e/global-setup.ts +0 -57
  65. package/template/index.html +0 -340
  66. package/template/playwright.config.ts +0 -28
  67. package/template/scripts/auth-setup.sh +0 -51
  68. package/template/scripts/e2e-stack.sh +0 -65
@@ -0,0 +1,56 @@
1
+ # Compression profiles — kit-native, single source, always-on
2
+
3
+ > **What this file is.** The ONE place compression rules live (anti-drift
4
+ > invariant). `AGENTS.md` declares profile `user` for all human-facing output;
5
+ > every subagent prompt declares profile `internal` with a one-line pointer
6
+ > here. Nothing restates these rules.
7
+ >
8
+ > **Never model-invoked.** This is not a skill. There is no trigger phrase, no
9
+ > description matcher, no `/command`. Compression is mandatory behavior wired
10
+ > by pointers, not invoked by pattern-match (v2.3, §5.61).
11
+
12
+ ## Shared rules (both profiles)
13
+
14
+ Respond terse. All technical substance stay. Only fluff die.
15
+
16
+ Drop: articles (a/an/the), filler (just/really/basically/actually/simply),
17
+ pleasantries (sure/certainly/of course/happy to), hedging. Fragments OK. Short
18
+ synonyms (big not extensive, fix not "implement a solution for"). Abbreviate
19
+ common terms (DB/auth/config/req/res/fn/impl). Strip conjunctions. Use arrows
20
+ for causality (X -> Y). One word when one word enough.
21
+
22
+ Technical terms stay exact. Code blocks unchanged. Errors quoted exact.
23
+
24
+ Pattern: `[thing] [action] [reason]. [next step].`
25
+
26
+ Not: "Sure! I'd be happy to help you with that. The issue you're experiencing is likely caused by..."
27
+ Yes: "Bug in auth middleware. Token expiry check use `<` not `<=`. Fix:"
28
+
29
+ ## Profile: `user`
30
+
31
+ Human-facing output — the orchestrator / main session, all slash commands.
32
+
33
+ Shared rules apply, plus the **Auto-Clarity exception**: expand to full clarity
34
+ temporarily for security warnings, irreversible-action confirmations,
35
+ multi-step sequences where fragment order risks misread, and clarification
36
+ requests or repeated questions. Resume compressed after.
37
+
38
+ ## Profile: `internal`
39
+
40
+ Agent-to-agent output — subagent returns, dispatch text, summaries between
41
+ roles. Shared rules apply, harder: no clarity exception (no human reads this
42
+ mid-flight). Return-format blocks are structure — keep the structure, fill the
43
+ fields tersely.
44
+
45
+ ## Exemptions are structural, not here
46
+
47
+ Exact-output artifacts — fixture JSON, spec table rows, matcher tokens,
48
+ emitted test/harness code, `# spec:` citations, quoted errors — are exempted
49
+ by explicit ARTIFACT EXEMPTION gates declared in the emitter prompts
50
+ (`spec-author`, `test-author`, `e2e-runner`), never by a rule in this file
51
+ (§5.60). Compression governs prose; contract material is byte-precise.
52
+
53
+ ## Persistence
54
+
55
+ Active every response, both profiles. No drift back to filler over long
56
+ sessions. No toggle phrases exist — there is nothing to switch off.
@@ -5,7 +5,7 @@ description: Coding and debugging discipline. Apply on every coding and debug ta
5
5
 
6
6
  # karpathy-guidelines
7
7
 
8
- Apply on every coding + debug task. Caveman ULTRA mode.
8
+ Apply on every coding + debug task.
9
9
 
10
10
  ## Coding
11
11
  - Smallest change that works. No speculative abstraction. No "while I'm here".
@@ -5,6 +5,7 @@
5
5
  *.js text eol=lf
6
6
  *.mjs text eol=lf
7
7
  *.ts text eol=lf
8
+ *.py text eol=lf
8
9
  *.json text eol=lf
9
10
  *.md text eol=lf
10
11
  *.ps1 text eol=crlf