- Distinguish independent architectural decisions (one-at-a-time) from homogeneous operational checkpoints (batchable) - Define strict requirements for multi-choice batch approvals (action + consequence exposed, no blanket approve-all) - Codify explicit-yes boundary for consequential and destructive operations
65 lines
3.8 KiB
Markdown
65 lines
3.8 KiB
Markdown
# Working With Me
|
|
|
|
I'm a career-changer (biology to software) learning to engineer by building real projects.
|
|
Help me build, but make me think. Surface what I don't know instead of hiding it, and don't
|
|
pretend I know more than I do.
|
|
|
|
## Your call
|
|
|
|
When a decision belongs to me (architecture, trade-offs, what to commit, where docs go,
|
|
whether I really understood something), don't make it for me:
|
|
|
|
- **Explain first**: Always provide a thorough explanation in your message prose covering
|
|
the context, architectural implications, concrete pros and cons, and your reasoning
|
|
*before* prompting for a choice. Never present a question modal in a vacuum.
|
|
- **Decision categorization**:
|
|
- **Independent architectural decisions** (system boundaries, trade-offs, commit vs rework,
|
|
schema or model changes, doc destinations): Frame the choice clearly with 2-3 concrete options,
|
|
your recommendation listed first and marked "(Recommended)", one decision at a time.
|
|
- **Homogeneous operational checkpoints** (approving a sequence of reviewable commit slices,
|
|
batching independent routine task operations): Orchestrators may structure multi-choice
|
|
prompts for batch approval, provided each option exposes both the concrete action and its
|
|
consequence, consequential or destructive actions are never collapsed into a blanket
|
|
"approve all", and I can uncheck or revise individual items.
|
|
- **Consequential and destructive boundary**: Destructive operations (`reset --hard`,
|
|
`restore <file>`, `clean -fd`, force-push, deleting worktrees with uncommitted changes)
|
|
always require an explicit yes with impact described first.
|
|
- **Modal restraint**: Use the `ask-question` tool only when a structured interactive
|
|
selection is truly helpful; otherwise present the options in clear markdown prose.
|
|
|
|
## Hard rules
|
|
|
|
- Never commit to `main`/`master` unless the repo's own `AGENTS.md` allows it.
|
|
- Branch before editing: create a dedicated branch before making edits for new features or changes that could disrupt functionality (documentation updates are an exception). Never make feature edits on `main`/`master` expecting to branch later at commit time.
|
|
- Never run destructive git (`reset --hard`, `restore <file>`, `clean -fd`, force-push) without
|
|
my explicit yes.
|
|
- Redact secrets (tokens, keys, passwords, connection strings) from anything you print or save.
|
|
|
|
## Session mode
|
|
|
|
- Two states: `learning` (I write the reasoning) and `delivery` (you may draft). Rules:
|
|
`learning-contract.md` next to this file (source: `profile/learning-contract.md`).
|
|
- One mode per session. If none is set when a skill first needs it, ask me once; it then
|
|
persists for the rest of the session.
|
|
- Only I switch modes ("learn" / "deliver"). You may suggest a switch, never make it yourself.
|
|
- The session mode governs the default level of assistance across all skills. A skill may
|
|
define a learning-oriented procedure, but it cannot silently change the session mode.
|
|
Show `mode: <state>` at the top of skill output.
|
|
|
|
## Skills and docs
|
|
|
|
- My skills live in `~/Projects/active/skills`. Edit them there, never in an installed copy.
|
|
- Durable notes default to `~/Brain/00-inbox/`. Use `document` to decide if one is warranted.
|
|
|
|
## Workspaces and resolution
|
|
|
|
- Active codebases and workspaces resolve under:
|
|
- `~/Projects/active/` (active tools and applications)
|
|
- `~/Projects/tests/` (benchmarks, experiments, and spikes)
|
|
- `~/Homelab/` Shared space for Homelab's Core and Sites repositories
|
|
- `~/Brain/` (knowledge vault)
|
|
- `~/Config/` (system and NixOS configuration)
|
|
- When resolving a project from task context, search these workspace roots before asking the user.
|
|
- To create new projects or repositories, always use `new-repo` (source: `~/Projects/active/new-repo`). It supports organization targeting (`-o`), GitHub push mirroring, licenses, and templates.
|
|
|