|
3938 | 3938 | "CLI commands: update node, add realisation, add change" |
3939 | 3939 | ], |
3940 | 3940 | "type": "change" |
| 3941 | + }, |
| 3942 | + { |
| 3943 | + "context": "Issue #19 reported that users have no way to discover valid relationship endpoint types from help text. They only learn what is valid after attempting to add a relationship and getting an error.", |
| 3944 | + "id": "DEC46", |
| 3945 | + "name": "CLI: expose relationship endpoint type discovery", |
| 3946 | + "options": [ |
| 3947 | + { |
| 3948 | + "description": "Create a new query subcommand to list valid endpoint types for all relationship types", |
| 3949 | + "id": "OPT-A" |
| 3950 | + }, |
| 3951 | + { |
| 3952 | + "description": "Add endpoint type documentation directly to the add-rel help output", |
| 3953 | + "id": "OPT-B" |
| 3954 | + } |
| 3955 | + ], |
| 3956 | + "rationale": "A new query subcommand is more discoverable via help text, provides structured data output, and follows the CLI's existing pattern of query subcommands for different node and relationship types.", |
| 3957 | + "selected": "OPT-A", |
| 3958 | + "type": "decision" |
| 3959 | + }, |
| 3960 | + { |
| 3961 | + "id": "CHG44", |
| 3962 | + "name": "Implement query relationship-types command", |
| 3963 | + "scope": [ |
| 3964 | + "src/operations/query-relationship-types.ts,src/cli/commands/query.ts" |
| 3965 | + ], |
| 3966 | + "type": "change" |
| 3967 | + }, |
| 3968 | + { |
| 3969 | + "context": "Issue #24 reported that the validator requires all decisions to have a selected option, but some decisions are intentionally undecided (proposed, experimental, deferred states).", |
| 3970 | + "id": "DEC47", |
| 3971 | + "name": "Validator: allow intentionally undecided decisions", |
| 3972 | + "options": [ |
| 3973 | + { |
| 3974 | + "description": "Make selected option requirement lifecycle-aware — only require it for decided states (accepted, implemented, adopted)", |
| 3975 | + "id": "OPT-A" |
| 3976 | + }, |
| 3977 | + { |
| 3978 | + "description": "Add a new field to mark decisions as intentionally undecided", |
| 3979 | + "id": "OPT-B" |
| 3980 | + } |
| 3981 | + ], |
| 3982 | + "rationale": "Lifecycle-aware validation is simpler, requires no schema changes, and aligns with the semantic meaning of undecided lifecycle states.", |
| 3983 | + "selected": "OPT-A", |
| 3984 | + "type": "decision" |
| 3985 | + }, |
| 3986 | + { |
| 3987 | + "id": "CHG45", |
| 3988 | + "name": "Make decision validation lifecycle-aware", |
| 3989 | + "scope": [ |
| 3990 | + "src/operations/validate.ts,tests/validate.unit.test.ts" |
| 3991 | + ], |
| 3992 | + "type": "change" |
3941 | 3993 | } |
3942 | 3994 | ], |
3943 | 3995 | "relationships": [ |
|
5080 | 5132 | "from": "CHG43", |
5081 | 5133 | "to": "DEC45", |
5082 | 5134 | "type": "implements" |
| 5135 | + }, |
| 5136 | + { |
| 5137 | + "from": "CHG44", |
| 5138 | + "to": "DEC46", |
| 5139 | + "type": "implements" |
| 5140 | + }, |
| 5141 | + { |
| 5142 | + "from": "CHG45", |
| 5143 | + "to": "DEC47", |
| 5144 | + "type": "implements" |
5083 | 5145 | } |
5084 | 5146 | ] |
5085 | 5147 | } |
0 commit comments