Skip to content

feat(supervision): land #410 attached-session read-only supervision onto release-0-8-0 - #418

Merged
rebuildup merged 2 commits into
release-0-8-0from
409
Nov 23, 2026
Merged

rebuildup merged 2 commits into
release-0-8-0from
409

Conversation

@rebuildup

Copy link
Copy Markdown
Contributor

Summary

stacked PR の merge 順序により、#414(410→409)が #413(409→408)より後に merge されたため、#410(attached-session read-only supervision, f854952)の内容が release-0-8-0 に未反映。branch 409 の現 head は #410 を含むため、本 PR で差分のみ land する。

Test plan

Generated with Devin

rebuildup and others added 2 commits November 23, 2026 12:40
#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)
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6650bd3d-a763-471d-ad39-dedd8ae05d41

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@rebuildup
rebuildup marked this pull request as ready for review November 23, 2026 15:28
@rebuildup
rebuildup merged commit 7f43db3 into release-0-8-0 Nov 23, 2026
9 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