clawpowers 1.1.4 → 2.0.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 (75) hide show
  1. package/CHANGELOG.md +94 -0
  2. package/LICENSE +44 -0
  3. package/README.md +204 -228
  4. package/SECURITY.md +72 -0
  5. package/dist/index.d.ts +844 -0
  6. package/dist/index.js +2536 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +50 -44
  9. package/.claude-plugin/manifest.json +0 -19
  10. package/.codex/INSTALL.md +0 -36
  11. package/.cursor-plugin/manifest.json +0 -21
  12. package/.opencode/INSTALL.md +0 -52
  13. package/ARCHITECTURE.md +0 -69
  14. package/bin/clawpowers.js +0 -625
  15. package/bin/clawpowers.sh +0 -91
  16. package/docs/demo/clawpowers-demo.cast +0 -197
  17. package/docs/demo/clawpowers-demo.gif +0 -0
  18. package/docs/launch-images/25-skills-breakdown.jpg +0 -0
  19. package/docs/launch-images/clawpowers-vs-superpowers.jpg +0 -0
  20. package/docs/launch-images/economic-code-optimization.jpg +0 -0
  21. package/docs/launch-images/native-vs-bridge-2.jpg +0 -0
  22. package/docs/launch-images/native-vs-bridge.jpg +0 -0
  23. package/docs/launch-images/post1-hero-lobster.jpg +0 -0
  24. package/docs/launch-images/post2-dashboard.jpg +0 -0
  25. package/docs/launch-images/post3-superpowers.jpg +0 -0
  26. package/docs/launch-images/post4-before-after.jpg +0 -0
  27. package/docs/launch-images/post5-install-now.jpg +0 -0
  28. package/docs/launch-images/ultimate-stack.jpg +0 -0
  29. package/docs/launch-posts.md +0 -76
  30. package/docs/quickstart-first-transaction.md +0 -204
  31. package/gemini-extension.json +0 -32
  32. package/hooks/session-start +0 -205
  33. package/hooks/session-start.cmd +0 -43
  34. package/hooks/session-start.js +0 -163
  35. package/runtime/demo/README.md +0 -78
  36. package/runtime/demo/x402-mock-server.js +0 -230
  37. package/runtime/feedback/analyze.js +0 -621
  38. package/runtime/feedback/analyze.sh +0 -546
  39. package/runtime/init.js +0 -210
  40. package/runtime/init.sh +0 -178
  41. package/runtime/metrics/collector.js +0 -361
  42. package/runtime/metrics/collector.sh +0 -308
  43. package/runtime/payments/ledger.js +0 -305
  44. package/runtime/payments/ledger.sh +0 -262
  45. package/runtime/payments/pipeline.js +0 -455
  46. package/runtime/persistence/store.js +0 -433
  47. package/runtime/persistence/store.sh +0 -303
  48. package/skill.json +0 -106
  49. package/skills/agent-bounties/SKILL.md +0 -553
  50. package/skills/agent-payments/SKILL.md +0 -479
  51. package/skills/brainstorming/SKILL.md +0 -233
  52. package/skills/content-pipeline/SKILL.md +0 -282
  53. package/skills/cross-project-knowledge/SKILL.md +0 -345
  54. package/skills/dispatching-parallel-agents/SKILL.md +0 -305
  55. package/skills/economic-code-optimization/SKILL.md +0 -265
  56. package/skills/executing-plans/SKILL.md +0 -255
  57. package/skills/finishing-a-development-branch/SKILL.md +0 -260
  58. package/skills/formal-verification-lite/SKILL.md +0 -441
  59. package/skills/learn-how-to-learn/SKILL.md +0 -235
  60. package/skills/market-intelligence/SKILL.md +0 -323
  61. package/skills/meta-skill-evolution/SKILL.md +0 -325
  62. package/skills/prospecting/SKILL.md +0 -454
  63. package/skills/receiving-code-review/SKILL.md +0 -225
  64. package/skills/requesting-code-review/SKILL.md +0 -206
  65. package/skills/security-audit/SKILL.md +0 -353
  66. package/skills/self-healing-code/SKILL.md +0 -369
  67. package/skills/subagent-driven-development/SKILL.md +0 -244
  68. package/skills/systematic-debugging/SKILL.md +0 -355
  69. package/skills/test-driven-development/SKILL.md +0 -416
  70. package/skills/using-clawpowers/SKILL.md +0 -160
  71. package/skills/using-git-worktrees/SKILL.md +0 -261
  72. package/skills/validator/SKILL.md +0 -281
  73. package/skills/verification-before-completion/SKILL.md +0 -254
  74. package/skills/writing-plans/SKILL.md +0 -276
  75. package/skills/writing-skills/SKILL.md +0 -260
package/SECURITY.md ADDED
@@ -0,0 +1,72 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ | Version | Supported |
6
+ | ------- | ------------------ |
7
+ | 2.0.x | ✅ Active support |
8
+ | < 2.0 | ❌ No support |
9
+
10
+ ## Reporting a Vulnerability
11
+
12
+ **Do NOT open a public GitHub issue for security vulnerabilities.**
13
+
14
+ Please report security vulnerabilities via email:
15
+
16
+ 📧 **security@ai-agent-economy.com**
17
+
18
+ Include:
19
+ - Description of the vulnerability
20
+ - Steps to reproduce
21
+ - Potential impact assessment
22
+ - Suggested fix (if any)
23
+
24
+ ## Response Timeline
25
+
26
+ - **Acknowledgment:** Within 48 hours
27
+ - **Initial Assessment:** Within 5 business days
28
+ - **Fix Timeline:** Critical vulnerabilities within 7 days
29
+
30
+ ## Security Design Principles
31
+
32
+ ### Spending Policy (Financial Safety)
33
+ - **Fail-closed:** Any policy error results in payment rejection
34
+ - **Never auto-retry:** Failed payments are logged but never automatically retried
35
+ - **Daily limits:** Hard-enforced, cannot be overridden by RSI
36
+ - **Domain allowlists:** When configured, only listed domains can receive payments
37
+
38
+ ### RSI Safety Invariants
39
+ The following can **NEVER** be modified by the RSI engine:
40
+ 1. Spending limits and SpendingPolicy configuration
41
+ 2. Core identity and directives
42
+ 3. RSI safety tier definitions
43
+ 4. Sandbox boundaries
44
+ 5. Authentication credentials
45
+
46
+ ### T4 Gate
47
+ T4 (Architecture Proposals) mutations **always** require human approval. The `'auto'` mode is rejected at the type system level and the validation layer.
48
+
49
+ ### Wallet Security
50
+ - Private keys are encrypted at rest using AES-256-GCM
51
+ - Key derivation uses scrypt (N=16384, r=8, p=1)
52
+ - Atomic file writes prevent corruption
53
+ - Backup files created before overwrites
54
+
55
+ ### Memory Integrity
56
+ - Episodic memory is append-only (JSONL)
57
+ - Procedural memory uses atomic writes with backup
58
+ - Checkpoint files use write-to-temp-then-rename pattern
59
+ - Corruption recovery is built into episodic memory
60
+
61
+ ## Dependencies
62
+
63
+ This library has minimal runtime dependencies:
64
+ - `zod` — Schema validation (no known vulnerabilities)
65
+ - Node.js built-in `crypto` — For wallet operations
66
+
67
+ ## Audit
68
+
69
+ The codebase enforces:
70
+ - Zero `any` types in TypeScript
71
+ - Strict mode enabled
72
+ - All financial operations logged to audit trail