- Update profile/AGENTS.md to allow immediate Conventional Commits on non-default working branches once a task is verified in delivery mode - Require explicit approval for main/master commits, learning mode, conflicts, reverts, cherry-picks, shared-history rewrites, failing checks, unfamiliar working-tree edits, and destructive git - Align profile/learning-contract.md with delivery-mode commit autonomy and git-manager
72 lines
4.3 KiB
Markdown
72 lines
4.3 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, merge or release, 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, merge 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** (creating a batch of Gitea issues, approving
|
|
multi-item curation or routine task batches): 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; direct commits
|
|
to `main`/`master` always require my explicit approval.
|
|
- 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.
|
|
- Commit incrementally on working branches: in `delivery` mode on a non-default working branch,
|
|
commit each coherent, verified task immediately using Conventional Commits (stage explicit
|
|
paths or hunks only, relevant checks passing, zero secrets) without pausing for approval.
|
|
Pause for approval only on `main`/`master`, in `learning` mode, or when hitting conflicts,
|
|
reverts, cherry-picks, shared-history rewrites, failing checks, unfamiliar working-tree
|
|
changes, or destructive git.
|
|
- 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.
|
|
|