Repository navigation
feat(supervision): land #410 attached-session read-only supervision onto release-0-8-0 - #418
Merged
Merged
Conversation
#410) Attached sessions can now read the ae-a8n supervision report through the same surfaces as owned sessions — without ownership promotion, mutation permission, or any new dispatch path. - dev-loop/supervision.mjs: isAttachedSession() detects the Issue #366 attached/read-only contract; attachedTargetGuardVerdict() re-validates target identity through the SAME targetGuard runOperation uses before mutating dispatches (census, pid/start stamp, version, project — fail closed on ambiguity, PID reuse, session change, second instance); guardedSupervisionSnapshot() serves the durable report only while the guard passes, else an honest unavailable (source 'target-guard') that never leaks the possibly-stale phase. - MCP: ae_supervision and ae_session use the guarded path for session-bound reads (guard checked before AND after any bounded wait); failure diagnostics carry the guarded snapshot, so a read-only refusal on an attached session still surfaces the structured needs-human state. - devtools-cli: evidence.supervision uses the guarded snapshot; the UNKNOWN-outcome bounded wait re-validates the guard afterwards and discards the snapshot on failure. - Explicit --session-root/--workdir dir reads stay unguarded file reads by design (no session object exists to prove identity against) and are documented as such. - Mutating ops on read-only attached sessions remain refused by sessionPolicy before consent/dispatch — supervision adds the structured human-required context, never a permission. Owned-disposable vs explicit-attached distinction preserved. Fake/ mock evidence only; real-host GUI path remains unverified.
feat(supervision): attached-session read-only supervision (#410)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
stacked PR の merge 順序により、#414(410→409)が #413(409→408)より後に merge されたため、#410(attached-session read-only supervision, f854952)の内容が
release-0-8-0に未反映。branch409の現 head は #410 を含むため、本 PR で差分のみ land する。Test plan
Generated with Devin