Commit graph

33 commits

Author SHA1 Message Date
mwiegand
a66d471d55
agents: cognee-Regeln auf Auslöser umstellen, lesend wie schreibend 2026-08-09 01:30:01 +02:00
mwiegand
27ac86f3e2
agents: Sourcebot-MCP für Repos ohne lokalen Checkout dokumentieren
Deterministische Tools (grep/read_file/get_diff/find_symbol_*) für
Recherche in nicht geklonten Seibert-Repos; ask_codebase nur auf
explizite Anweisung (verschachtelter Server-Agent, Minuten pro Call).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q6JHuFiJ86AyyMqyTaTcHi
2026-08-05 22:22:38 +02:00
mwiegand
c80b9bbd3d
agents: Dialog-Blindheit gilt auch für op read mit Item-Referenz
Geprüft: op read "op://Employee/<item>/password" zeigt denselben
generischen full-access-Dialog wie op item get. 1Password autorisiert das
Werkzeug, nie den Zugriff — auch wenn dieser vollständig spezifiziert ist.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aD7fG6BpN1HchyHeNXZb4
2026-08-04 23:54:59 +02:00
mwiegand
38f07179c4
agents: Bootstrap-Logik ins Repo, ein Script für beide Maschinen-Keys
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
2026-08-04 23:37:45 +02:00
mwiegand
9a5dc887ce
agents: mit dem gemeinsamen Signing-Key signieren statt mit dem Agent-Key
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aD7fG6BpN1HchyHeNXZb4
2026-08-04 22:50:53 +02:00
mwiegand
819f30efde
agents: SSH_AUTH_SOCK fest auf den Session-Agent-Socket
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
2026-08-04 22:11:15 +02:00
mwiegand
3dc6f43776
agents: SSH-User-Gate + geteilter Session-Agent + Git-Signing
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
2026-08-04 22:02:09 +02:00
mwiegand
8a35948bf6
agents: Proxmox-Zugang
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aD7fG6BpN1HchyHeNXZb4
2026-08-04 22:02:09 +02:00
mwiegand
999e85a17e
agents: Forgejo-Test-Token
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aD7fG6BpN1HchyHeNXZb4
2026-08-04 22:02:09 +02:00
mwiegand
d457fe2faf
agents: Jira-Read-only-PAT
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aD7fG6BpN1HchyHeNXZb4
2026-08-04 22:02:09 +02:00
mwiegand
9803672433
agents: Bitbucket-DC-URL + Bamboo-DC-Zugang
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aD7fG6BpN1HchyHeNXZb4
2026-08-04 22:02:09 +02:00
mwiegand
8ee998a6de
zshrc: add ~/.zfunc to fpath
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aD7fG6BpN1HchyHeNXZb4
2026-08-04 22:02:09 +02:00
mwiegand
774e5183e5
agents: prefer onyx over direct CQL for internal-doc research 2026-07-30 19:22:16 +02:00
mwiegand
dd4698fca7
agents: onyx mode guidance by use case (answer for facts, search for sources) 2026-07-27 20:51:31 +02:00
mwiegand
53a11aa9f1
agents: use onyx skill proactively for company-knowledge questions 2026-07-27 20:47:24 +02:00
mwiegand
8c7300e899
docs(agents): store memories in cognee proactively, route team-IT to team bucket
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BFaWee4G42cmTCCAFRTtcB
2026-07-23 17:31:13 +02:00
mwiegand
abc654d753
chore(agents): drop rtk hook reference
rtk has been uninstalled and its Claude Code integration removed.
2026-07-22 14:58:56 +02:00
mwiegand
df85d45c46
docs(agents): add rule to avoid literal ! in inline Bash commands
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>
2026-06-13 12:47:36 +02:00
mwiegand
31bf923872
docs(agents): add code-health and interpreting-requests sections 2026-05-17 20:02:09 +02:00
mwiegand
3f458f5114
docs(agents): treat ccc index / ccc init as read-safe maintenance 2026-05-17 19:58:38 +02:00
mwiegand
7679cf9f4b
feat(statusline): reset countdowns, thinking fallback, color-grade percentages
- 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>
2026-05-17 02:14:04 +02:00
mwiegand
431ab60e8d
feat: add agent environment config 2026-05-13 12:43:18 +02:00
mwiegand
8d5406b7ef
add Claude Code statusline script
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 22:59:51 +02:00
mwiegand
5631169af2
docs(agents): add sandbox and temp file usage guidelines
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 21:58:46 +02:00
mwiegand
b04ed3ffa0
docs(agents): prefer $TMPDIR or .tmp/ over /tmp to avoid sandbox prompts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 21:23:27 +02:00
mwiegand
16261c738c
feat(agents): promote subagent tiering to global Claude wrapper
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>
2026-05-12 10:16:29 +02:00
mwiegand
d97d9912b4
feat(agents): split global agent config into shared base + per-agent wrappers
- 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>
2026-05-11 22:56:14 +02:00
mwiegand
c3edb9a12c
feat: add global Claude Code instructions
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>
2026-05-11 22:32:14 +02:00
mwiegand
b5c26a8336
feat: enable minimal zsh completion 2026-04-19 16:46:40 +02:00
mwiegand
b51c780f48
no space 2026-04-19 16:19:30 +02:00
mwiegand
fcc5ffe660
feat: dim git branch segment in prompt 2026-04-19 16:14:49 +02:00
mwiegand
fa02adb59f
docs: add repo usage and agent guidance 2026-04-19 16:06:54 +02:00
mwiegand
f62402ca2a
feat: add zsh configuration 2026-04-19 15:59:25 +02:00