docs(rfc): propose branded IDs everywhere they belong
Extend the existing Branded<B> machinery (CallId/SessionId/AgentId) to the unbranded cross-boundary IDs that meet the brand.ts policy bar — chiefly the model-facing bash task id (BashTask.id, the `bash-N` counter that shares SessionId's `name-N` shape) and a distinct OwnerToken brand for the bash owner token — and fix the brand erosion where existing brands decay back to `string` at Map keys and method params. Scoped focused per the "not every string needs a brand" policy: ModelId, ToolName, numeric ordinals, and validated construction are listed as deferred extensions, not in-scope work. Filed under proposed/architecture.
This commit is contained in:
@@ -65,6 +65,7 @@ Do NOT write one for a mechanical or local choice (a variable name, a one-file r
|
||||
| [Extract a generic long-running tool runtime](proposed/architecture/2026-06-20-generic-long-running-tool-runtime.md) | 2026-06-20 |
|
||||
| [Make the shared example base providerless](proposed/architecture/2026-06-20-providerless-example-base.md) | 2026-06-20 |
|
||||
| [Reorganize packages into a modular hierarchy](proposed/architecture/2026-06-20-package-hierarchy.md) | 2026-06-20 |
|
||||
| [Branded IDs everywhere they belong](proposed/architecture/2026-06-20-branded-ids.md) | 2026-06-20 |
|
||||
|
||||
### Process
|
||||
|
||||
|
||||
Reference in New Issue
Block a user