Plan architecture alignment for native observation
This commit is contained in:
@@ -308,10 +308,23 @@ behavior, and workflows. Update only the affected content when changes land:
|
||||
the unchanged ConfigKit entry. Maintainer-only tools are not new runtime
|
||||
attribution entries merely because an upstream `go.mod` lists them.
|
||||
|
||||
A new ADR is not needed for this additive use of the already adopted native-kit
|
||||
ownership boundaries. Existing architecture wording may need a small factual
|
||||
update from runner-owned request enrollment to consumer-owned contextual
|
||||
observation; accepted ADR bodies remain unchanged.
|
||||
Update [architecture policy](../policy/architecture.md#state-output-and-safety)
|
||||
to describe consumer-owned contextual observation rather than requiring one
|
||||
native execution group. Each interested consumer may attach its own native
|
||||
observer or group; the runner propagates context without owning invocation
|
||||
accounting. Retain accurate native identity, terminal coverage, unknown usage,
|
||||
and event-free cache hits. Group count and snapshot placement are implementation
|
||||
choices, not architectural requirements.
|
||||
|
||||
Add a short successor ADR, using the next available sequential number, that
|
||||
narrowly supersedes [ADR-0024](../adr/0024-publish-artifacts-with-native-reports-and-debug-evidence.md)'s
|
||||
requirement to use one native invocation `ExecutionGroup`. Record consumer-owned
|
||||
observation and independent native groups without shared-group discovery or
|
||||
application-maintained totals. Update ADR-0024's status to identify this partial
|
||||
supersession and link to the successor; preserve its accepted decision body.
|
||||
Its remaining artifact, reporting, capture, failure-handling, and native-accounting
|
||||
decisions remain in force. This is a targeted correction to the group-count
|
||||
clause, not a redesign of those boundaries.
|
||||
|
||||
Documentation acceptance: readers can discover each adopted interface and reach
|
||||
its selected upstream documentation directly. Local material describes what
|
||||
@@ -329,7 +342,9 @@ tests and documentation accompanying each change:
|
||||
2. Move caller/debug observation to native contexts, remove the runner group
|
||||
parameter and general observer forwarding, and retain operation-specific
|
||||
capture and application lifecycle handling. Update callers and focused tests
|
||||
with the removal rather than preserving a compatibility path.
|
||||
with the removal rather than preserving a compatibility path. In the same
|
||||
unit, update architecture policy and record the narrow ADR-0024 supersession
|
||||
described above so the implemented ownership has consistent documentation.
|
||||
3. Complete the integration checks below and remaining documentation/notices.
|
||||
Confirm that ordinary accounting needs no application-maintained totals,
|
||||
unconditional group, or handler reporting callbacks.
|
||||
@@ -376,6 +391,11 @@ the same integration boundary:
|
||||
scripts/documentation no longer assume the old default serialization.
|
||||
Existing domain JSON, completion fields, cache identity/eligibility, and
|
||||
producer failure/fallback behavior remain unchanged.
|
||||
7. Architecture policy and the successor ADR describe consumer-owned native
|
||||
observation without an exact-one-group requirement. ADR-0024's status links
|
||||
the partial supersession; its accepted body and unrelated decisions remain
|
||||
unchanged. No shared accounting machinery is introduced to satisfy retired
|
||||
wording.
|
||||
|
||||
Relevant existing test owners include
|
||||
[application assembly](../../internal/cli/application_test.go),
|
||||
|
||||
Reference in New Issue
Block a user