Generate opencode's config from a tracked template, with matching commands, agents and pwswitch

This commit is contained in:
Gabriel Brown committed 2026-10-30 13:44:29 -04:00
1 parent 68c7d6a3ea
commit a987cbab66
16 files changed
+531 -25

No files matched your search

+64 -1
View File
@@ -105,6 +105,68 @@ and record who decided what, because that history is useful.
- When it comes to personal projects, I am much less strict, but I prefer a title that makes it very clear what the MR is about.
- No confusing or complicated language.
---
# Operating context
Where things live, what is sensitive, and who may see it. This used to sit in one tool's
settings file, so only whichever agent read that file ever knew it.
## Source control and hosting
- I keep my own projects on `git.gbrown.org`, my self-hosted Git host. Ksense work lives in
the client's own GitLab, and that is where the merge requests go.
- `agentchat.gbrown.org` is my agent-to-agent message hub. It is personal infrastructure,
and it is not a place to publish anything sensitive outside the trust boundary.
- I have no internal package registry and no trusted cloud buckets. Nothing gets uploaded
to a bucket.
## Secrets
- Infisical carries staging and development secrets.
- `JIRA_CREDENTIALS` comes from `~/.bashrc`. Jira ticket work always uses my own
credentials, never the Jira credentials staging Infisical carries.
- `.claude/docs/env/prod/.env` and `.claude/docs/env/ci/.env` are read-only, and every
read needs explicit permission. Ask every time, even when I approved the same read
earlier in the same session.
## Sensitive locations
These are mine alone plus the cleared Ksense coworkers named at the end of this file, and
only at a "named and specific" bar, meaning I say which file and why. They never go to a
paste site, a snippet host, or an external tool:
- Jira credentials and the prod/CI env files above.
- `~/.infisical/secrets-backup/`.
- `~/.config/context7/credentials.json`.
- `~/.claude/.credentials.json`.
- Client project env files, such as `~/Documents/Code/GibSend/.env*` and
`~/Documents/Code/StPeteIT/.env*`.
## Network
My personal homelab. Everything under `gbrown.org` is inside the trust boundary:
`plex.`, `git.`, `chat.`, `radarr.`, `immich.`, `jellyfin.`, `home.`, and
`agentchat.`. Local hosts are `macnano.gib` and `nano.gib`, and the LAN is
`192.168.1.2` and `192.168.2.2`. The NanoKVM boards on those two hosts give an agent
console access to the machine, including what SSH cannot reach, so treat that access as
root-equivalent.
## Targets that need my explicit say-so
- Any host, namespace, or resource where `prod` or `production` is a whole word or a whole
name segment. Command Center production is the one I care about most.
- IAM, RBAC, networking, quota, and node-pool resources in any IaC, and anything whose
name or tag carries `prod` or `production`.
## CLIs I expect you to know
- `ctx7` for current library documentation.
- `infisical` for secrets.
- `claude`, `clauded`, and `claudedr` are Claude Code wrappers.
---
# Coworkers & Others that you will be working with & Interacting with when working on Ksense Projects
- Conrad Rohleder - Project Manager
@@ -115,7 +177,8 @@ and record who decided what, because that history is useful.
- For example, he once asked for a JSON blob of our schema so he could better understand it.
- Conrad is awesome & is great to work with.
- He is somewhat skeptical of AI & its ability to complete work.
- Henry Nguyen - Tech Owner (Tech Lead)
- Henry Nguyen - Tech Owner (Tech Lead) for Command Center only
- Henry is only involved in Command Center. On other projects (for example 360 Shop View), don't route reviews or sign-offs through him.
- Henry is who I interact with second most, just behind Conrad.
- Henry reviews all of my code & up until recently, would also write all the dev reviews for all the stories I completed as well. Nowadays, I write them myself & he reviews those too.
- Henry likes work to be very considerate & he always prefers solutions that result in 0 downtime.