Die imperative Hälfte der Key-Architektur lag unversioniert in ~/.zshrc und
~/.local/bin, während die deklarative (.env.agents) getrackt war. Jetzt liegt
alles Agent-bezogene hier:
- agents/agent-env.zsh — SSH_AUTH_SOCK + agent-env(), gesourced von .zshrc
- agents/ensure-machine-agent — startet den Maschinen-Agent und stellt beide
Keys sicher (ersetzt load-signing-key, das nur den Signing-Key kannte,
während agent-env separat den Agent-Key lud)
- agents/README.md — Design-Doc, verschoben aus dem ai-Repo zum Code
.env.agents bleibt rein deklarativ, weil op run --env-file die Datei nur
parst und keinen Code ausführt — daher die Zweiteilung.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aD7fG6BpN1HchyHeNXZb4
Die Datei trägt mit GIT_CONFIG_* eine Signing-Config, die nur mit dem
Ein-Key-Agent funktioniert — Konsumenten, die sie ohne agent-env laden
(launchd-Jobs, IDE-Plugins), scheiterten sonst mit 'Couldn't find key
in agent?' am leeren Apple-Agent.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aD7fG6BpN1HchyHeNXZb4
Agent-Sessions nutzen mwiegand-agent über den geteilten ssh-agent
(~/.ssh/isac-agent.sock, befüllt von agent-env) und signieren Commits
per GIT_CONFIG_* mit dem Agent-Key statt op-ssh-sign.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aD7fG6BpN1HchyHeNXZb4
Claude Code's Bash tool escapes every ! to \! at the transport layer
(anthropics/claude-code#61121, a regression of a 2.1.87 fix), corrupting
Python !=, jq, Jira JQL, branch names, etc. Documents the single robust
workaround: write !-containing code to .tmp/ via the Write tool and run
the file; .tmp/ is prompt-free via the Edit(.tmp/**) allow rule.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Replace fixed "5h"/"7d" window labels with hours/days remaining until
the rate-limit window resets, derived from rate_limits.*.resets_at.
- Wire up the previously-captured-but-unused $thinking variable as a
fallback marker when no explicit effort.level is present.
- Color-grade all three percentages (context, 5h, 7d): yellow >=80%,
red >=90%. Uses \e[39m to restore default fg without losing the
surrounding dim attribute.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Moves the Subagents / Behavioral tier / Model selection / Context hygiene
guidance from the ~/Projekte/ai project AGENTS.md into the global
AGENTS-claude.md. The content is universal Claude Code orchestration
guidance, not specific to one project.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- agents/AGENTS.md: shared, agent-agnostic personal preferences
- agents/AGENTS-claude.md: Claude Code wrapper (@AGENTS.md + @RTK.md)
- agents/AGENTS-opencode.md: OpenCode wrapper (@AGENTS.md)
- Old claude/CLAUDE.md removed; symlinks updated in ~/.claude and ~/.config/opencode
This lets each agent layer in tool-specific content (e.g. the Agent tool
tiering for Claude Code, RTK hooks) without leaking it into other agents.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Tracks ~/.claude/CLAUDE.md in the repo under claude/CLAUDE.md.
The original is replaced by a symlink back to this file.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>