Commit Graph
2 Commits
Author SHA1 Message Date
CatoandClaude 96335c2ebe feat(terminal): the session names its effort; box agents ask for Loki's records in one line (#1245)
- Claude Code writes the effort level on each answer in its log, beside the
  model. The reducer reads it and SessionInfo shows it: "Opus 5.5 · high
  effort · Auto", and the sheet's Effort row names the current level.
- The box agents' contract gains "What Loki knows that this machine does
  not": records arrive attached; when one is missing, say "I need the
  feedback reports for <project>." (which the box turns into an Attach
  button), never ask the operator to export them by hand. A test ties that
  sentence to the detector.
- The contract was only installed when the builder was first set up, so
  every later edit stayed in the repo. deploy-hetzner.sh now re-applies it
  (merge-only, 60 s cap, never fails the deploy).


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-17 15:44:45 +02:00
CatoandClaude 12cdce76d3 feat(terminal): the agent gets Loki's feedback, and the session says its model and mode (#1228)
Asked to synthesize user feedback, the agent in a session searched its
memory folder, the repo and GitHub, found nothing, and asked for an export
of reports Loki already holds. And the conversation view said "Auto" with
no model and no way to learn what Auto meant.

- Loki's feedback reports reach the agent as a visible file on the box
  (/api/feedback/export, fenced as untrusted, no contact data): from "/",
  from a chip when the agent asks for feedback, and with any library prompt
  that declares `attach: ["feedback"]` — in a session and in Run with Loki.
- SessionInfo names the model (read from the session log) and the mode in
  words; its sheet changes the model, the effort (/effort) and the mode.
- Next-step chips use gpt-oss-120b and never approve an agent that said it
  lacks data or access.
- Library prompts that pointed at things the agent cannot reach (the
  knowledge graph, Loki's database) now say what to use and to say
  "can't tell" instead of guessing.
- A pasted_content closing tag with attributes no longer leaks into the
  conversation.
- "/" opens SessionPicker, never taller than the room above the box (it ran
  off a 320×568 screen).


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-15 10:20:47 -07:00