d0079271d571986256bd6db8caba2500b22bcfbc
The chat agent had no way to know where it lives without probing the filesystem (pwd, find, git remote), wasting turns on every orientation. Per docs/architecture/identity.md the <env> block is Layer 1 invariants, so the daemon's own facts belong there, driven from live configuration. Render into the prompt's <env> block: - workspace path (chat.workspace) - repositories under management with forge host and default branch - operator identity (chat.operator, which was dead plumbing) Unconfigured values render explicitly as unknown / none configured rather than a plausible-looking default, and a repo with no forge reports forge unknown, so the model never claims a fact the daemon cannot confirm. Repos are resolved per active chat identity, mirroring chatTaskProfiles. gateway: add RepoEnv, SystemPromptConfig Workspace/Repos/Operator, TurnRunnerConfig Workspace/Repos. app: chatRepoEnv resolver wired through newChatTurnRunner. tests: prompt rendering (incl. explicit-unknown + hostile-SOUL guard) and chatRepoEnv identity resolution. go.sum gains module-graph /go.mod checksum lines.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.7%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%