Repository navigation
ownership: refuse agent owners, recover legacy agent canvases, and add 2026-12-04 changelog - #651
Merged
Merged
Conversation
Agents (session/proxy actors outside PERSON_HARNESSES) previously stamped project.createdBy on canvases they created, locking the human owner out once a read link swept their browser badge and blocking explicit owner grants via namesTheCreator. - Refuse agent actors on project.create, POST /api/spaces, and POST /api/groups with AGENT_OWNER (agent-owner). - Resolve the badge's human owner via resolveOwnerActor across @isocan/api, @isocan/cli, and @isocan/voice-agent before creating or administering rooms, spaces, or groups. - Share claimsCanvasCreator across admittingGrant and heldRung so legacy agent-created canvases resolve own for the human who ownsAgent the creator, check the creator/space floor before returning below-edit grants, elevate ws/canvas snapshot capability for legacy agent-owned canvases, and allow explicit email owner grants when createdBy is an agent.
dalmaer
approved these changes
Dec 4, 2026
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.
Why
Agents (session/proxy actors outside
PERSON_HARNESSES) previously stampedproject.createdBywhen creating canvases. On a hosted home such asisocan.corp.goog, the browser badge held the user's own actor rather than the proxy session's agent actor — so setting the link toreadswept the human down to read-only, locked the Share dialog out, andnamesTheCreatorblocked explicit owner grants.What changed
AGENT_OWNER/agent-owner): Refuseproject.create,POST /api/spaces, andPOST /api/groupswhen the resolved acting actor is classified as"agent"inactorKinds.resolveOwnerActor): Resolve the badge's human owner (home:person, another person-harness claim, or~/.isocan/identity.jsonunderhome:person) before creating or administering rooms, spaces, or groups across@isocan/api,@isocan/cli, and@isocan/voice-agent.claimsCanvasCreatorbetweenadmittingGrantandheldRungso legacy agent-created canvases resolveownfor any person whoownsAgentthe creator.edit(read/view).helloandGET /api/projects/:id/canvascapability toownfor legacy agent-owned canvases when the badge belongs to the agent's human owner, and returnfalsefromnamesTheCreatorwhencreatedByis an agent.docs/changelog/2026-12-04.mdand updateddocs/changelog/README.md.Verification
npx vitest run test/changelog.test.ts test/changelog-drain.test.ts: 14/14 passed.npm run typecheck && npm run lint: passed (exit 0).npm run test:deep: 957/970 files passed (11 cloudstore emulator skips; remaining 2 failures werepackages/cli/test/browser.test.tsEACCESin this environment and a 20s load timeout inpackages/mcp/test/known-address.test.ts, which passed standalone 1/1 in 28.20s).