WES bounded contexts · Core domain
wes-work-planning
WES Work Planning & Release: the core WES bounded context (charge, waveless release, flow balancing) — hexagonal Go, Postgres, REST, Kafka integration
Quality scorecard
92/ 100
- CI success93decided Actions runs that passed. Target 100% · fleet median 96.
- Branch stability86pushes to develop/main whose CI stayed green. Target 100% · fleet median 97.
- Changes through PRs100first-parent changes on the default branch that arrived via a pull request. Target 100% · fleet median 100.
- Small batches67merged non-bot PRs with at most 400 changed lines. Target 100% · fleet median 70.
- Test investment100test lines per code line at HEAD, scored against 0.8. Target ≥ 0.8 · fleet median 100.
- Commit hygiene98non-bot commit subjects in Conventional Commits form. Target 100% · fleet median 99.
- Harness coverage100share of the 15-item harness checklist present at HEAD. Target 15 / 15 · fleet median 87.
Observations
- Score 92 of 100, at or above the fleet median of 92.
- Weakest signal: small batches at 67.
- Last four ISO weeks: 96 commits and 74 merged PRs; the four before: 150 and 105.
- Median weekly PR lead time 1.2 h over the last four weeks, against 24 min in the four before.
- 1.80 test lines per code line at HEAD (fleet median 1.33).
- 22 commits carry an AI co-author trailer (a floor: not every agent leaves one).
Since the first commit
- Commits
- 402
- PRs merged
- 312
- Median lead time
- 18 min
- Median PR size
- 194 lines
- CI runs
- 2,388
- Change-failure proxy
- 7.9%
- Releases
- 37
- Tracked lines
- 130,909
52 by bots · 282 merges not counted
322 opened · 10 closed unmerged
p90 5.1 h
63.8% at most 400 lines
93.8% green
26 of 328 pushes red
37 tags
808 text files at HEAD
Commits and pull requests per month
- commits
- PRs merged
- PRs opened
| Month | Commits | PRs opened | PRs merged | Closed unmerged | Median lead time | Median PR size | CI runs | CI success | Change-fail proxy | Releases | Code lines | Test lines |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| August 2026 | 70 | 42 | 41 | 0 | 6 min | 135 | 240 | 92.4% | 3.5% | 3 | +9,088 | +7,909 |
| September 2026 | 62 | 74 | 73 | 2 | 18 min | 378 | 453 | 93.5% | 15.1% | 8 | +5,804 | +9,204 |
| October 2026 | 168 | 126 | 121 | 3 | 24 min | 179 | 1,052 | 94.9% | 2.5% | 23 | +14,812 | +23,982 |
| November 2026 to date | 102 | 80 | 77 | 5 | 18 min | 145 | 643 | 92.7% | 13% | 3 | +4,460 | +11,478 |
Week by week
- commits
- PRs merged
- green runs
- red runs
- cancelled
Code and harness
Tracked lines at HEAD, by class
- code 24,993 (19.1%)
- test 44,960 (34.3%)
- api 10,397 (7.9%)
- docs 21,822 (16.7%)
- conf 5,968 (4.6%)
- other 22,769 (17.4%)
Lines added and deleted since the first commit
| Class | code | test | api | docs | conf | gen | other |
|---|---|---|---|---|---|---|---|
| added | +34,164 | +52,573 | +12,803 | +26,858 | +6,846 | +0 | +27,255 |
| deleted | −9,130 | −7,480 | −2,406 | −5,035 | −878 | −0 | −4,485 |
Harness checklist
- Makefile entry points: present
- lefthook git hooks: present
- Linter config (golangci / eslint): present
- GitHub Actions CI: present
- CodeQL scanning: present
- OpenSSF Scorecard: present
- Dependabot config: present
- BDD feature files: present
- Mutation testing (gremlins / stryker): present
- API lint (Spectral): present
- OpenAPI / AsyncAPI contract: present
- Architecture Decision Records: present
- AGENTS.md agent rules: present
- Dockerfile: present
- SECURITY.md: present
5 workflows · 19 feature files · 50 ADRs
Busiest workflows
| Workflow | Runs | Success |
|---|---|---|
| CI | 918 | 92.1% |
| CodeQL | 781 | 100% |
| OpenSSF Scorecard | 215 | 94.9% |
| Docs | 169 | 98.2% |
| Dependabot updates | 162 | 62.3% |
| AI Review (advisory) | 113 | 100% |
| Dependency graph (automatic) | 29 | 100% |
| .github/workflows/ci.yml | 1 | 0% |
Recently merged
- #323 chore(system-assets): add system/2.0.4 for release v2.0.4 28 Nov · +6,604 −0 · 12 min
- #322 chore(harness): system-assets-release skill and the contract-change rule 28 Nov · +98 −0 · 30 min
- #321 feat(chart): expose MCP and A2A through the Agent Router, not Kong 27 Nov · +74 −33 · 7.6 h
- #318 deps(deps): bump github.com/a2aproject/a2a-go/v2 from 2.8.0 to 2.9.0 in the go-minor-and-patch group 24 Nov · +3 −3 · 30 h · bot
- #320 fix(idempotency): terminal-state refusals are FINAL, stored and replayed 24 Nov · +25 −13 · 12 h
- #319 ci(deps): bump the actions-minor-and-patch group with 2 updates 24 Nov · +15 −15 · 18 h · bot
- #317 fix(logs): sanitize event-derived log attributes in Kafka consumers, relays and loops 22 Nov · +390 −25 · 12 min
- #316 docs(testing): refresh BDD scenario counts 22 Nov · +3 −3 · 12 min
- #315 fix(logs): sanitize request-derived log attributes on every request path (CodeQL go/log-injection) 22 Nov · +140 −4 · 24 min
- #314 fix(ci): Postgres service health check probes TCP, not the init server's socket 22 Nov · +1 −1 · 12 min
- #313 release: develop -> main 22 Nov · +3,531 −718 · 12 min · release/back-merge
- #312 chore(chart): optional mcp+a2a single agents pod + preStop drain (capacity step 3, default off) 22 Nov · +437 −7 · 30 min
Releases
- v2.0.4 22 November 2026
- v2.0.3 20 November 2026
- v2.0.2 3 November 2026
- v2.0.1 31 October 2026
- v2.0.0 22 October 2026
- v0.1.31 22 October 2026
- v0.1.30 19 October 2026
- v0.1.29 18 October 2026
- v0.1.28 17 October 2026
- v0.1.27 17 October 2026
- v0.1.26 17 October 2026
- v0.1.25 14 October 2026