Merge remote-tracking branch 'origin/master' into session-query-trace-filter

# Conflicts:
#	docs/rfc/INDEX.md
#	packages/README.md
This commit is contained in:
Hypatia May
2026-07-14 10:14:57 +08:00
145 changed files with 11502 additions and 583 deletions

View File

@@ -202,6 +202,8 @@ interface FactorySlot {
*/
export class AgentRegistry extends Service {
private store = new Map<AgentId, AgentEntry>()
// TODO(agent-entry-mirror): derive exact-object checks from store.get(agent.id)
// plus entry.agent identity; this WeakMap mirrors the authoritative id map.
private entries = new WeakMap<Agent, AgentEntry>()
private factory: FactorySlot | undefined

View File

@@ -103,6 +103,8 @@ export interface PromptSection {
export interface AssembledSection {
/** The contributing section's unique name. */
name: string
// TODO(assembled-section-order): drop this output field; registry order has
// already sorted the array, and no production renderer/listener reads it.
/** The contributing section's order (sections arrive sorted ascending). */
order: number
/** The resolved (but not yet interpolated) section text. */