Product Requirements Document (PRD)
Draft
Changes to canonical semantics (concept definitions, policies, normalizer rules, identity schemas) are currently approved as binary accept/reject decisions. This approach:
A forced-choice governance mechanism where the system generates up to three structured options for every semantic change, each with explicit trade-offs, impact analysis, and risk ratings. Human approvers MUST actively select an option with explicit justification—the system cannot auto-choose.
| Goal ID | Description | Success Metric |
|---|---|---|
G-01 |
All semantic changes require structured proposal | 100% of changes have SemanticChangeProposal |
G-02 |
Reviewers see explicit trade-offs | ≥2 options presented for 80% of proposals |
G-03 |
No auto-approval possible | 0% of proposals approved without human selection |
G-04 |
Full audit trail of decision rationale | 100% of approvals include justification |
G-05 |
Impact analysis before approval | 100% of options include blast radius + debt analysis |
Given I have modified a concept definition or policy
When I submit my change for review
Then the system generates a SemanticChangeProposal with up to 3 options
And each option shows impact analysis and required approver role
Given a SemanticChangeProposal is assigned to me
When I open the proposal
Then I see all generated options with trade-off comparisons
And I cannot approve without selecting a specific option
And I must provide written justification for my selection
Given a proposal is flagged as breaking change
When I review the options
Then I see which invariants each option preserves or violates
And the aggressive option clearly shows elevated governance cost
Given a semantic change was approved
When I query the audit trail
Then I see all options that were generated
And I see which option was selected and why
And I see the approver’s explicit justification
SemanticChangeProposal artifactEach option MUST include:
Each option MUST have a risk rating:
Each option specifies the minimum role(s) required to approve: | Risk Rating | Required Role(s) | |————-|——————| | Low | R-DS (Domain Steward) | | Medium | R-DS or R-AG | | High | R-AG (Architecture Governor) | | Critical | R-AG + R-SO (Security Officer) |
| NFR ID | Category | Requirement |
|---|---|---|
NFR-01 |
Performance | Option generation completes in < 5 seconds |
NFR-02 |
Availability | Proposal system 99.9% uptime |
NFR-03 |
Security | All proposals and approvals cryptographically signed |
NFR-04 |
Audit | Full proposal history retained for 7 years |
SemanticChangeProposal schema is defined and validatedsea-gate query-proposals| Dependency | Specification | Status |
|---|---|---|
| Authority & Ownership | SDS-031 | Draft |
| CI Semantic Gates | SDS-020 | Draft |
| Semantic Debt Ledger | SDS-016 | Draft |
| Identity & Addressing | SDS-050 | Draft |
Note: SDS-031 (Semantic Change Workflow) has been consolidated into SDS-031 §5.
| Version | Date | Author | Change |
|---|---|---|---|
| 0.1.0 | 2025-12-22 | SEA-Forge™ | Initial draft |