gaia-framework 1.127.2 → 1.127.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.
|
@@ -23,11 +23,9 @@
|
|
|
23
23
|
</step>
|
|
24
24
|
|
|
25
25
|
<step n="3" title="Write Updated State">
|
|
26
|
-
<action>Use regex-based in-place edit to update ONLY the bridge_enabled: line within the test_execution_bridge: section
|
|
27
|
-
<action>
|
|
28
|
-
<action>
|
|
29
|
-
<action>If the test_execution_bridge section is missing: emit error "test_execution_bridge section not found in global.yaml — cannot toggle. Add the section first (see ADR-028 §10.20.7)."</action>
|
|
30
|
-
<action>Write the updated content back to global.yaml</action>
|
|
26
|
+
<action if="section present">Use regex-based in-place edit to update ONLY the bridge_enabled: line within the test_execution_bridge: section. Regex pattern: /^(\s+bridge_enabled:\s*)(true|false)/m — replace capture group 2 with target value. This preserves inline comments on the same line and all surrounding YAML content. Write the updated content back to global.yaml.</action>
|
|
27
|
+
<action if="mode == enable and section absent">Append a canonical test_execution_bridge block to the end of global.yaml with bridge_enabled: true. Write the updated content back to global.yaml. Report: "Created test_execution_bridge section with bridge_enabled: true."</action>
|
|
28
|
+
<action if="mode == disable and section absent">Report: "Bridge is already disabled — no changes made." Exit with status ok. Do NOT write global.yaml.</action>
|
|
31
29
|
</step>
|
|
32
30
|
|
|
33
31
|
<!-- Step 4: Post-Flip Checks (Enable Mode Only) — E17-S22
|