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
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ Before merging to `development`, the CI must pass:
- All agent files have required frontmatter and sections
- All skill files have valid cross-references to existing agents
- All command files reference valid skill directories
- **Plugin tests** (`node .opencode/plugins/tests/test-*.mjs`):
- 11 test suites, 129+ tests covering all hooks
- **Plugin tests** (`npm run test:plugins`):
- 18 test suites, 158 tests covering all hooks

## Notes

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pi
2. Discuss the approach with maintainers
3. Fork the repo and create a branch
4. Make your changes
5. Run the plugin tests: `node .opencode/plugins/tests/test-<name>.mjs`
5. Run the plugin tests: `npm run test:plugins` (needs the `tsx` ESM loader — a plain `node .opencode/plugins/tests/test-<name>.mjs` will fail, since the tests import `.ts` sources)
6. Submit a pull request

## Commit Conventions
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ All 12 bash hooks from CCGS ported to `ccgs-hooks.ts`:
| 11 | `post-compact.sh` | `experimental.compaction.autocontinue` | **5** |
| 12 | `notify.sh` | Utility (`showNotification`) | — |

> 🧪 Run plugin test suite: `node .opencode/plugins/tests/test-<name>.mjs`
> 🧪 Run plugin test suite: `npm run test:plugins` (needs the `tsx` ESM loader — see CONTRIBUTING.md)
> 🧪 Run workflow integrity suite: `node tests/workflow/run-all.mjs`

### Contributing to the Framework
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"test": "node --import tsx --test .opencode/plugins/tests/test-*.mjs",
"test:plugins": "node --import tsx --test .opencode/plugins/tests/",
"test:plugins": "node --import tsx --test .opencode/plugins/tests/test-*.mjs",
"test:framework": "node tests/agents/validate.mjs",
"test:parity": "node --import tsx --test tests/e2e/test-parity.test.ts"
},
Expand Down