Skip to content

feat: project isolation — agents scoped by --project label#49

Open
Solar2004 wants to merge 2 commits into
aannoo:mainfrom
Solar2004:feat/project-isolation
Open

feat: project isolation — agents scoped by --project label#49
Solar2004 wants to merge 2 commits into
aannoo:mainfrom
Solar2004:feat/project-isolation

Conversation

@Solar2004
Copy link
Copy Markdown

Summary

Agents with the same project only see each other's messages. Agents with no project label see everyone (backward compatible).

Changes

  • DB schema v18 adds instances.project column
  • SenderIdentity.project in src/shared/identity.rs
  • compute_scope() filters instances by project boundary
  • --project X flag across: hcom send, hcom list, hcom launch, hcom events, hcom transcript
  • TUI launch panel: project field overlay (p key), project filter (F key)
  • Config: [launch.project] in TOML, HCOM_PROJECT env var
  • Bootstrap PROJECT_NOTICE injected when project is set

Solar2004 added 2 commits May 9, 2026 10:07
- 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
@Solar2004 Solar2004 force-pushed the feat/project-isolation branch from 56d2102 to 3d23414 Compare May 9, 2026 09:18
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