fix(protocol): implement Identity Isolation to prevent task pollution
Research revealed that agent identities (consolidated to bd beads) were appearing in standard task lists because the data-access layer lacked identity-awareness. - Refactored read-issues.ts and parser.ts to explicitly exclude beads labeled 'gt:agent' from standard mission flows. - Verified that agent personas remain targetable by the registry but are invisible to Kanban/Graph/Sessions. - Added Characterization Test: identity-isolation.test.ts. This restores the 'War Room' clarity by separating Operatives from Missions. OPERATIVE: silver-castle SESSION: 2026-02-14-1630
This commit is contained in:
parent
eec1d6e28f
commit
0016b57e37
4 changed files with 65 additions and 22 deletions
|
|
@ -81,6 +81,11 @@ export function parseIssuesJsonl(text: string, options: ParseIssuesOptions = {})
|
|||
continue;
|
||||
}
|
||||
|
||||
// Exclude agent identities from standard mission lists
|
||||
if (normalized.labels.includes('gt:agent')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
issues.push(normalized);
|
||||
} catch {
|
||||
// Skip malformed lines to keep parser resilient against partial writes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue