Add live session binding and project-scoped identities - #1
Merged
Conversation
5000Stadia
marked this pull request as ready for review
July 29, 2026 06:58
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.
What changed
PROJECT.SEATaddressing, project-filtered directories, and fail-closed same-project bare-name resolution.wipe agent,wipe project, andwipe allclean-start workflows with exact affected-mailbox confirmation and coherent metadata cleanup.agentpost upgradeand synchronized AgentPost v1.3.0 release metadata.0.0.6+codex.20260728214546and makes diagnostics compare the installed generation with the package-expected generation.Why
An unmanaged Codex thread could not safely adopt an alternate mailbox without restart because its parent environment and loaded plugin could not be rewritten. Separately, profile project metadata was recorded but ignored by human addressing, allowing a globally unique bare handle to resolve silently into another project. AgentPost also lacked a coherent supported reset operation for mailbox, binding, group, and workspace state.
The release hardening makes attachment state fail closed and performs wipe attachment work descriptor-relatively inside private directories. Wipe acquires authoritative consumer leases for every target, holds them through the transaction, and serializes mailbox registration through a root-level namespace fence. Rollback collisions preserve the staged original and report its recovery path.
Impact
agentpost attachnever installs or replaces a plugin and cannot claim already-idle wake when only lifecycle boundaries are available. Human channel commands now require explicit qualification across projects; low-level canonical-key APIs remain available for already-resolved scripts. Broader wipe scopes preview and require the exact current mailbox list before irreversible deletion, never touch source repositories, and refuse while any target consumer is live.The v1.3.0 adapter refresh requires a one-time reload for Claude and Codex plugin generations. Mail and profiles remain durable throughout.
Validation
PYTHONPATH=src python3 -m unittest discover -s tests -v— 235 tests passedpython3 scripts/verify_clean_install.py— Python 3.12 clean bootstrap passedpython3 -m compileall -q src tests scriptsnode --check src/agentpost/data/codex_bridge.mjssh -n scripts/install.sh./scripts/smoke_two_agents.shWOULD-UPGRADEfrom 0.0.5 to expected 0.0.6git diff --checkRelease candidate:
9e3f3f74c385f91def16a9ae9417f83b1791554d.