Commit graph

60 commits

Author SHA1 Message Date
mwiegand
adc06c6791
refactor: ~/.zshrc sources ai-config agent-env.zsh directly
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Zd8dTezcoQG42Pv4nJn94
2026-10-11 11:53:47 +02:00
mwiegand
cbf440dc50
refactor: Claude statusline moves to ai-config/agents
Only shell config stays here.

Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
2026-10-09 23:28:32 +02:00
mwiegand
450b58c2a5
refactor: agents/ moves to ~/Projekte/ai-config
.zshrc sources agent-env.zsh from there; README points to the new home.
History of the moved files stays here up to e000cfe.

Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
2026-10-09 23:21:57 +02:00
mwiegand
e000cfe121
docs(agents): model selection in tiers relative to the parent, not by name
Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UH8jPP1zXteddiR9pEd4KE
2026-10-09 22:51:15 +02:00
mwiegand
1027d553f7
docs(agents): code health rules move to the coding skill
Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UH8jPP1zXteddiR9pEd4KE
2026-10-09 22:50:29 +02:00
mwiegand
ba6f7521a1
feat(agents): git and communication rules from memory, backend hint hook
- Git section carries the rules that lived in auto-memory: push and PRs
  without asking, no --amend or stash pop with parallel sessions, absolute
  commit-message path, readable PR branches, push unsandboxed
- External communication: no notice on automated texts, terse PR replies,
  local time in chat
- Model selection: opus for research and judgement work; rule 0 for the
  self-hosted backend, fed by agents/backend-hint.sh as a SessionStart hook
  (prints a context line only when ANTHROPIC_BASE_URL is the vLLM gateway)

Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UH8jPP1zXteddiR9pEd4KE
2026-10-09 22:50:19 +02:00
mwiegand
b3432363ed
docs(agents): sourcebot guidance moves to the sourcebot skill
Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UH8jPP1zXteddiR9pEd4KE
2026-10-09 22:48:59 +02:00
mwiegand
2163e5e4ef
docs(agents): drop skill pointers that duplicate the skill descriptions
Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
2026-10-09 21:57:06 +02:00
mwiegand
85d1e68898
docs(agents): take over the general rules from the ai repo
Identity, write-action confirmation, external communication, error
handling, git commits, Jira defaults and the icinga/isac skill pointers
apply in every repo, not only in ai; the ai AGENTS.md keeps repo-only rules.

Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
2026-10-09 21:53:11 +02:00
mwiegand
f5878f1f06
docs(agents): say when ccc comes before grep
Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
2026-10-09 21:48:54 +02:00
mwiegand
4940a7066d
feat(env): add second Proxmox instance and Sentry read token references
1Password references only; fix the section label of the Sentry entry.

Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HJuj5BdSLtn9R4xHduxYWY
2026-10-09 21:27:38 +02:00
mwiegand
4a155afb63
refactor(agents): trim global AGENTS.md to invariants, fix cognee command forms
- cognee section 67 → 30 lines: triggers and routing only, how-to lives in
  the plugin skill; recall/remember written as `cognee` subcommands
- memory writes explicitly exempt from project write-confirmation rules;
  precedence for projects with their own findings convention (file first,
  cognee note with link)
- removed-hook JSON dropped (in git history), one-targeted-retry rule added
- ccc gotchas moved to the ccc skill, md paragraph translated and shortened
- AGENTS-claude.md: onyx block no longer duplicates the plugin description

Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HJuj5BdSLtn9R4xHduxYWY
2026-10-09 21:26:28 +02:00
mwiegand
a230db5e7b
docs(agents): sandbox exclusions over the bypass flag; record the removed PreToolUse hook
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 01:10:33 +02:00
mwiegand
1997b1d116
agents: NetBox-Token
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013RUqfBmF2v6zXiUk9ZxEiL
2026-10-02 15:00:52 +02:00
mwiegand
1a1e9bab7d
agents: Bitbucket-Cloud-Token für den seibert-media-Workspace
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013RUqfBmF2v6zXiUk9ZxEiL
2026-10-02 15:00:52 +02:00
mwiegand
1c2585aaec
agents: SeaTable-Account-Token
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013RUqfBmF2v6zXiUk9ZxEiL
2026-10-02 15:00:52 +02:00
mwiegand
2447f547b9
agents: Verda-Inference-Key
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013RUqfBmF2v6zXiUk9ZxEiL
2026-10-02 15:00:52 +02:00
mwiegand
7b1cd5cf86
agents: Elewom-Token
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013RUqfBmF2v6zXiUk9ZxEiL
2026-10-02 15:00:52 +02:00
mwiegand
26ad240bc3
agents: Python ungepuffert, damit lange Läufe mitlesbar sind
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013RUqfBmF2v6zXiUk9ZxEiL
2026-10-02 15:00:52 +02:00
mwiegand
dd2f65a13f
docs(agents): md-Eintrag ohne Pfadangabe — das Tool liegt im PATH
Der Verweis auf ~/.local/bin/md und das ai-Repo war zum Aufrufzeitpunkt
irrelevant und machte den Eintrag von einem zweiten Repo abhängig.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014Jmx1FL5pssYBKsCjj2pJr
2026-09-03 23:55:46 +02:00
mwiegand
900637c3f8
docs(agents): md-Werkzeug für lange Markdown-Dateien in Tooling aufgenommen
Outline mit Token-Größe pro Abschnitt, dann gezielt den Teilbaum lesen —
statt head oder grep auf Überschriftenzeilen.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014Jmx1FL5pssYBKsCjj2pJr
2026-09-03 23:48:45 +02:00
mwiegand
8db8e6a3c8
docs(agents): Subagents-Sektion überarbeitet — Delegations-Default, fork, SendMessage statt task_id
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017wcGPTAnGpH7wFGXCGQjtw
2026-08-30 14:27:23 +02:00
mwiegand
c77790dae1
chore(agents): ai-API-Keys als 1Password-Referenzen ergänzen 2026-08-13 17:21:49 +02:00
mwiegand
5fd5e77b49
docs(agents): cognee-Regeln — kein Zeichensparen, Quellenangaben ergänzen 2026-08-13 17:21:29 +02:00
mwiegand
94bebbf0ac
agents: Sektionstitel auf Englisch angleichen
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS7hf1w8XCi63QduxCUrVn
2026-08-10 23:18:02 +02:00
mwiegand
e2e53bbedd
agents: Firmenwissen-Sektion als Ganzes neu geschrieben
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS7hf1w8XCi63QduxCUrVn
2026-08-10 23:16:39 +02:00
mwiegand
949e169fb3
agents: Thicket-Schnellpfad und answer-Default für Firmenwissen
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS7hf1w8XCi63QduxCUrVn
2026-08-10 23:15:52 +02:00
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