@williambeto/ai-workflow 2.9.1 โ†’ 2.9.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  ## [unreleased]
2
2
 
3
+ ## [2.9.2] - 2026-07-16
4
+
5
+ ### ๐Ÿ› Bug Fixes
6
+
7
+ - Stop injecting agent-level `deny` and `ask` permissions into consumer
8
+ `opencode.jsonc` files, preserving the consumer's OpenCode permission defaults
9
+ - Keep agent ownership and routing boundaries in AIWK instructions without
10
+ causing repeated per-project approval prompts
11
+
12
+ ### ๐Ÿงช Testing
13
+
14
+ - Add regression coverage that rejects generated AIWK agent permission
15
+ overrides while preserving the managed agent registry
16
+
3
17
  ## [2.9.1] - 2026-07-15
4
18
 
5
19
  ### ๐Ÿ› Bug Fixes
@@ -779,36 +779,18 @@ var COMMANDS = {
779
779
  };
780
780
  function buildManagedConfig() {
781
781
  const agent = {};
782
- const coreTaskPermissions = Object.fromEntries([
783
- ["*", "deny"],
784
- ...Object.keys(AGENTS).filter((name) => name !== "Atlas").map((name) => [name, "allow"])
785
- ]);
786
- const capabilityTaskPermissions = Object.fromEntries([
787
- ["*", "deny"],
788
- ...Object.keys(SUBAGENTS).map((name) => [name, "allow"])
789
- ]);
790
782
  for (const [name, def] of Object.entries(AGENTS)) {
791
783
  agent[name] = {
792
784
  mode: def.mode,
793
785
  description: def.description,
794
- prompt: `{file:./.ai-workflow/opencode/agents/${name.toLowerCase()}.md}`,
795
- permission: {
796
- ...name === "Atlas" ? { edit: "deny", bash: "ask" } : {},
797
- ...name === "Astra" ? { edit: "allow" } : {},
798
- task: name === "Atlas" ? coreTaskPermissions : capabilityTaskPermissions
799
- }
786
+ prompt: `{file:./.ai-workflow/opencode/agents/${name.toLowerCase()}.md}`
800
787
  };
801
788
  }
802
789
  for (const [name, def] of Object.entries(SUBAGENTS)) {
803
790
  agent[name] = {
804
791
  mode: "subagent",
805
792
  description: def.description,
806
- prompt: `{file:./.ai-workflow/opencode/skills/${def.skill}/SKILL.md}`,
807
- permission: {
808
- edit: "deny",
809
- bash: "ask",
810
- task: { "*": "deny" }
811
- }
793
+ prompt: `{file:./.ai-workflow/opencode/skills/${def.skill}/SKILL.md}`
812
794
  };
813
795
  }
814
796
  const command = {};