config editor
This commit is contained in:
@@ -6,8 +6,9 @@ Every functional requirement, non-functional requirement, and success criterion
|
||||
A row with no test is a requirement nobody is checking. Those are listed explicitly at the bottom
|
||||
rather than left out, because an incomplete matrix that looks complete is worse than no matrix.
|
||||
|
||||
**Status as at 2026-08-20**: 354 offline tests passing; engine purity and sanitization gates passing;
|
||||
no tenant-dependent item verified.
|
||||
**Status as at 2026-08-21**: 400 offline tests passing; engine purity and sanitization gates passing;
|
||||
no tenant-dependent item verified. The increase from 354 is FR-027–FR-030 (rule add/edit/delete in
|
||||
the interactive editor), added to spec.md and implemented in the same change (T122–T129).
|
||||
|
||||
## Functional requirements
|
||||
|
||||
@@ -39,6 +40,10 @@ no tenant-dependent item verified.
|
||||
| FR-024 | Non-interactive validation with exit codes | `-NonInteractive` short-circuit | `NonInteractive.Tests.ps1` |
|
||||
| FR-025 | Synthetic rule testing, no tenant | `Invoke-SyntheticRuleTest` | `NonInteractive.Tests.ps1` |
|
||||
| FR-026 | Validate and back up before save | `Save-PersonaConfiguration` | `Safety.Tests.ps1` (`PE-SAF-007`) |
|
||||
| FR-027 | Add a rule interactively | `Add-PersonaConfigRule`; `[A]` command in `Edit-PersonaEngineConfig.ps1` | `EditorAddRule.Tests.ps1`, `EditorStructuralEdits.Tests.ps1` |
|
||||
| FR-028 | Edit a rule interactively, including its condition tree | `Get/Add/Remove-PersonaConditionNode`, `Set-PersonaConditionLeaf`; `[E]` command | `EditorEditRule.Tests.ps1`, `EditorStructuralEdits.Tests.ps1` |
|
||||
| FR-029 | Delete a rule interactively, with confirmation | `Remove-PersonaConfigRule`; `[D]` command | `EditorDeleteRule.Tests.ps1`, `EditorStructuralEdits.Tests.ps1` |
|
||||
| FR-030 | Structural edits validated like a hand-edited file | `Test-PersonaCandidateEdit` in `Edit-PersonaEngineConfig.ps1` | `EditorStructuralEdits.Tests.ps1` |
|
||||
|
||||
## Rule engine requirements
|
||||
|
||||
|
||||
Reference in New Issue
Block a user