@amsterdamdatalabs/enact-extensions 0.1.10 → 0.1.24

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 (152) hide show
  1. package/README.md +11 -12
  2. package/dist/create/claude.d.ts.map +1 -1
  3. package/dist/create/claude.js +6 -2
  4. package/dist/create/claude.js.map +1 -1
  5. package/dist/create/cursor.d.ts.map +1 -1
  6. package/dist/create/cursor.js +6 -2
  7. package/dist/create/cursor.js.map +1 -1
  8. package/dist/create/enact.js +1 -1
  9. package/dist/create/enact.js.map +1 -1
  10. package/dist/create/index.d.ts +4 -3
  11. package/dist/create/index.d.ts.map +1 -1
  12. package/dist/create/index.js +9 -2
  13. package/dist/create/index.js.map +1 -1
  14. package/dist/index.d.ts +9 -6
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +5 -4
  17. package/dist/index.js.map +1 -1
  18. package/dist/install.d.ts +5 -0
  19. package/dist/install.d.ts.map +1 -1
  20. package/dist/install.js +91 -11
  21. package/dist/install.js.map +1 -1
  22. package/dist/internal/agents.d.ts +25 -1
  23. package/dist/internal/agents.d.ts.map +1 -1
  24. package/dist/internal/agents.js +81 -4
  25. package/dist/internal/agents.js.map +1 -1
  26. package/dist/internal/claude.d.ts +49 -0
  27. package/dist/internal/claude.d.ts.map +1 -1
  28. package/dist/internal/claude.js +166 -1
  29. package/dist/internal/claude.js.map +1 -1
  30. package/dist/internal/platform.d.ts +11 -1
  31. package/dist/internal/platform.d.ts.map +1 -1
  32. package/dist/internal/platform.js +58 -1
  33. package/dist/internal/platform.js.map +1 -1
  34. package/dist/internal/types.d.ts +2 -1
  35. package/dist/internal/types.d.ts.map +1 -1
  36. package/dist/principles.d.ts +28 -0
  37. package/dist/principles.d.ts.map +1 -0
  38. package/dist/principles.js +159 -0
  39. package/dist/principles.js.map +1 -0
  40. package/extensions/dev-state/.agents/plugin.json +2 -1
  41. package/extensions/enact-context/.agents/plugin.json +2 -1
  42. package/extensions/enact-context/hooks/hooks.json +0 -10
  43. package/extensions/enact-context/skills/enact-context/SKILL.md +14 -12
  44. package/extensions/enact-context/skills/enact-context/scripts/install.sh +7 -7
  45. package/extensions/enact-core/.agents/plugin.json +2 -1
  46. package/extensions/enact-core/OPERATING-PRINCIPLES.md +7 -0
  47. package/extensions/enact-core/hooks/hooks.json +12 -0
  48. package/extensions/enact-evolve/.agents/plugin.json +47 -0
  49. package/extensions/enact-evolve/agents/evolve-session-analyst.toml +37 -0
  50. package/extensions/enact-evolve/skills/session-analysis/SKILL.md +98 -0
  51. package/extensions/enact-evolve/skills/session-analysis/scripts/run-evolve-analysis.sh +343 -0
  52. package/extensions/enact-factory/.agents/plugin.json +2 -1
  53. package/extensions/enact-factory/agents/architect.toml +9 -5
  54. package/extensions/enact-factory/agents/code-reviewer.toml +9 -5
  55. package/extensions/enact-factory/agents/critic.toml +9 -5
  56. package/extensions/enact-factory/agents/executor.toml +4 -1
  57. package/extensions/enact-factory/agents/explore.toml +4 -1
  58. package/extensions/enact-factory/agents/planner.toml +4 -1
  59. package/extensions/enact-factory/agents/verifier.toml +9 -5
  60. package/extensions/enact-factory/skills/advisor/SKILL.md +82 -0
  61. package/extensions/enact-factory/skills/ai-slop-cleaner/SKILL.md +6 -1
  62. package/extensions/enact-factory/skills/autonomous-runner/SKILL.md +347 -0
  63. package/extensions/enact-factory/skills/azdo-ci-strategy/SKILL.md +62 -15
  64. package/extensions/enact-factory/skills/committee/SKILL.md +80 -0
  65. package/extensions/enact-factory/skills/deep-interview/SKILL.md +9 -13
  66. package/extensions/enact-factory/skills/drive-loop/SKILL.md +161 -31
  67. package/extensions/enact-factory/skills/drive-loop/references/contract-schema.md +26 -6
  68. package/extensions/enact-factory/skills/handoff/SKILL.md +72 -0
  69. package/extensions/enact-factory/skills/hyperplan/SKILL.md +11 -3
  70. package/extensions/enact-factory/skills/looplan/SKILL.md +34 -17
  71. package/extensions/enact-factory/skills/plan/SKILL.md +40 -8
  72. package/extensions/enact-factory/skills/remove-deadcode/SKILL.md +6 -1
  73. package/extensions/enact-factory/skills/research/SKILL.md +14 -4
  74. package/extensions/enact-factory/skills/review/SKILL.md +21 -2
  75. package/extensions/enact-factory/skills/security-research/SKILL.md +5 -2
  76. package/extensions/enact-factory/skills/tdd/SKILL.md +7 -1
  77. package/extensions/enact-factory/skills/testing-strategy/SKILL.md +5 -0
  78. package/extensions/enact-factory/skills/trace/SKILL.md +5 -0
  79. package/extensions/enact-factory/skills/ultraqa/SKILL.md +21 -15
  80. package/extensions/enact-factory/skills/work-with-workitem/SKILL.md +5 -0
  81. package/extensions/enact-factory/skills/workitem-triage/SKILL.md +5 -0
  82. package/extensions/enact-loop/.agents/plugin.json +5 -4
  83. package/extensions/enact-loop/scripts/validate.mjs +123 -0
  84. package/extensions/enact-loop/skills/enact-loop/SKILL.md +189 -30
  85. package/extensions/enact-wiki/.agents/plugin.json +2 -1
  86. package/extensions/net-revenue-management/.agents/plugin.json +2 -1
  87. package/extensions/plugin-dev/.agents/plugin.json +2 -1
  88. package/extensions/plugin-dev/skills/start/SKILL.md +3 -3
  89. package/package.json +1 -1
  90. package/scripts/check-hooks.mjs +5 -5
  91. package/scripts/check-principles.mjs +19 -4
  92. package/scripts/enact-extensions.mjs +237 -90
  93. package/scripts/lib/hooks.mjs +61 -217
  94. package/scripts/lib/migrate-artifacts.mjs +144 -0
  95. package/scripts/lib/principles.mjs +109 -0
  96. package/scripts/lib/provision-mcp.mjs +1 -1
  97. package/scripts/lib/run-install.mjs +72 -2
  98. package/scripts/lib/run-prune.mjs +23 -2
  99. package/scripts/lib/run-sync.mjs +4 -1
  100. package/scripts/postinstall.mjs +6 -6
  101. package/scripts/setup-enact-context.sh +20 -15
  102. package/spec/codex.json +5 -0
  103. package/spec/enact.json +3 -3
  104. package/spec/enact.md +1 -4
  105. package/spec/index.json +1 -1
  106. package/extensions/enact-operator/.agents/plugin.json +0 -56
  107. package/extensions/enact-operator/.app.json +0 -3
  108. package/extensions/enact-operator/.mcp.json +0 -10
  109. package/extensions/enact-operator/_taxonomy.md +0 -86
  110. package/extensions/enact-operator/agents/README.md +0 -5
  111. package/extensions/enact-operator/agents/architect.toml +0 -25
  112. package/extensions/enact-operator/agents/code-reviewer.toml +0 -24
  113. package/extensions/enact-operator/agents/critic.toml +0 -30
  114. package/extensions/enact-operator/agents/executor.toml +0 -24
  115. package/extensions/enact-operator/agents/explore.toml +0 -23
  116. package/extensions/enact-operator/agents/planner.toml +0 -24
  117. package/extensions/enact-operator/agents/verifier.toml +0 -24
  118. package/extensions/enact-operator/docs/skill-variants.md +0 -44
  119. package/extensions/enact-operator/hooks/hooks.json +0 -91
  120. package/extensions/enact-operator/skills/ai-slop-cleaner/SKILL.md +0 -50
  121. package/extensions/enact-operator/skills/analyze/SKILL.md +0 -91
  122. package/extensions/enact-operator/skills/ask/SKILL.md +0 -47
  123. package/extensions/enact-operator/skills/autopilot/SKILL.md +0 -170
  124. package/extensions/enact-operator/skills/autoresearch-goal/SKILL.md +0 -79
  125. package/extensions/enact-operator/skills/cancel/SKILL.md +0 -99
  126. package/extensions/enact-operator/skills/configure-notifications/SKILL.md +0 -77
  127. package/extensions/enact-operator/skills/deep-interview/SKILL.md +0 -80
  128. package/extensions/enact-operator/skills/doctor/SKILL.md +0 -48
  129. package/extensions/enact-operator/skills/hud/SKILL.md +0 -49
  130. package/extensions/enact-operator/skills/hyperplan/SKILL.md +0 -47
  131. package/extensions/enact-operator/skills/plan/SKILL.md +0 -78
  132. package/extensions/enact-operator/skills/ralph/SKILL.md +0 -201
  133. package/extensions/enact-operator/skills/ralph/gemini.md +0 -18
  134. package/extensions/enact-operator/skills/ralplan/SKILL.md +0 -151
  135. package/extensions/enact-operator/skills/remove-deadcode/SKILL.md +0 -45
  136. package/extensions/enact-operator/skills/research/SKILL.md +0 -74
  137. package/extensions/enact-operator/skills/review/SKILL.md +0 -58
  138. package/extensions/enact-operator/skills/security-research/SKILL.md +0 -54
  139. package/extensions/enact-operator/skills/setup/SKILL.md +0 -91
  140. package/extensions/enact-operator/skills/setup/scripts/install.sh +0 -50
  141. package/extensions/enact-operator/skills/skill/SKILL.md +0 -82
  142. package/extensions/enact-operator/skills/tdd/SKILL.md +0 -59
  143. package/extensions/enact-operator/skills/team/SKILL.md +0 -199
  144. package/extensions/enact-operator/skills/trace/SKILL.md +0 -41
  145. package/extensions/enact-operator/skills/ultragoal/SKILL.md +0 -99
  146. package/extensions/enact-operator/skills/ultraqa/SKILL.md +0 -113
  147. package/extensions/enact-operator/skills/ultrawork/SKILL.md +0 -145
  148. package/extensions/enact-operator/skills/ultrawork/planner.md +0 -28
  149. package/extensions/enact-operator/skills/wiki/SKILL.md +0 -41
  150. package/extensions/enact-operator/skills/work-with-workitem/SKILL.md +0 -51
  151. /package/extensions/{enact-operator → enact-evolve}/assets/icon.png +0 -0
  152. /package/extensions/{enact-operator → enact-evolve}/assets/logo.png +0 -0
@@ -1,41 +0,0 @@
1
- ---
2
- name: wiki
3
- description: "Wiki-style reference lookup delegated to the enact-wiki provider. Use when the operator wants durable project documentation or knowledge retrieval."
4
- ---
5
-
6
- # Wiki
7
-
8
- ## Purpose
9
- Provides access to the project's durable wiki and knowledge base by delegating to the enact-wiki provider. Operator orchestrates the request and receives the result; it does not re-implement wiki storage or retrieval. Operator-side artifacts produced by research or analysis can be persisted to the wiki via this skill.
10
-
11
- ## Use When
12
- - The operator wants to look up a documented decision, design, or reference
13
- - Research findings from `$autoresearch-goal` should be persisted as a durable wiki entry
14
- - The operator asks "does the wiki have anything on X?"
15
-
16
- ## Workflow
17
- 1. Identify the query or document to persist.
18
- 2. Delegate the operation to the enact-wiki provider using its wiki MCP tools.
19
- - For a lookup: invoke the enact-wiki wiki query tool with the search term.
20
- - For a write: invoke the enact-wiki wiki add tool with the content and title.
21
- - For a list: invoke the enact-wiki wiki list tool.
22
- - For a read of a specific entry: invoke the enact-wiki wiki read tool with the entry identifier.
23
- 3. If the operation returns content, present it directly to the operator without reformatting.
24
- 4. If persisting a Operator research artifact (e.g., `.enact/operator/research/<goalId>.md`), read the file first, then pass the content to the enact-wiki wiki add tool.
25
- 5. Operator does not store wiki state locally. The enact-wiki provider is the canonical store.
26
-
27
- ## State Contract
28
- - Reads: enact-wiki wiki store (via MCP tool calls), `.enact/operator/research/` files when persisting
29
- - Writes: enact-wiki wiki store (via MCP tool calls); no local `.enact/operator/` files written by this skill
30
-
31
- ## Dependencies
32
- - Requires enact-wiki MCP server to be connected. If it is not available, report that to the operator and stop.
33
-
34
- ## Activation
35
-
36
- When a prompt contains `$enact-operator:<skill-name>` or `$<skill-name>`, Operator's UserPromptSubmit hook records the invocation in `.enact/operator/state/skill-active.json` and adds an MCP-first context note for the agent. That note tells the agent to load/search the Enact Operator MCP namespace immediately if `operator_*` tools are not visible yet, then prefer `operator_*` tools over the `enact-operator` CLI. This skill is operator-driven — there is no durable workflow state to start automatically. The activation log gives operators and the HUD a trace of which skills were explicitly invoked.
37
- ## Final Check
38
- - The query returned a result or a clear "not found" from enact-wiki
39
- - For writes, the enact-wiki tool confirmed the entry was saved
40
- - No wiki content was stored locally in `.enact/operator/` as a substitute for the enact-wiki store
41
- - If enact-wiki was unavailable, the operator was notified explicitly
@@ -1,51 +0,0 @@
1
- ---
2
- name: work-with-workitem
3
- description: "Lightweight Azure DevOps work-item delivery lane: implement and hand off; factory owns tracking and closure."
4
- ---
5
-
6
- # Work With Workitem
7
-
8
- ## Purpose
9
-
10
- Use `$work-with-workitem` for operator-domain delivery tied to a single Azure DevOps work item.
11
-
12
- ## Domain Boundary
13
-
14
- - operator scope is intentionally lightweight: load, isolate, implement, PR, handoff, cleanup
15
- - enact-factory owns CI heartbeat tracking, branch policy waits, auto-merge, and lifecycle advance to `Closed`
16
- - this skill must not add CI polling loops or unbounded branch-policy waiting
17
-
18
- ## Azure DevOps-Only Contract
19
-
20
- - use `factory_workitem_get` and `factory_assignment_record` for work-item reads and closing notes
21
- - use `az repos pr create --work-items <id>` to link the PR to the work item
22
- - do not assume or reference GitHub APIs, GitHub Actions, GitHub checks, or GitHub branch protection primitives
23
-
24
- ## Required Sequence
25
-
26
- 1. `factory_workitem_get` loads the target work item and confirms readiness.
27
- 2. `EnterWorktree` isolates the implementation workspace.
28
- 3. Execute implementation with `$ultrawork` (or `$ralph` for simple tasks).
29
- 4. Create atomic commits with clear work-item-linked intent.
30
- 5. Run `az repos pr create --work-items <id>` and capture the PR URL.
31
- 6. Call `factory_assignment_record` with a closing note that includes PR URL and commit SHA.
32
- 7. `ExitWorktree` cleans up the isolated workspace.
33
-
34
- ## Behavioral Constraints
35
-
36
- - no CI poll loop in this skill; CI heartbeat belongs to `factory_watchdog_status`
37
- - no merge waiting or policy-wait ownership in this skill
38
- - no lifecycle mutation to `Closed` from this skill
39
- - if PR creation fails, record failure context and exit through normal cleanup
40
-
41
- ## Verification Expectations
42
-
43
- - integration target is a work item tagged `test-fixture`
44
- - verify PR link uses `--work-items <id>`
45
- - verify `factory_assignment_record` includes PR URL and commit SHA
46
- - verify `ExitWorktree` cleanup is executed
47
- - do not verify CI completion or merge here
48
-
49
- ## Activation
50
-
51
- When a prompt contains `$enact-operator:<skill-name>` or `$<skill-name>`, Operator's UserPromptSubmit hook records the invocation in `.enact/operator/state/skill-active.json` and adds an MCP-first context note for the agent. That note tells the agent to load/search the Enact Operator MCP namespace immediately if `operator_*` tools are not visible yet, then prefer `operator_*` tools over the `enact-operator` CLI. This skill is operator-driven — there is no durable workflow state to start automatically. The activation log gives operators and the HUD a trace of which skills were explicitly invoked.