avorelo 0.4.0-rc.2 → 1.0.0-rc.1

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 (395) hide show
  1. package/LICENSE +202 -21
  2. package/NOTICE +15 -0
  3. package/README.md +173 -67
  4. package/bin/avorelo.mjs +7 -0
  5. package/dist/avorelo.mjs +23587 -0
  6. package/package.json +152 -165
  7. package/bin/avorelo +0 -9
  8. package/scripts/README.md +0 -40
  9. package/scripts/avorelo-session-collision-guard.js +0 -540
  10. package/scripts/avorelo-workstream-preflight.js +0 -918
  11. package/scripts/cco-dashboard.js +0 -346
  12. package/scripts/cco-posttooluse.js +0 -504
  13. package/scripts/cco-pretooluse.js +0 -381
  14. package/scripts/cco-status.js +0 -540
  15. package/scripts/cco-stop.js +0 -77
  16. package/scripts/cco-userprompt-submit.js +0 -83
  17. package/scripts/lib/activation/account-state.js +0 -37
  18. package/scripts/lib/activation/activate-command.js +0 -114
  19. package/scripts/lib/activation/activation-runner.js +0 -607
  20. package/scripts/lib/activation/activation-self-healing.js +0 -481
  21. package/scripts/lib/activation/activation-state.js +0 -96
  22. package/scripts/lib/activation/activation-summary.js +0 -241
  23. package/scripts/lib/activation/adapters/claude-code.js +0 -77
  24. package/scripts/lib/activation/adapters/codex-cli.js +0 -52
  25. package/scripts/lib/activation/adapters/cursor.js +0 -37
  26. package/scripts/lib/activation/adapters/github-agent.js +0 -39
  27. package/scripts/lib/activation/adapters/terminal.js +0 -42
  28. package/scripts/lib/activation/adapters/vscode.js +0 -39
  29. package/scripts/lib/activation/adapters/windsurf.js +0 -37
  30. package/scripts/lib/activation/ai-surface-detector.js +0 -151
  31. package/scripts/lib/activation/connect-account.js +0 -145
  32. package/scripts/lib/activation/detect-environment.js +0 -75
  33. package/scripts/lib/activation/detect-hosts.js +0 -62
  34. package/scripts/lib/activation/format-activation-output.js +0 -109
  35. package/scripts/lib/activation/next-action.js +0 -43
  36. package/scripts/lib/activation/repair-engine.js +0 -219
  37. package/scripts/lib/activation/run-entry.js +0 -346
  38. package/scripts/lib/activation-distribution-readiness.js +0 -507
  39. package/scripts/lib/adapter-conformance.js +0 -176
  40. package/scripts/lib/adapter-readiness.js +0 -428
  41. package/scripts/lib/adapter-safety-boundaries.js +0 -335
  42. package/scripts/lib/adapter-technical-readiness-gate.js +0 -205
  43. package/scripts/lib/agent-access-governance.js +0 -455
  44. package/scripts/lib/agent-activation-readiness.js +0 -878
  45. package/scripts/lib/agent-enforcement.js +0 -765
  46. package/scripts/lib/agent-evolution-loop.js +0 -479
  47. package/scripts/lib/agent-policy-profile.js +0 -210
  48. package/scripts/lib/agent-security/action-evaluator.js +0 -507
  49. package/scripts/lib/agent-security/adapter-registry.js +0 -98
  50. package/scripts/lib/agent-security/auto-policy.js +0 -139
  51. package/scripts/lib/agent-security/bounded-scan.js +0 -93
  52. package/scripts/lib/agent-security/enforcement-adapter.js +0 -174
  53. package/scripts/lib/agent-security/enforcement-engine.js +0 -1129
  54. package/scripts/lib/agent-security/file-write-adapter.js +0 -183
  55. package/scripts/lib/agent-security/file-write-rules.js +0 -178
  56. package/scripts/lib/agent-security/index.js +0 -3342
  57. package/scripts/lib/agent-security/instruction-risk.js +0 -181
  58. package/scripts/lib/agent-security/mcp-action-adapter.js +0 -185
  59. package/scripts/lib/agent-security/mcp-action-rules.js +0 -184
  60. package/scripts/lib/agent-security/package-action-adapter.js +0 -175
  61. package/scripts/lib/agent-security/package-action-rules.js +0 -233
  62. package/scripts/lib/agent-security/performance.js +0 -148
  63. package/scripts/lib/agent-security/permission-minimizer.js +0 -403
  64. package/scripts/lib/agent-security/scan-cache.js +0 -74
  65. package/scripts/lib/agent-security/source-trust.js +0 -146
  66. package/scripts/lib/ai-efficiency-dogfood-pack.js +0 -437
  67. package/scripts/lib/ai-efficiency-eval.js +0 -207
  68. package/scripts/lib/ai-efficiency-guard-contract.js +0 -209
  69. package/scripts/lib/ai-efficiency-measured-value.js +0 -106
  70. package/scripts/lib/ai-install-prompt.js +0 -293
  71. package/scripts/lib/ai-task-inference.js +0 -155
  72. package/scripts/lib/ai-value-ledger.js +0 -121
  73. package/scripts/lib/ai-value-proof-table.js +0 -151
  74. package/scripts/lib/ai-work-efficiency-routing.js +0 -623
  75. package/scripts/lib/ai-workspace-hygiene.js +0 -1499
  76. package/scripts/lib/alpha-activation.js +0 -520
  77. package/scripts/lib/alpha-feedback.js +0 -263
  78. package/scripts/lib/alpha-readiness-gate.js +0 -332
  79. package/scripts/lib/anti-gaming.js +0 -169
  80. package/scripts/lib/artifact-health.js +0 -431
  81. package/scripts/lib/artifact-receipt-hygiene.js +0 -619
  82. package/scripts/lib/attribution.js +0 -180
  83. package/scripts/lib/audit.js +0 -289
  84. package/scripts/lib/avorelo-skill-registry.js +0 -810
  85. package/scripts/lib/batch-jobs.js +0 -71
  86. package/scripts/lib/brain-pack.js +0 -578
  87. package/scripts/lib/brand-boundary.js +0 -424
  88. package/scripts/lib/brand.js +0 -74
  89. package/scripts/lib/browser-capability.js +0 -1048
  90. package/scripts/lib/browser-proof-governed-workflow.js +0 -1020
  91. package/scripts/lib/browser-proof-preflight.js +0 -321
  92. package/scripts/lib/cache-readiness.js +0 -296
  93. package/scripts/lib/canonical-reentry.js +0 -162
  94. package/scripts/lib/capability-contract-validator.js +0 -177
  95. package/scripts/lib/capability-hygiene.js +0 -504
  96. package/scripts/lib/capability-intake-quarantine.js +0 -789
  97. package/scripts/lib/capability-kernel-registry.js +0 -566
  98. package/scripts/lib/capability-kernel.js +0 -202
  99. package/scripts/lib/capability-manifest.js +0 -255
  100. package/scripts/lib/capability-outcome-normalizer.js +0 -104
  101. package/scripts/lib/capability-packs.js +0 -314
  102. package/scripts/lib/capability-recommender.js +0 -513
  103. package/scripts/lib/capability-registry.js +0 -1062
  104. package/scripts/lib/carry-forward-surfacing.js +0 -194
  105. package/scripts/lib/ccusage-adapter.js +0 -188
  106. package/scripts/lib/claude-session-evidence/index.js +0 -1027
  107. package/scripts/lib/cli-output-sanitizer.js +0 -118
  108. package/scripts/lib/company-loop.js +0 -1149
  109. package/scripts/lib/config.js +0 -641
  110. package/scripts/lib/context-acquisition-plan.js +0 -359
  111. package/scripts/lib/context-authority-rules.js +0 -138
  112. package/scripts/lib/context-budget-guard.js +0 -170
  113. package/scripts/lib/context-budget-scanner.js +0 -257
  114. package/scripts/lib/context-budget.js +0 -167
  115. package/scripts/lib/context-claim-safety.js +0 -116
  116. package/scripts/lib/context-compiler.js +0 -236
  117. package/scripts/lib/context-optimizer.js +0 -715
  118. package/scripts/lib/context-packet.js +0 -121
  119. package/scripts/lib/context-receipt.js +0 -57
  120. package/scripts/lib/context-reduction-plan.js +0 -179
  121. package/scripts/lib/context-safety.js +0 -88
  122. package/scripts/lib/context-savings-engine.js +0 -158
  123. package/scripts/lib/context-source-registry.js +0 -393
  124. package/scripts/lib/context-task-profiles.js +0 -147
  125. package/scripts/lib/cost-abuse-guard.js +0 -975
  126. package/scripts/lib/cost-evidence.js +0 -287
  127. package/scripts/lib/cost-to-outcome-signals.js +0 -639
  128. package/scripts/lib/cross-host-install-plan.js +0 -308
  129. package/scripts/lib/cross-host-install-readiness.js +0 -242
  130. package/scripts/lib/cross-host-value-flow.js +0 -268
  131. package/scripts/lib/dashboard.js +0 -1056
  132. package/scripts/lib/data-permissions-guard.js +0 -1187
  133. package/scripts/lib/deployment-environment-guard.js +0 -1236
  134. package/scripts/lib/design-partner-feedback.js +0 -346
  135. package/scripts/lib/dogfood-evidence-freshness.js +0 -567
  136. package/scripts/lib/efficiency-receipt.js +0 -354
  137. package/scripts/lib/entitlements.js +0 -100
  138. package/scripts/lib/execution-packet.js +0 -559
  139. package/scripts/lib/execution-route-governor.js +0 -179
  140. package/scripts/lib/experimentation-events.js +0 -547
  141. package/scripts/lib/external-capability-compliance.js +0 -107
  142. package/scripts/lib/external-readiness/ai-visibility/ai-visibility-runner.js +0 -322
  143. package/scripts/lib/external-readiness/calibration/benchmark-site-catalog.js +0 -121
  144. package/scripts/lib/external-readiness/calibration/completion-gate.js +0 -112
  145. package/scripts/lib/external-readiness/calibration/real-site-benchmark-runner.js +0 -284
  146. package/scripts/lib/external-readiness/drift-detector.js +0 -100
  147. package/scripts/lib/external-readiness/endpoint-prober.js +0 -332
  148. package/scripts/lib/external-readiness/external-readiness-runner.js +0 -112
  149. package/scripts/lib/external-readiness/full-agent-readiness-scorer.js +0 -220
  150. package/scripts/lib/external-readiness/golden-path-runner.js +0 -333
  151. package/scripts/lib/external-readiness/inside-out-runner.js +0 -118
  152. package/scripts/lib/external-readiness/proof-receipt-writer.js +0 -112
  153. package/scripts/lib/external-readiness/safe-fix-executor.js +0 -117
  154. package/scripts/lib/external-readiness/skills/category-boundary-guard.js +0 -30
  155. package/scripts/lib/external-readiness/skills/pmm-positioning-guard.js +0 -69
  156. package/scripts/lib/external-readiness/skills/safe-fix-policy.js +0 -35
  157. package/scripts/lib/external-user-simulation.js +0 -166
  158. package/scripts/lib/failure-recovery-readiness.js +0 -81
  159. package/scripts/lib/failure-recovery.js +0 -419
  160. package/scripts/lib/feedback-intelligence.js +0 -537
  161. package/scripts/lib/feedback-signals.js +0 -205
  162. package/scripts/lib/file-integrity.js +0 -68
  163. package/scripts/lib/fsx.js +0 -129
  164. package/scripts/lib/full-readiness-gate.js +0 -451
  165. package/scripts/lib/governed-action-exposure-primitives.js +0 -1514
  166. package/scripts/lib/governed-exposure-planner.js +0 -186
  167. package/scripts/lib/governed-workspace-hygiene.js +0 -946
  168. package/scripts/lib/guard-suite-common.js +0 -412
  169. package/scripts/lib/guidance-builder.js +0 -174
  170. package/scripts/lib/hook-apply.js +0 -1075
  171. package/scripts/lib/hook-baseline.js +0 -310
  172. package/scripts/lib/hook-config-preview.js +0 -275
  173. package/scripts/lib/hook-contracts.js +0 -290
  174. package/scripts/lib/hook-safety-boundary-readiness.js +0 -80
  175. package/scripts/lib/host-capability-matrix.js +0 -351
  176. package/scripts/lib/host-support-context.js +0 -254
  177. package/scripts/lib/http-hook-action.js +0 -538
  178. package/scripts/lib/install-ai-readiness.js +0 -84
  179. package/scripts/lib/install-intake-risk.js +0 -1051
  180. package/scripts/lib/install-journey-intelligence.js +0 -329
  181. package/scripts/lib/intervention-guidance.js +0 -57
  182. package/scripts/lib/known-limitations.js +0 -115
  183. package/scripts/lib/l8-path-truth.js +0 -146
  184. package/scripts/lib/launch-hardening-gate.js +0 -436
  185. package/scripts/lib/launch-readiness.js +0 -635
  186. package/scripts/lib/learning-experimentation-foundation.js +0 -1484
  187. package/scripts/lib/learning-memory.js +0 -686
  188. package/scripts/lib/lifecycle-hooks.js +0 -982
  189. package/scripts/lib/local-package-smoke.js +0 -436
  190. package/scripts/lib/local-pricing.js +0 -299
  191. package/scripts/lib/mcp-enforcement.js +0 -311
  192. package/scripts/lib/mcp-least-privilege-policy.js +0 -303
  193. package/scripts/lib/mcp-tool-inventory.js +0 -388
  194. package/scripts/lib/mcp-tool-risk.js +0 -0
  195. package/scripts/lib/memory.js +0 -335
  196. package/scripts/lib/metrics.js +0 -699
  197. package/scripts/lib/micro-proof.js +0 -133
  198. package/scripts/lib/model-work-class-routing.js +0 -79
  199. package/scripts/lib/next-run-context.js +0 -436
  200. package/scripts/lib/next-run-continuity.js +0 -1207
  201. package/scripts/lib/observability-recovery-guard.js +0 -1030
  202. package/scripts/lib/operating-value.js +0 -1662
  203. package/scripts/lib/optimization-v3.js +0 -122
  204. package/scripts/lib/orchestration/adapters/_shared.js +0 -49
  205. package/scripts/lib/orchestration/adapters/aider.js +0 -18
  206. package/scripts/lib/orchestration/adapters/claude-code.js +0 -35
  207. package/scripts/lib/orchestration/adapters/codex.js +0 -35
  208. package/scripts/lib/orchestration/adapters/gemini-cli.js +0 -18
  209. package/scripts/lib/orchestration/adapters/git.js +0 -25
  210. package/scripts/lib/orchestration/adapters/index.js +0 -31
  211. package/scripts/lib/orchestration/adapters/lm-studio.js +0 -18
  212. package/scripts/lib/orchestration/adapters/ollama.js +0 -18
  213. package/scripts/lib/orchestration/adapters/opencode.js +0 -18
  214. package/scripts/lib/orchestration/adapters/openrouter.js +0 -18
  215. package/scripts/lib/orchestration/adapters/test-runner.js +0 -25
  216. package/scripts/lib/orchestration/cli.js +0 -438
  217. package/scripts/lib/orchestration/execution-manager.js +0 -279
  218. package/scripts/lib/orchestration/handoff.js +0 -314
  219. package/scripts/lib/orchestration/index.js +0 -456
  220. package/scripts/lib/orchestration/inventory.js +0 -47
  221. package/scripts/lib/orchestration/model-discovery.js +0 -498
  222. package/scripts/lib/orchestration/model-profiler.js +0 -170
  223. package/scripts/lib/orchestration/model-profiles.js +0 -252
  224. package/scripts/lib/orchestration/model-refresh-policy.js +0 -72
  225. package/scripts/lib/orchestration/proof-writer.js +0 -349
  226. package/scripts/lib/orchestration/provider-discovery/aider.js +0 -49
  227. package/scripts/lib/orchestration/provider-discovery/claude-code.js +0 -56
  228. package/scripts/lib/orchestration/provider-discovery/codex.js +0 -49
  229. package/scripts/lib/orchestration/provider-discovery/common.js +0 -186
  230. package/scripts/lib/orchestration/provider-discovery/gemini.js +0 -106
  231. package/scripts/lib/orchestration/provider-discovery/lm-studio.js +0 -118
  232. package/scripts/lib/orchestration/provider-discovery/models-dev.js +0 -12
  233. package/scripts/lib/orchestration/provider-discovery/ollama.js +0 -100
  234. package/scripts/lib/orchestration/provider-discovery/opencode.js +0 -47
  235. package/scripts/lib/orchestration/provider-discovery/openrouter.js +0 -44
  236. package/scripts/lib/orchestration/risk-classifier.js +0 -130
  237. package/scripts/lib/orchestration/routing-policy.js +0 -486
  238. package/scripts/lib/orchestration/settings.js +0 -95
  239. package/scripts/lib/orchestration/state.js +0 -165
  240. package/scripts/lib/orchestration/verification-manager.js +0 -138
  241. package/scripts/lib/outcome-evidence-stack.js +0 -1083
  242. package/scripts/lib/output-profiles.js +0 -146
  243. package/scripts/lib/package-content-audit.js +0 -368
  244. package/scripts/lib/package-runtime.js +0 -278
  245. package/scripts/lib/plan-surface.js +0 -53
  246. package/scripts/lib/plans.js +0 -2327
  247. package/scripts/lib/policy-provider.js +0 -27
  248. package/scripts/lib/prelaunch-activation-readiness.js +0 -409
  249. package/scripts/lib/prelaunch-evidence-store.js +0 -816
  250. package/scripts/lib/prelaunch-intelligence.js +0 -869
  251. package/scripts/lib/pricing-experiment.js +0 -118
  252. package/scripts/lib/pro-moment-events.js +0 -77
  253. package/scripts/lib/pro-moment-state.js +0 -227
  254. package/scripts/lib/pro-moments.js +0 -1216
  255. package/scripts/lib/product-home-receipt.js +0 -1790
  256. package/scripts/lib/product-learning-events.js +0 -696
  257. package/scripts/lib/production-confidence-control-tower.js +0 -1209
  258. package/scripts/lib/production-confidence.js +0 -1858
  259. package/scripts/lib/project-profile.js +0 -555
  260. package/scripts/lib/prompt-compiler-plan.js +0 -94
  261. package/scripts/lib/prompt-compiler.js +0 -280
  262. package/scripts/lib/prompt-lint.js +0 -32
  263. package/scripts/lib/prompt-suggestions.js +0 -52
  264. package/scripts/lib/proof-canonical.js +0 -398
  265. package/scripts/lib/proof-drilldown.js +0 -383
  266. package/scripts/lib/proof-e2e/promise-completion.js +0 -141
  267. package/scripts/lib/proof-e2e/promise-dashboard-claims.js +0 -135
  268. package/scripts/lib/proof-e2e/promise-local-proof.js +0 -156
  269. package/scripts/lib/proof-e2e/promise-provider-neutral.js +0 -136
  270. package/scripts/lib/proof-e2e/promise-registry.js +0 -219
  271. package/scripts/lib/proof-e2e/promise-security-trust.js +0 -141
  272. package/scripts/lib/proof-e2e/promise-skills-risk.js +0 -163
  273. package/scripts/lib/proof-e2e/promise-token-savings.js +0 -112
  274. package/scripts/lib/proof-e2e/promise-work-management.js +0 -126
  275. package/scripts/lib/proof-events.js +0 -342
  276. package/scripts/lib/proof-history.js +0 -243
  277. package/scripts/lib/proof-metrics.js +0 -296
  278. package/scripts/lib/proof-outcome-evidence.js +0 -134
  279. package/scripts/lib/proof-receipt.js +0 -335
  280. package/scripts/lib/proof-record.js +0 -461
  281. package/scripts/lib/proof-savings-report.js +0 -1549
  282. package/scripts/lib/public-activation-distribution-gate.js +0 -266
  283. package/scripts/lib/public-cli.js +0 -5631
  284. package/scripts/lib/public-distribution-truth.js +0 -211
  285. package/scripts/lib/public-distribution.js +0 -73
  286. package/scripts/lib/public-install-claim-checker.js +0 -300
  287. package/scripts/lib/publish-provenance-readiness.js +0 -287
  288. package/scripts/lib/readiness-delta.js +0 -218
  289. package/scripts/lib/readiness-evidence-closure.js +0 -196
  290. package/scripts/lib/reentry-memory-capture.js +0 -241
  291. package/scripts/lib/reentry-memory-retrieval.js +0 -302
  292. package/scripts/lib/reentry-memory-status.js +0 -147
  293. package/scripts/lib/reentry-memory-store.js +0 -183
  294. package/scripts/lib/reentry-state.js +0 -66
  295. package/scripts/lib/release-candidate-bundle.js +0 -166
  296. package/scripts/lib/remediation.js +0 -81
  297. package/scripts/lib/repo-map.js +0 -391
  298. package/scripts/lib/run-action-policy.js +0 -104
  299. package/scripts/lib/run-contract-receipt.js +0 -48
  300. package/scripts/lib/run-contract.js +0 -288
  301. package/scripts/lib/run-cost-to-verified-outcome.js +0 -87
  302. package/scripts/lib/run-improvements-lifecycle.js +0 -330
  303. package/scripts/lib/run-improvements.js +0 -789
  304. package/scripts/lib/run-proof-contract.js +0 -116
  305. package/scripts/lib/run-risk-classifier.js +0 -131
  306. package/scripts/lib/run-task-classifier.js +0 -216
  307. package/scripts/lib/runtime-decision-policy.js +0 -387
  308. package/scripts/lib/safe-path-engine.js +0 -705
  309. package/scripts/lib/safe-repair.js +0 -877
  310. package/scripts/lib/safe-run-controller.js +0 -887
  311. package/scripts/lib/scope-repair-before-approval.js +0 -865
  312. package/scripts/lib/score.js +0 -262
  313. package/scripts/lib/seamless-enforcement.js +0 -329
  314. package/scripts/lib/seamless-outcome.js +0 -689
  315. package/scripts/lib/seamless-reality-gate.js +0 -5053
  316. package/scripts/lib/security-confidence/activation-safety.js +0 -78
  317. package/scripts/lib/security-confidence/adapters/adapter-contract.js +0 -125
  318. package/scripts/lib/security-confidence/adapters/mock-claude-bughunter-adapter.js +0 -36
  319. package/scripts/lib/security-confidence/adapters/mock-decepticon-adapter.js +0 -34
  320. package/scripts/lib/security-confidence/adapters/mock-mcp-scan-adapter.js +0 -35
  321. package/scripts/lib/security-confidence/adapters/mock-snyk-agent-scan-adapter.js +0 -35
  322. package/scripts/lib/security-confidence/adapters/mock-tank-adapter.js +0 -34
  323. package/scripts/lib/security-confidence/adapters/reference-registry.js +0 -63
  324. package/scripts/lib/security-confidence/auth-rbac-plan.js +0 -39
  325. package/scripts/lib/security-confidence/component-inventory.js +0 -151
  326. package/scripts/lib/security-confidence/constants.js +0 -191
  327. package/scripts/lib/security-confidence/dependency-script-risk.js +0 -95
  328. package/scripts/lib/security-confidence/evidence-hygiene.js +0 -127
  329. package/scripts/lib/security-confidence/feature-impact-classifier.js +0 -80
  330. package/scripts/lib/security-confidence/file-utils.js +0 -161
  331. package/scripts/lib/security-confidence/finding-triage.js +0 -90
  332. package/scripts/lib/security-confidence/findings.js +0 -115
  333. package/scripts/lib/security-confidence/index.js +0 -29
  334. package/scripts/lib/security-confidence/permission-budget.js +0 -93
  335. package/scripts/lib/security-confidence/redaction.js +0 -82
  336. package/scripts/lib/security-confidence/redteam-fixtures.js +0 -53
  337. package/scripts/lib/security-confidence/reference-adoption.js +0 -229
  338. package/scripts/lib/security-confidence/reference-taxonomy.js +0 -155
  339. package/scripts/lib/security-confidence/report-quality.js +0 -99
  340. package/scripts/lib/security-confidence/report-writer.js +0 -79
  341. package/scripts/lib/security-confidence/risk-classifier.js +0 -187
  342. package/scripts/lib/security-confidence/runner.js +0 -179
  343. package/scripts/lib/security-confidence/schema.js +0 -188
  344. package/scripts/lib/security-confidence/secret-safety.js +0 -74
  345. package/scripts/lib/security-confidence/security-capability-router.js +0 -98
  346. package/scripts/lib/security-confidence/web-security-smoke-plan.js +0 -46
  347. package/scripts/lib/security-risk-classifier.js +0 -511
  348. package/scripts/lib/security-scan.js +0 -396
  349. package/scripts/lib/session-context-optimizer.js +0 -1211
  350. package/scripts/lib/session-timing.js +0 -322
  351. package/scripts/lib/skill-hygiene.js +0 -805
  352. package/scripts/lib/skill-packs.js +0 -161
  353. package/scripts/lib/skills-operating-layer-v1.js +0 -1023
  354. package/scripts/lib/skills-operating-layer.js +0 -629
  355. package/scripts/lib/smallest-safe-plan.js +0 -214
  356. package/scripts/lib/smart-routing-plan.js +0 -115
  357. package/scripts/lib/smart-work-routing.js +0 -768
  358. package/scripts/lib/source-catalog.js +0 -1022
  359. package/scripts/lib/status-value-summary.js +0 -32
  360. package/scripts/lib/supply-chain-dependency-guard.js +0 -1333
  361. package/scripts/lib/supply-chain-guard.js +0 -219
  362. package/scripts/lib/support-bundle.js +0 -561
  363. package/scripts/lib/support-redaction.js +0 -66
  364. package/scripts/lib/task-continuation.js +0 -440
  365. package/scripts/lib/test-helpers.js +0 -15
  366. package/scripts/lib/tier.js +0 -38
  367. package/scripts/lib/token-context-quality-gate.js +0 -370
  368. package/scripts/lib/token-cost-capture.js +0 -187
  369. package/scripts/lib/token-cost-evidence.js +0 -862
  370. package/scripts/lib/token-cost-intelligence.js +0 -358
  371. package/scripts/lib/token-efficiency-evidence.js +0 -213
  372. package/scripts/lib/token-efficiency-map.js +0 -110
  373. package/scripts/lib/token-evidence.js +0 -703
  374. package/scripts/lib/tokenish.js +0 -17
  375. package/scripts/lib/tool-output-sandbox.js +0 -559
  376. package/scripts/lib/trust-audit.js +0 -136
  377. package/scripts/lib/unified-events.js +0 -396
  378. package/scripts/lib/upgrade-interruption-recovery.js +0 -407
  379. package/scripts/lib/usage-ledger.js +0 -201
  380. package/scripts/lib/value-ledger.js +0 -130
  381. package/scripts/lib/value-proof-calibration.js +0 -531
  382. package/scripts/lib/visual-qa.js +0 -231
  383. package/scripts/lib/voice-alpha.js +0 -29
  384. package/scripts/lib/webhook-idempotency-guard.js +0 -990
  385. package/scripts/lib/work-aware-orchestration.js +0 -976
  386. package/scripts/lib/work-control-receipts.js +0 -577
  387. package/scripts/lib/work-ledger.js +0 -1123
  388. package/scripts/lib/work-panel-preview.js +0 -352
  389. package/scripts/lib/workflow-discipline.js +0 -280
  390. package/scripts/lib/workflow-intelligence-radar.js +0 -804
  391. package/scripts/lib/workflow-signals.js +0 -419
  392. package/scripts/lib/workspace-map.js +0 -281
  393. package/scripts/lib/workspace-registry.js +0 -1367
  394. package/scripts/lib/workspace-resolver.js +0 -542
  395. package/scripts/wuz-doctor.js +0 -315
package/LICENSE CHANGED
@@ -1,21 +1,202 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 ClaudeCode Optimizer contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,15 @@
1
+ Avorelo
2
+ Copyright 2026 Benjamin Persky
3
+
4
+ This product includes software developed by Benjamin Persky.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7
+ this software except in compliance with the License. You may obtain a copy of the
8
+ License at:
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software distributed
13
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
14
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
15
+ specific language governing permissions and limitations under the License.
package/README.md CHANGED
@@ -1,67 +1,173 @@
1
- # Avorelo
2
-
3
- Avorelo is a local-first trust-and-reduction layer for AI coding work, centered on runtime intervention and guided recovery.
4
- It reduces waste, setup burden, and trust failures at the moment of work, then helps the user continue cleanly and wrap up with confidence.
5
-
6
- ## Positioning
7
- - Works locally first. Team integrations can come later.
8
- - Get value in workflow before you connect anything.
9
- - Free for individual developers. Valuable from the first session.
10
- - Avorelo is not a dashboard-first product, governance suite, agent platform, or generic analytics layer.
11
- - The product center is runtime intervention plus guided recovery.
12
- - Evidence, reports, usage visibility, and commands matter because they support trust, proof of value, and re-entry.
13
-
14
- ## Primary Docs
15
- - Install and activation: `docs/INSTALL.md`
16
- - Activation flow details: `docs/ACTIVATION.md`
17
- - Support diagnostics: `docs/SUPPORT-DIAGNOSTICS.md`
18
- - Public website activation copy: `docs/WEBSITE-ACTIVATION-COPY.md`
19
- - Distribution truth: `node bin/avorelo public-distribution --json`
20
- - Production web source-of-record decision: `docs/AVORELO-PRODUCTION-WEB-DECISION.md`
21
- - Public website source-of-record and deploy contract: `docs/AVORELO-PUBLIC-WEBSITE.md`
22
- - Live rollout status: see `docs/AVORELO-DOMAIN-DEPLOYMENT.md`
23
- - Wasp hosting recommendation: `docs/AVORELO-WASP-HOSTING.md`
24
-
25
- ## Distribution Status
26
-
27
- > **Distribution status: ready to publish.** `npx avorelo@latest activate` is the target public install command, pending npm publication verification.
28
- >
29
- > Target public commands: `npx avorelo@latest activate` and `npx avorelo@latest activate --connect <token>`. These commands will work once npm publication is verified.
30
- >
31
- > Repo-local developer path: `npm run avorelo:activate` (from this repository) or `node bin/avorelo activate`.
32
- >
33
- > Run `node bin/avorelo public-distribution --json` to see current distribution truth status.
34
-
35
- ## Public Brand
36
- - Product name: `Avorelo`
37
- - CLI name: `avorelo`
38
- - Public activation command: `npx avorelo@latest activate`
39
- - Repo-local activation command: `npm run avorelo:activate`
40
- - Public site target: `https://avorelo.com`
41
- - Public website source-of-record: `apps/public-web/`
42
- - Support: `support@avorelo.com`
43
- - Compatibility reference only. No partnership or endorsement implied.
44
-
45
- ## First-Use Path
46
-
47
- > Use `npx avorelo@latest activate` in the project where you want Avorelo to run. Use `npm run avorelo:activate` when you are developing Avorelo from this repository.
48
-
49
- 1. Open a terminal inside the project where you use Claude Code, Codex, VS Code, Cursor, or Windsurf.
50
- 2. Run `npx avorelo@latest activate`.
51
- 3. If you already have an account token, optionally run `npx avorelo@latest activate --connect <token>`.
52
- 4. Continue in local/free mode even if account connection is skipped or fails.
53
- 5. Let Avorelo stay quiet unless it needs to intervene, guide recovery, or support wrap-up and re-entry.
54
-
55
- If something does not work, run:
56
-
57
- - `npx avorelo@latest support --text`
58
- - `npx avorelo@latest support --json`
59
-
60
- Then review the output before sharing.
61
-
62
- ## License
63
- - MIT
64
-
65
- ## Support
66
-
67
- For customer support and activation help, contact `support@avorelo.com`.
1
+ # Avorelo
2
+
3
+ **AI Work Control.** Avorelo runs *around* your AI coding tool. It does not generate code it keeps the
4
+ work focused, keeps secrets out of the model, and saves proof of what actually happened, locally.
5
+
6
+ > **Status.** Avorelo is **Open Source** under the **Apache License 2.0**, local-first by design. The
7
+ > earlier hosted service (accounts, cloud sync, billing) was **discontinued** — the CLI needs no account,
8
+ > no billing, and no cloud backend. Personal, internal, organizational, and commercial use are all
9
+ > permitted under Apache-2.0 (see [License](#license)). Release candidate `1.0.0-rc.1`.
10
+
11
+ ## What it is
12
+
13
+ A bundled Node CLI that runs entirely on your machine. No signup, no account, no database, no server.
14
+ All state is local JSON under `.avorelo/` in your project.
15
+
16
+ ## Install
17
+
18
+ ```
19
+ npm install -g avorelo@next
20
+ avorelo --help
21
+ ```
22
+
23
+ Or run from a local checkout:
24
+
25
+ ```
26
+ npm ci
27
+ npm run build
28
+ node src/avorelo/surfaces/cli/avorelo.ts --help
29
+ ```
30
+
31
+ Requires Node.js >= 24. Zero runtime dependencies.
32
+
33
+ ## Quickstart
34
+
35
+ ```
36
+ avorelo activate --target . # detect your project and set up local state
37
+ avorelo status --target . # workspace state and the next command
38
+ avorelo run "run tests" --target . # start a focused work session
39
+ avorelo control-center --target . # read-only local view of all local state
40
+ ```
41
+
42
+ `activate` writes only local metadata under `.avorelo/` — no source, env, or secrets.
43
+ `status` always tells you the next command.
44
+
45
+ ## What a run does
46
+
47
+ ```
48
+ avorelo run "fix the login redirect bug in src/auth" --target .
49
+ ```
50
+
51
+ 1. **Routes** the task through a deterministic **Secret Boundary** a pasted credential is detected and
52
+ never printed, persisted, or sent to the model; an unsafe task is blocked.
53
+ 2. Starts a **session** around whatever AI coding tool you already use.
54
+ 3. Compiles a **bounded, source-aware context** (references, never raw dumps).
55
+ 4. Carries forward **next-run continuity** so the next session resumes safely.
56
+ 5. Records **token & cost evidence** — honestly labelled `measured` / `imported` / `estimated` /
57
+ `inferred` / `unavailable`. Unavailable is never reported as zero, and numbers are never fabricated.
58
+ 6. Builds a **proof report** — savings are **refused** unless there is comparative evidence.
59
+ 7. Updates a **value ledger** of compact, confidence-labelled cards.
60
+
61
+ ## Commands
62
+
63
+ | Command | What it does |
64
+ |---|---|
65
+ | `avorelo activate` | Detect, repair, install run-entry guidance; write local activation state |
66
+ | `avorelo status` | Activation + session status, and the next command |
67
+ | `avorelo run "<task>"` | The focused work session above |
68
+ | `avorelo resume` | Resume an interrupted session |
69
+ | `avorelo control-center` | Read-only local view of all session/proof/value state |
70
+ | `avorelo open` | Local receipts dashboard (html/json/text) |
71
+ | `avorelo doctor` | Health check (adapters, hooks, session) |
72
+ | `avorelo report build` · `avorelo value cards` | Proof report · value cards |
73
+ | `avorelo context check` · `avorelo context status` | Agent context integrity / freshness |
74
+ | `avorelo loop check "<task>"` · `loop start` · `loop status` | Bounded AI loop |
75
+ | `avorelo browser qa run` | Explicit, user-directed Browser Visual QA (see below) |
76
+ | `avorelo support bundle` | Write a sanitized local support bundle |
77
+ | `avorelo update-check` | Explicit update check against the public npm registry |
78
+ | `avorelo settings show` · `settings reset` | Local settings (no automatic-update preference exists) |
79
+ | `avorelo uninstall` | Remove all Avorelo-managed content |
80
+ | `avorelo --help` | Full command list |
81
+
82
+ Run `avorelo --help` for the complete, authoritative surface.
83
+
84
+ ## Where your data lives
85
+
86
+ Everything is local, under `.avorelo/` in your project:
87
+
88
+ - `workspace.json`, `activation/` — workspace identity and activation state
89
+ - `settings.json` — local settings
90
+ - `receipts/` — work receipts and proof
91
+ - `support/` — sanitized support bundles you create yourself
92
+
93
+ Nothing is uploaded. Delete the directory (or run `avorelo uninstall`) to remove it.
94
+
95
+ ## Privacy and network model
96
+
97
+ Ordinary local operation makes **zero outbound network requests** — activation, status, doctor, run,
98
+ resume, hooks, the viewer, Control Center, receipts, context and proof all work fully offline. There is
99
+ no telemetry, no usage reporting, no account, and no cloud receipt upload.
100
+
101
+ Exactly two paths can produce a request, and neither sends project data to an Avorelo-operated origin:
102
+
103
+ - **Explicit update check** — `avorelo update-check` performs one bounded `GET` to the fixed public npm
104
+ registry URL (`https://registry.npmjs.org/avorelo/latest`) to compare versions. No payload, no
105
+ redirects, no identifying data. It is never automatic.
106
+ - **Explicit Browser Visual QA** — `avorelo browser qa run` launches a headless browser (requires
107
+ Playwright) against a **local** target by default, served over a `127.0.0.1` loopback server. It
108
+ contacts an external host only if *you* pass an explicit `--target` URL that clears the safety policy.
109
+ It uploads nothing and contacts no Avorelo endpoint.
110
+
111
+ Printing a link (GitHub, npm, docs) is not a network request — nothing opens automatically.
112
+
113
+ See [Privacy](docs/privacy-and-learning.md).
114
+
115
+ ## Support and contact
116
+
117
+ `avorelo support bundle` writes a sanitized, allowlisted JSON + Markdown artifact under
118
+ `.avorelo/support/`. Secrets, source, env values, prompts, logs and diffs are excluded by construction.
119
+ Nothing is sent — review the files, then attach them yourself only if you choose to.
120
+
121
+ - **General support:** [support@avorelo.com](mailto:support@avorelo.com?subject=Avorelo%20support) · see [SUPPORT.md](SUPPORT.md)
122
+ - **Bugs and questions:** https://github.com/HappyLifeSaaS/Avorelo/issues
123
+ - **Optional paid services:** [support@avorelo.com](mailto:support@avorelo.com?subject=Avorelo%20services%20inquiry) · see [COMMERCIAL-SERVICES.md](COMMERCIAL-SERVICES.md)
124
+ - **Security:** [SECURITY.md](SECURITY.md) (GitHub private reporting, with email fallback)
125
+
126
+ Apache-2.0 already grants your rights to use Avorelo; paid services are optional and separate.
127
+
128
+ ## Architecture
129
+
130
+ Local-first by construction:
131
+
132
+ - a bundled Node CLI (`dist/avorelo.mjs`), zero runtime dependencies
133
+ - local filesystem state under `.avorelo/`; local receipts and evidence
134
+ - local Control Center / dashboard / viewer; local loopback preview server
135
+ - explicit Browser Visual QA; local support bundle
136
+ - a static public website (Netlify)
137
+ - **no** API server, auth, database, billing, cloud sync, or telemetry upload
138
+
139
+ Package boundary: runtime dependencies **zero**; devDependencies **esbuild** and **tsx**; the npm tarball
140
+ ships exactly `LICENSE`, `NOTICE`, `README.md`, `bin/avorelo.mjs`, `dist/avorelo.mjs`, `package.json`.
141
+
142
+ See [docs/architecture](docs/architecture/).
143
+
144
+ ## Contributing
145
+
146
+ Contributions are **welcome** — see [CONTRIBUTING.md](CONTRIBUTING.md). Ordinary contributions require a
147
+ [DCO](DCO) sign-off (`git commit -s`) but **no CLA**. Local development needs only Node and npm — no
148
+ database, no credentials, no environment configuration:
149
+
150
+ ```
151
+ npm ci # esbuild + tsx only
152
+ npm run build # bundle the CLI
153
+ npm run test:local # full local test suite
154
+ npm run dogfood:all # deterministic local dogfood suite
155
+ npm run build:site && npm run site:check
156
+ ```
157
+
158
+ See [docs/development](docs/development/).
159
+
160
+ ## Requirements
161
+
162
+ Node.js >= 24.
163
+
164
+ ## License
165
+
166
+ **Apache License 2.0.** Copyright 2026 Benjamin Persky. See [`LICENSE`](LICENSE) and [`NOTICE`](NOTICE);
167
+ `package.json` declares `"license": "Apache-2.0"`.
168
+
169
+ Avorelo is **Open Source**. Apache-2.0 permits personal, internal, organizational, and commercial use,
170
+ including modification and redistribution, subject to the license terms (preserve copyright/license/
171
+ NOTICE, state significant changes, etc.). No fee and no separate license are required to use it. Optional
172
+ paid services are separate — see [COMMERCIAL-SERVICES.md](COMMERCIAL-SERVICES.md). Avorelo is not
173
+ affiliated with or endorsed by the Apache Software Foundation.
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ // Avorelo CLI entry point for npm package distribution.
3
+ // Loads the pre-built JS bundle so it works inside node_modules.
4
+ import { fileURLToPath, pathToFileURL } from "node:url";
5
+ import { resolve, dirname } from "node:path";
6
+ const dist = resolve(dirname(fileURLToPath(import.meta.url)), "..", "dist", "avorelo.mjs");
7
+ await import(pathToFileURL(dist).href);