Debian Codegraph @

specs/stakeholder/requirements/STK-REQ-005.req.yaml

raw symbols SCIP
1 id: STK-REQ-005
2 version: 1
3 status: review
4 priority: shall
5 category: functional
6 req_type: guarantee
7 fretish: ""
8 description: Library users shall update or delete addressed JSON values in byte payloads through the experimental mutation helpers with deterministic edge-case behavior.
9 formalization_strategy: informal
10 informal_verification:
11 method: ""
12 evidence: ""
13 verified: false
14 component: parser
15 rationale: Set and Delete are documented experimental APIs, so their mutation and malformed-input behavior still needs explicit contract coverage.
16 tags:
17 - mutation
18 - decomposition
19 variables: []
20 traces:
21 documented_by_extra:
22 - README.md
23 reviewed_at: "2026-04-27T06:25:19.204096Z"
24 reviewed_by: human:leonidbugaev
25 verification:
26 assurance_level: E
27 formalization_status: none
28 review:
29 status: approved
30 reviewer: human:leonidbugaev
31 reviewed_at: "2026-04-23T00:00:00Z"
32 ai_generated: false
33 history:
34 created_by: human:cli
35 created_at: "2026-04-13T17:15:31Z"
36 last_modified_by: agent:codex
37 last_modified_at: "2026-04-14T15:45:00Z"
38 stakeholder:
39 persona: Go developers mutating dynamic JSON payloads in-place
40 story: As a Go developer mutating JSON byte payloads, I want experimental helpers that update or delete addressed values with deterministic edge-case behavior so that I can transform payloads without writing my own low-level mutator.
41 acceptance_criteria:
42 - id: AC-1
43 text: A caller can update an existing addressed JSON value or create a supported missing addressed value through Set and receive the expected mutated payload, or a defined error when the requested mutation path is unusable.
44 testable: true
45 derived_reqs:
46 - SYS-REQ-009
47 - SYS-REQ-051
48 - SYS-REQ-068
49 - SYS-REQ-069
50 - SYS-REQ-070
51 - id: AC-2
52 text: A caller can delete an addressed JSON value through Delete and receive either the expected mutated payload, the unchanged original payload for a missing addressed target in otherwise usable input, or the unchanged original payload for malformed, truncated, or otherwise unusable input, without process crash or panic.
53 testable: true
54 derived_reqs:
55 - SYS-REQ-010
56 - SYS-REQ-033
57 - SYS-REQ-034
58 - SYS-REQ-035
59 - SYS-REQ-048
60 - SYS-REQ-049
61 - SYS-REQ-050
62 - SYS-REQ-056
63 - SYS-REQ-100
64 - SYS-REQ-101
65 - SYS-REQ-102
66 obligation_checklist:
67 - nominal
68 - missing_path
69 - malformed_input
70 - truncated_at_value_boundary
71 - truncated_mid_structure
72 - empty_input
73 - no_path_provided
74 - nested_mutation
75 - error_propagation
76 - sentinel_value_boundary
77 - idempotency
78 - nil_safety
79 - edge_case
80 lifecycle:
81 change_history:
82 - date: "2026-04-13T17:16:45Z"
83 from: draft
84 to: review
85 reason: ""
86 changed_by: human:cli
87 - date: "2026-04-14T15:45:00Z"
88 from: review
89 to: review
90 reason: Strengthened mutation acceptance criteria to distinguish missing-target and unusable-input Delete behavior.
91 changed_by: agent:codex