Skip to content

Commit e843833

Browse files
authored
Merge pull request #4 from freshtechbro/chore/pr-governance-checks
ci: enforce PR checks for lint, typecheck, and build
2 parents 300a5e4 + ad00183 commit e843833

453 files changed

Lines changed: 76490 additions & 2040 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pr-checks.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: PR Checks
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
12+
concurrency:
13+
group: pr-checks-${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
lint:
18+
name: lint
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Node
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: 20
28+
cache: npm
29+
30+
- name: Install dependencies
31+
run: npm ci
32+
33+
- name: Run lint
34+
run: npm run lint
35+
36+
typecheck:
37+
name: typecheck
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: Checkout
41+
uses: actions/checkout@v4
42+
43+
- name: Setup Node
44+
uses: actions/setup-node@v4
45+
with:
46+
node-version: 20
47+
cache: npm
48+
49+
- name: Install dependencies
50+
run: npm ci
51+
52+
- name: Run typecheck
53+
run: npm run typecheck
54+
55+
build:
56+
name: build
57+
runs-on: ubuntu-latest
58+
steps:
59+
- name: Checkout
60+
uses: actions/checkout@v4
61+
62+
- name: Setup Node
63+
uses: actions/setup-node@v4
64+
with:
65+
node-version: 20
66+
cache: npm
67+
68+
- name: Install dependencies
69+
run: npm ci
70+
71+
- name: Run build
72+
run: npm run build

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ pnpm-debug.log*
3030

3131
# Temporary files
3232
*.tmp
33+
tmp/
3334
.cache/
35+
artifacts/
3436

3537
# Playwright
3638
test-results/
@@ -43,8 +45,12 @@ playwright/.cache/
4345
# Build artifacts (do not commit)
4446
*.tgz
4547
opendevbrowser-extension.zip
48+
frontend/.next/
49+
frontend/.next-dev/
50+
frontend/.validation/
4651

4752
# Continuity ledger (local-only)
53+
CONTINUITY*.md
4854

4955
# Auto Claude data directory
5056
.auto-claude/

.ralph-last-branch

Lines changed: 0 additions & 1 deletion
This file was deleted.

AGENTS.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ OpenCode plugin providing AI agents with browser automation via Chrome DevTools
1414

1515
## Architecture
1616

17-
```
17+
```text
1818
┌─────────────────────────────────────────────────────────────────┐
1919
│ Distribution Layer │
2020
├──────────────────┬──────────────────┬──────────────────┬──────────────────────────┤
@@ -25,8 +25,8 @@ OpenCode plugin providing AI agents with browser automation via Chrome DevTools
2525
│ │ │ │
2626
▼ ▼ ▼ ▼
2727
┌─────────────────────────────────────────────────────────────────┐
28-
│ Core Runtime (src/core/)
29-
│ bootstrap.ts → wires managers, injects ToolDeps
28+
│ Core Runtime (src/core/) │
29+
│ bootstrap.ts → wires managers, injects ToolDeps │
3030
└────────┬────────────────────────────────────────────────────────┘
3131
3232
┌────┴────┬─────────────┬──────────────┬──────────────┬──────────────┐
@@ -94,13 +94,15 @@ Extension relay requires **Chrome 125+** and uses flat CDP sessions with Debugge
9494
│ ├── relay/ # Extension relay server, protocol types
9595
│ ├── skills/ # SkillLoader for skill pack discovery
9696
│ ├── snapshot/ # AX-tree snapshots, ref management
97-
│ ├── tools/ # 41 opendevbrowser_* tool definitions
97+
│ ├── tools/ # 48 opendevbrowser_* tool definitions
9898
│ ├── annotate/ # Annotation transports + output shaping
9999
│ └── utils/ # Shared utilities
100100
├── extension/ # Chrome extension (relay client)
101-
├── skills/ # Bundled skill packs (5 total)
101+
├── frontend/ # Next.js marketing/docs frontend
102+
├── scripts/ # Operational scripts (build/sync/smoke)
103+
├── skills/ # Bundled skill packs (8 total)
102104
├── tests/ # Vitest tests (97% coverage required)
103-
└── docs/ # Architecture, plans, CLI docs
105+
└── docs/ # Architecture, CLI, extension, frontend, plans
104106
```
105107

106108
## Where to Look
@@ -119,6 +121,7 @@ Extension relay requires **Chrome 125+** and uses flat CDP sessions with Debugge
119121
| Add skill pack | `skills/*/SKILL.md` | Follow naming conventions |
120122
| Config schema | `src/config.ts` | Zod schema, defaults |
121123
| DI wiring | `src/core/bootstrap.ts` | Creates ToolDeps, wires managers |
124+
| Full command/tool/channel inventory | `docs/SURFACE_REFERENCE.md` | Canonical 55 CLI + 48 tools + `/ops` + `/cdp` map |
122125

123126
## Commands
124127

@@ -204,7 +207,7 @@ export function createTools(deps: ToolDeps): Record<string, ToolDefinition> {
204207
return {
205208
opendevbrowser_launch: createLaunchTool(deps),
206209
opendevbrowser_snapshot: createSnapshotTool(deps),
207-
// ... 41 tools
210+
// ... 48 tools
208211
};
209212
}
210213
```
@@ -227,9 +230,10 @@ export function createTools(deps: ToolDeps): Record<string, ToolDefinition> {
227230
- Source of truth: `docs/`
228231
- Architecture: `docs/ARCHITECTURE.md`
229232
- CLI reference: `docs/CLI.md`
233+
- Surface inventory: `docs/SURFACE_REFERENCE.md`
230234
- Additional design/plan docs: `docs/` (feature-specific; verify file paths exist before referencing)
231235
- Keep docs in sync with implementation
232-
- If tool list or outputs change, update `docs/CLI.md` and this file together.
236+
- If tool list or outputs change, update `docs/CLI.md`, `docs/SURFACE_REFERENCE.md`, and this file together.
233237

234238
## AGENTS.md Governance
235239

@@ -241,10 +245,17 @@ Subdirectory guides override this root file:
241245
- `src/AGENTS.md` — module boundaries, manager patterns
242246
- `src/browser/AGENTS.md` — browser/session module specifics
243247
- `src/cli/AGENTS.md` — CLI command and daemon conventions
248+
- `src/providers/AGENTS.md` — provider system (web/social/shopping), tiers, safety
244249
- `src/relay/AGENTS.md` — relay protocol and security specifics
245250
- `src/snapshot/AGENTS.md` — snapshot/ref pipeline specifics
246251
- `src/tools/AGENTS.md` — tool development patterns
247252
- `extension/AGENTS.md` — Chrome extension specifics
253+
- `extension/src/ops/AGENTS.md` — ops runtime for extension relay
254+
- `extension/src/services/AGENTS.md` — CDP routing, flat-session handling
255+
- `frontend/AGENTS.md` — frontend app conventions and generation workflow
256+
- `frontend/src/AGENTS.md` — frontend source module boundaries
257+
- `docs/AGENTS.md` — documentation source-of-truth and sync rules
258+
- `scripts/AGENTS.md` — script safety and output conventions
248259
- `tests/AGENTS.md` — testing conventions
249260
- `skills/AGENTS.md` — skill pack format
250261

CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.0.16] - 2026-02-24
11+
12+
### Added
13+
- Automation provider runtime and macro execution surfaces for research, shopping, and product-asset workflows.
14+
- Debug-trace diagnostics snapshots and blocker metadata contracts across runtime outputs.
15+
- Expanded bundled skill-pack workflows and multi-agent skill target support.
16+
- Frontend docs site and branded asset pipeline for generated documentation delivery.
17+
18+
### Changed
19+
- Hardened multitab runtime scheduling, provider orchestration, and Ops matrix execution behavior.
20+
- Migrated and stabilized skill-pack handling for multitab workflows and legacy alias compatibility.
21+
- Refreshed architecture/operations/distribution docs and release-readiness guidance.
22+
- Updated package + extension versions to `0.0.16` and refreshed dependency ranges/lockfile.
23+
24+
### Fixed
25+
- Preserved blocker resolution outcomes and improved traversal recovery under live matrix pressure.
26+
- Narrowed native extension ID fallback typing for safer native-host path handling.
27+
- Corrected legacy skill alias drift (`SKILL 2`) to keep compatibility behavior deterministic.
28+
29+
### Tests
30+
- Expanded multitab, provider, and CLI regression coverage.
31+
- Added workflow runtime, skill-installer, blocker-transition, traversal, and live-path guard tests.
32+
1033
## [0.0.15] - 2026-02-08
1134

1235
### Added
@@ -99,7 +122,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99122
- Core browser management
100123
- Basic snapshot pipeline
101124

102-
[Unreleased]: https://github.com/freshtechbro/opendevbrowser/compare/eaced1e...HEAD
125+
[Unreleased]: https://github.com/freshtechbro/opendevbrowser/compare/v0.0.16...HEAD
126+
[0.0.16]: https://github.com/freshtechbro/opendevbrowser/compare/v0.0.15...v0.0.16
103127
[0.0.15]: https://github.com/freshtechbro/opendevbrowser/compare/ebb109e...eaced1e
104128
[0.0.14]: https://github.com/freshtechbro/opendevbrowser/compare/v0.0.13...ebb109e
105129
[0.0.13]: https://github.com/freshtechbro/opendevbrowser/compare/v0.0.12...v0.0.13

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2026 OpenDevBrowser contributors
3+
Copyright (c) 2024-2026 OpenDevBrowser contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)