- flow/upgrade/v080-plan.yaml: structured audit for banned imports, tests, comments - flow/upgrade/v080-implement.yaml: step-by-step implementation with per-step commits - fix(runner): update workspace Registry on AgentCompleted so concurrency count drops and queue drains Co-Authored-By: Virgil <virgil@lethean.io>
54 lines
1.7 KiB
YAML
54 lines
1.7 KiB
YAML
name: v0.8.0 Upgrade Implementation
|
|
description: Implement the upgrade plan from UPGRADE.md — deps, imports, tests, comments
|
|
agent: codex
|
|
requires: UPGRADE.md
|
|
template: coding
|
|
|
|
steps:
|
|
- name: upgrade-deps
|
|
description: Update go.mod to core v0.8.0-alpha.1
|
|
commands:
|
|
- go get dappco.re/go/core@v0.8.0-alpha.1
|
|
- go mod tidy
|
|
verify: go build ./...
|
|
commit: "deps({{repo}}): upgrade to core v0.8.0-alpha.1"
|
|
|
|
- name: fix-imports-prod
|
|
description: Replace banned imports in production files per UPGRADE.md section 2
|
|
source: UPGRADE.md
|
|
section: "Banned Imports"
|
|
scope: "*.go excluding *_test.go"
|
|
verify: go build ./...
|
|
commit: "fix({{repo}}): replace banned imports with Core primitives"
|
|
|
|
- name: fix-imports-test
|
|
description: Replace banned imports in test files per UPGRADE.md section 2
|
|
source: UPGRADE.md
|
|
section: "Banned Imports"
|
|
scope: "*_test.go"
|
|
verify: go test ./... -count=1 -timeout 120s
|
|
commit: "test({{repo}}): replace banned imports in tests"
|
|
|
|
- name: rename-tests
|
|
description: Rename tests to TestFile_Function_{Good,Bad,Ugly} per UPGRADE.md section 3
|
|
source: UPGRADE.md
|
|
section: "Test Naming"
|
|
verify: go test ./... -count=1 -timeout 120s
|
|
commit: "test({{repo}}): rename to AX-7 convention"
|
|
|
|
- name: add-comments
|
|
description: Add usage-example comments to exported functions per UPGRADE.md section 4
|
|
source: UPGRADE.md
|
|
section: "Missing Usage Comments"
|
|
verify: go vet ./...
|
|
commit: "docs({{repo}}): add usage-example comments"
|
|
|
|
verify:
|
|
- go build ./...
|
|
- go vet ./...
|
|
- go test ./... -count=1 -timeout 120s
|
|
- go test -cover ./...
|
|
- go mod tidy
|
|
|
|
commit:
|
|
co_author: "Virgil <virgil@lethean.io>"
|