Skip to content

Commit e768352

Browse files
author
Aleksei Tikhomirov
committed
feat: add project intelligence workflows
1 parent ec02281 commit e768352

33 files changed

Lines changed: 1768 additions & 6 deletions

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,22 @@ jobs:
4040
./bootstrap.sh --target-dir "$RUNNER_TEMP/opencode-bootstrap-test" ${{ matrix.args }}
4141
./scripts/verify.sh --target-dir "$RUNNER_TEMP/opencode-bootstrap-test"
4242
43+
- name: Custom tools smoke test
44+
run: |
45+
TARGET="$RUNNER_TEMP/opencode-bootstrap-test"
46+
PORT=4110
47+
cd "$TARGET"
48+
OPENCODE_CONFIG="$TARGET/opencode.json" OPENCODE_CONFIG_DIR="$TARGET" opencode serve --port "$PORT" >/tmp/opencode-bootstrap-serve.log 2>&1 &
49+
SERVER_PID=$!
50+
sleep 5
51+
curl --noproxy '*' -fsS "http://127.0.0.1:${PORT}/experimental/tool/ids" | tee /tmp/opencode-bootstrap-tool-ids.json
52+
kill "$SERVER_PID"
53+
wait "$SERVER_PID" 2>/dev/null || true
54+
grep -q 'project_intelligence_status' /tmp/opencode-bootstrap-tool-ids.json
55+
grep -q 'project_intelligence_apply' /tmp/opencode-bootstrap-tool-ids.json
56+
grep -q 'loop_state_start' /tmp/opencode-bootstrap-tool-ids.json
57+
grep -q 'loop_state_status' /tmp/opencode-bootstrap-tool-ids.json
58+
4359
- name: Dry run smoke test
4460
run: |
4561
./bootstrap.sh --dry-run --target-dir "$RUNNER_TEMP/opencode-bootstrap-dry-run"

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
44

55
The format is inspired by Keep a Changelog.
66

7+
## [0.2.0] - 2026-03-10
8+
9+
### Added
10+
- Project intelligence layer with `/ocb-*` workflow commands.
11+
- Interactive `project-bootstrapper` flow for project-specific OpenCode overlays.
12+
- Persisted project artifacts under `.opencode/project/`.
13+
- Grounded analysis, project evolution, and bounded loop agent/skill/tool support.
14+
- New custom tools for project overlay management and loop state persistence.
15+
- Detailed implementation plan in `PROJECT_INTELLIGENCE_PLAN.md`.
16+
- Clear README guidance for how the target project is selected and confirmed.
17+
718
## [0.1.0] - 2026-03-10
819

920
### Added

CONTRIBUTING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,17 @@ Run at least:
2323
```bash
2424
sh -n bootstrap.sh
2525
sh -n scripts/verify.sh
26+
sh -n scripts/generate-checksums.sh
27+
./scripts/generate-checksums.sh --check
2628
./bootstrap.sh --dry-run --target-dir /tmp/opencode-bootstrap-dry-run
2729
./bootstrap.sh --target-dir /tmp/opencode-bootstrap-test --force --skip-backup
2830
./scripts/verify.sh --target-dir /tmp/opencode-bootstrap-test
29-
./scripts/generate-checksums.sh
3031
```
3132

3233
Then clean up temporary directories.
3334

35+
If you touch custom tools, also smoke-test tool loading through `opencode serve` and check that the expected tool IDs are present.
36+
3437
## Bundle changes
3538

3639
If you change anything under `bundle/`:

0 commit comments

Comments
 (0)