Skip to content
Merged
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions .opencode/opencode.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,19 @@
"tools": {
"github-triage": false,
"github-pr-search": false,
// Set any of these to false to disable context editing tools:
// "context_edit": false,
// "context_deref": false,
// "context_history": false,
// "thread_park": false,
// "thread_list": false,
},
"agent": {
// classifier is enabled by default — used by classifier_threads and distill_threads tools
// "classifier": { "disable": true },

// focus and focus-rewrite-history are opt-in
"focus": { "disable": true },
"focus-rewrite-history": { "disable": true },
},
}
6 changes: 6 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ Use `context_history` to navigate the edit DAG:
- Test actual implementation, do not duplicate logic into tests
- Tests cannot run from repo root (guard: `do-not-run-tests-from-root`); run from package dirs like `packages/opencode`.

## Git Hooks

- NEVER bypass pre-commit hooks. No `HUSKY=0`, no `--no-verify`. Fix the issue instead.
- Pre-commit runs: prettier format, typecheck, tests. All must pass before commit.
- Commit messages must follow conventional commits (`feat:`, `fix:`, `chore:`, etc).

## Type Checking

- Always run `bun typecheck` from package directories (e.g., `packages/opencode`), never `tsc` directly.
Loading
Loading