feat: project isolation — agents scoped by --project label#49
Open
Solar2004 wants to merge 2 commits into
Open
feat: project isolation — agents scoped by --project label#49Solar2004 wants to merge 2 commits into
Solar2004 wants to merge 2 commits into
Conversation
- DB schema v18 adds instances.project column - SenderIdentity carries project, auto-resolved from instance data - compute_scope() filters instances by project boundary - hcom send --project X, list --project X, launch --project X flags - TUI launch panel project overlay, project filter - Bootstrap PROJECT_NOTICE when project is set
- SCHEMA_VERSION 17→18 with migration ADD COLUMN project - InstanceRow.project field, parsing, and column validation - INSTANCE_COLUMNS and instance_row_to_json reindexed - should_deliver_to checks delivered_to field - Migration and repair tests updated for v18
56d2102 to
3d23414
Compare
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
Agents with the same project only see each other's messages. Agents with no project label see everyone (backward compatible).
Changes
instances.projectcolumnSenderIdentity.projectinsrc/shared/identity.rscompute_scope()filters instances by project boundary--project Xflag across:hcom send,hcom list,hcom launch,hcom events,hcom transcriptpkey), project filter (Fkey)[launch.project]in TOML,HCOM_PROJECTenv var