Skip to content

fix(.life): runtime spec Part B uses correct v0.7 audit event names (post-#115 review)#116

Merged
LING71671 merged 1 commit into
masterfrom
devin/1777220625-followup-runtime-audit-events
Apr 26, 2026
Merged

fix(.life): runtime spec Part B uses correct v0.7 audit event names (post-#115 review)#116
LING71671 merged 1 commit into
masterfrom
devin/1777220625-followup-runtime-audit-events

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented Apr 26, 2026

Summary

Tiny follow-up to #115 — fixes two audit-event name mismatches Devin Review caught after the merge:

  1. turn_emitted does not exist. The v0.7 audit event vocabulary
    in §5 names it session_turn. Implementers searching for
    turn_emitted would find no definition and might mint a new
    event type. Replaced and made the v0.7 event roster exhaustive
    so future readers can locate it from Part B.

  2. withdrawal_check was a duplicate of the existing v0.7
    withdrawal_poll.
    Re-used the existing event and made the
    v0.8 obligation explicit (Stage 5 Guard MUST populate endpoint
    and result), rather than introducing a new event type that
    shadows the existing one.

Changes

  • docs/LIFE_RUNTIME_STANDARD.md:
    • Part B audit-additions table: rename row to reuse the existing
      withdrawal_poll event with v0.8 field-required clarification.
    • Trailing paragraph: replace turn_emitted with session_turn
      and list every existing v0.7 event by name (session_started,
      session_turn, session_withdrawn, session_terminated,
      forbidden_use_refused, disclosure_warning_emitted).
  • CHANGELOG.md: appendix note (covered by the existing v0.8: docs/LIFE_RUNTIME_STANDARD.md update — 5-stage assembly + Provider Registry #105 entry —
    no separate bullet, since this is a clarification not a new
    feature).

Local validation

  • python tools/batch_validate.py → 21/21 steps pass (no schema or test changes).

Review & Testing Checklist for Human

Risk: green — pure doc clarification fix. Two-line change.

Notes

Same follow-up pattern as #109#108, #112#110, and #114#111.
Closes the Devin Review finding BUG_pr-review-job-0d59d48f… on the merged #115.

Link to Devin session: https://app.devin.ai/sessions/ff7322e18fd94887875daa2c1c75f87d
Requested by: @LING71671


Open in Devin Review

…post-#115 review)

- B.7 row 'withdrawal_check' was a duplicate of the existing v0.7
  'withdrawal_poll' event. Renamed to reuse the existing event and
  spelled out the v0.8 obligation that 'endpoint' + 'result' fields
  become required (rather than introducing a new event type).
- 'turn_emitted' was a non-existent name; the v0.7 event is
  'session_turn' (defined in §5). Replaced and expanded the existing
  event roster to be exhaustive so future readers can locate it.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Contributor Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@LING71671 LING71671 merged commit 758f667 into master Apr 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant