mirror of
https://github.com/nejimakibird/model-weave.git
synced 2026-07-22 06:51:24 +00:00
docs: add Codex git operation policy
This commit is contained in:
parent
2a4288f904
commit
0baede8169
1 changed files with 23 additions and 1 deletions
24
AGENTS.md
24
AGENTS.md
|
|
@ -107,4 +107,26 @@ Unless explicitly requested, do not:
|
|||
- Add mobile-specific support
|
||||
- Add server-side or external network behavior
|
||||
- Add telemetry or analytics
|
||||
- Replace the text-first design principle with GUI-first editing
|
||||
- Replace the text-first design principle with GUI-first editing
|
||||
|
||||
## Git operation policy
|
||||
|
||||
Codex must not perform remote Git operations.
|
||||
|
||||
Allowed:
|
||||
- inspect repository state with `git status`, `git diff`, `git log`, etc.
|
||||
- edit files
|
||||
- run local verification commands such as `npm run build`
|
||||
- create local commits only when explicitly requested by the user
|
||||
|
||||
Not allowed:
|
||||
- `git push`
|
||||
- pushing tags
|
||||
- creating GitHub releases
|
||||
- merging into `develop` or `main`
|
||||
- force push
|
||||
- deleting remote branches
|
||||
- changing remote repository settings
|
||||
|
||||
Codex should stop after local changes, local verification, and local commit if requested.
|
||||
The user will review and manually perform pushes, tag pushes, merges, and releases.
|
||||
|
|
|
|||
Loading…
Reference in a new issue