Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,27 @@ This repo defines **how we build** CognitiveOS. It is the process layer above th
## Rules

- All repos follow the git workflow defined in root `.opencode/instructions/git-workflow.md`
- Branch from `main`, PR to `main`, no rebase
- Branch from `development`, not `main`
- Use topic branches: `feature/<name>`, `fix/<name>`, `bugfix/<name>`
- Open a PR to `development` — squash merge after review
- Changes flow to `main` via a release PR (never push directly to `main` or `development`)
- No rebase — prefer `git pull` (merge)
- Commit types: `feat:`, `fix:`, `chore:`, `docs:`, `refactor:`, `test:`
- Go code must pass `gofmt -s` and `go vet`

## Process Enforcements (MANDATORY)

All work in this repo MUST follow the CognitiveOS Process Enforcements:

- `docs/ENFORCEMENTS.md` — SPECv1, GHW, VibeLeading, ABSEv1
- `product-specs/docs/ENFORCEMENTS.md` — same content (mirror)

These enforcements are binding on every contributor, agent, and automation. No work may bypass them except on explicit user instruction (maintainer emergency).

## Process Enforcements (MANDATORY)

All work in this repo MUST follow the CognitiveOS Process Enforcements:

- `docs/ENFORCEMENTS.md` — SPECv1, GHW, VibeLeading, ABSEv1 (RFC 2119 MUST-level rules)

These enforcements are binding on every contributor, agent, and automation. No work may bypass them except on explicit user instruction (maintainer emergency).
Loading