Agent integration: EVIE_CHAT_ID/EVIE_SOCKET env injection + auto-loaded evie CLI skill #68
No reviewers
Labels
No labels
epic
in-review
ready-for-agent
ready-for-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
weiwen/evie!68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-61"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #61.
Lets the notes agent drive evie through the Control Plane: an in-conversation "remind me in 1h to X" becomes a real Schedule the agent creates via the
evieCLI.Env injection at spawn
The Daemon injects
EVIE_CHAT_ID(the session's own chat) andEVIE_SOCKETinto every spawnedpiprocess environment, so the agent'sevie …calls target its own chat and daemon with no arguments. Plumbed throughPiSpawnConfig/SessionManagerConfigand applied to interactive and Ephemeral Sessions alike.Bundled evie CLI Skill
skills/evie/SKILL.mddocuments the Control Plane CLI: every Verb, the injected env vars, and the idempotent--updateschedule contract (evie <verb> --helpcarries the flag detail). Per ADR 0006 this is a Skill over pi's shell/command-exec tool, not a custom extension.Rather than push absolute-path wiring onto every deployment's
[pi].skills, the skill is always loaded automatically at spawn, since it's intrinsic to the daemon↔agent integration, not user-tunable config:bundled_skill_dir()resolves the installed layout (<exe>/../share/evie/skills/evie, shipped by the Nix package) first, falling back to the source tree forcargo run.--skillon every spawn, deduped against configured skills.skills/to$out/share/evie/skills.Acceptance criteria
pispawned withEVIE_CHAT_ID+EVIE_SOCKET.[pi].skillswiring).schedule --namecollisions/updates honour the schedule contract (--updateidempotent re-issue).Verification
cargo test(200 pass) incl. a new test asserting the bundled skill resolves;cargo clippy --all-targetsclean;nix build .#evieshipsshare/evie/skills/evie/SKILL.md.