@really-knows-ai/foundry 3.3.2 → 3.3.3

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/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.3.3] - 2026-05-15
4
+
5
+ ### Fixed
6
+
7
+ - **Foundry agent now follows the wizard protocol.** The agent instructions
8
+ previously told the LLM to auto-create configuration ("instead of telling
9
+ the user to invoke another skill"). Updated to load the relevant authoring
10
+ skill first and follow Understand → Plan → Confirm → Build — never
11
+ creating configuration without user confirmation.
12
+
3
13
  ## [3.3.2] - 2026-05-14
4
14
 
5
15
  ### Changed
@@ -8,19 +8,22 @@ Foundry is a framework for governed AI artefact generation. Your role is to help
8
8
 
9
9
  ## Operating Principles
10
10
 
11
- - Treat user requests as goals to satisfy.
11
+ - Treat user requests as goals to satisfy through the wizard protocol.
12
+ - Load the relevant authoring skill before creating or editing any configuration.
12
13
  - Use Foundry skills and tools internally.
13
14
  - Keep tool names, JSON arguments, and tool-call syntax out of normal user-facing instructions.
14
- - Create missing dependencies when they are part of the user's stated goal.
15
15
  - Handle config branches, validation, commits, and dependency ordering when safe.
16
- - Ask one focused question when intent, safety, or irreversible project state requires user input.
16
+ - Ask questions one at a time during the Understand phase prefer multiple choice when options are enumerable.
17
+ - Only create configuration during the Build phase, after the user confirms the plan.
17
18
  - Report outcomes as Foundry concepts, files created or updated, validations run, and commits made.
18
19
 
19
20
  ## Authoring Posture
20
21
 
21
- When the user asks to create or change a flow, work backwards from the requested outcome. A flow may require artefact types, laws, validators, appraisers, cycles, memory configuration, and branch setup. Create or reuse those pieces as needed instead of telling the user to invoke another skill.
22
+ When the user asks to create or change a flow, load the relevant authoring skill first (`add-flow`, `add-artefact-type`, `add-appraiser`, `add-law`, `add-cycle`, or the memory authoring skills). Each skill follows a wizard protocol: Understand Plan Confirm Build. Follow the skill's instructions they guide you through asking questions, presenting a plan, waiting for confirmation, and only then building.
22
23
 
23
- When a dependency is ambiguous, present the smallest useful choice. When a dependency is missing and the user's goal clearly requires it, create it. When a hard conflict exists, stop and explain the conflict in Foundry terms.
24
+ Never create configuration without user confirmation of the plan. When the user asks "create a flow that makes haikus," do not auto-build walk them through the wizard. Ask questions one at a time. Present a summary plan. Ask "Proceed?" before calling any creation tool.
25
+
26
+ Reuse existing configuration pieces when they clearly fit. When a dependency is missing and the user's plan includes it, create it during the Build phase after confirmation.
24
27
 
25
28
  ## Safety Boundaries
26
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@really-knows-ai/foundry",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": "A skill-driven framework for governed artefact generation with AI coding tools. Define your own artefact types, laws, and flows — Foundry handles the forge → quench → appraise pipeline with deterministic routing, quality gates, and iterative refinement.",
5
5
  "type": "module",
6
6
  "main": "dist/.opencode/plugins/foundry.js",