- 34-release-log.md: v0.6.0 contents, plugin tag table (current -> new), release order with the three rebases, 32 pointer bumps, app regenerations, summercms.io deploy, v0.6.0 tag message draft, rules - 34-VALIDATION.md: per-task map for 34-01..34-06, Wave 0 ticked
8.7 KiB
8.7 KiB
phase, slug, status, nyquist_compliant, wave_0_complete, created
| phase | slug | status | nyquist_compliant | wave_0_complete | created |
|---|---|---|---|---|---|
| 34 | plugin-marketplace | draft | false | true | 2026-10-29 |
Phase 34 — Validation Strategy
Per-phase validation contract for feedback sampling during execution.
Test Infrastructure
| Property | Value |
|---|---|
| Framework | go test (+ testcontainers Postgres); Vitest for admin; node --test for vue-summercmsio-app; unittest for scripts |
| Config file | none for Go; admin/vitest.config.ts |
| Quick run command | go vet ./... && go test -short ./internal/build ./cmd/summer ./modules/party ./modules/cabana |
| Full suite command | go test ./... && npm --prefix admin run test && scripts/check-admin-openapi.sh --check && scripts/check-admin-dist.sh && summer docs:build --check |
| Estimated runtime | ~180 seconds |
Sampling Rate
- After every task commit: Run the quick run command
- After every plan wave: Run the full suite command (per repo touched)
- Before
/msd-verify-work: Full suite must be green - Max feedback latency: 60 seconds
Per-Task Verification Map
| Task ID | Plan | Wave | Requirement | Threat Ref | Secure Behavior | Test Type | Automated Command | File Exists | Status |
|---|---|---|---|---|---|---|---|---|---|
| 34-01-T1 | 34-01 | 1 | SC-1, D-16 | - | Format, API shape, names and v0.6.0 confirmed before code | decision | n/a (answered as-planned) | n/a | ✅ green |
| 34-01-T2 | 34-01 | 1 | D-01, D-04 | T-34-01 | plugin.yaml generated from sources, never run | unit | go test -short ./modules/kiosk -run 'TestManifestSmoke|TestManifestFormat|TestCheck' |
✅ | ✅ green |
| 34-01-T3 | 34-01 | 1 | D-02, D-03, D-05 | T-34-02 | Const IDs read statically; non-const refused naming ID()/Requires() | unit | go test -short ./modules/kiosk -run 'TestReadIdentity|TestDerive|TestPluginManifest'; ./internal/build -run TestAddPluginConstID |
✅ | ✅ green |
| 34-01-T4 | 34-01 | 1 | D-16 | T-34-04 | Strict vX.Y.Z rules; unknown JSON fields ignored | unit | go test -short ./modules/kiosk -run 'TestVersions|TestManifestSmoke/registry' |
✅ | ✅ green |
| 34-01-T5 | 34-01 | 1 | SC-4, D-06, D-07 | T-34-03, T-34-05, T-34-06 | No filesystem path in PluginInfo; metadata failure never breaks a build | unit | go test -short ./internal/build -run 'TestPluginInfoSmoke|TestPluginDirs|TestEffectiveFramework'; ./modules/party -run TestDescribe |
✅ | ✅ green |
| 34-02-T1 | 34-02 | 4 | SC-1, D-01, D-04 | T-34-07 | Drift guard fails go test on a stale plugin.yaml | integration | bash scripts/check-phase34.sh --plugins (sm-journal-plugin TestPluginManifest) |
✅ | ✅ green |
| 34-02-T2 | 34-02 | 4 | SC-1, D-01..D-05 | T-34-07, T-34-08 | 13 tagged repos: generated manifest, CheckT guard | integration | bash scripts/check-phase34.sh --plugins |
✅ | ✅ green |
| 34-02-T3 | 34-02 | 4 | SC-1, D-05 | T-34-08 | 6 untagged repos; no v0.0.0 plugin requirement | integration | bash scripts/check-phase34.sh --plugins |
✅ | ✅ green |
| 34-02-T4 | 34-02 | 4 | - | T-34-10 | Push/bump decision (answered defer) | decision | n/a (deferred to 34-release-log.md) | n/a | ✅ green |
| 34-02-T5 | 34-02 | 4 | - | T-34-09 | No pointer references an unpushed commit | manual | n/a (ledger: 34-release-log.md step 5) | n/a | ✅ green |
| 34-03-T1 | 34-03 | 2 | SC-2, D-13 | T-34-11, T-34-12, T-34-13 | Hardened anonymous https git, capped reads, sanitized README | integration | go -C ../sm-summercmsio-app/plugins/golem15/summercms test ./... -run 'TestRegistrySmoke|TestIngestTags|TestIngestManifests|TestGitRunner' |
✅ | ✅ green |
| 34-03-T2 | 34-03 | 2 | D-14, D-15, D-16 | T-34-16, T-34-17, T-34-18 | Escaped search, capped query, ETag/304, digest skip | integration | bash scripts/check-phase34.sh --site and --docker (TestRegistryAPIShapes, TestQueryRules) |
✅ | ✅ green |
| 34-03-T3 | 34-03 | 2 | D-04, D-13 | T-34-14, T-34-15, T-34-19, T-34-20 | Ingest-now needs scope + permission, never creates a listing; release script refuses dirty/stale trees | integration | go -C …/summercms test -run TestRegistryIngestEndpoint; python3 -B scripts/test_changelog_post.py |
✅ | ✅ green |
| 34-03-T4 | 34-03 | 2 | SC-2 | T-34-21 | /marketplace renders registry text as text | automated_ui | pnpm test && pnpm test:marketplace (vue-summercmsio-app); scripts/check-deploy.sh |
✅ | ✅ green |
| 34-04-T1 | 34-04 | 2 | SC-3, D-08 | T-34-22 | Install picks newest compatible release; no go mod tidy | integration | go test ./internal/build -run TestInstallSmoke/module (--docker stage) |
✅ | ✅ green |
| 34-04-T2 | 34-04 | 2 | D-09, D-18 | T-34-23, T-34-24, T-34-25 | Registry strings validated before exec; --yes off a terminal; offline makes no call | unit | go test -short ./internal/build -run 'TestResolveInstall|TestAskToProceed'; ./cmd/summer -run TestPluginCommands |
✅ | ✅ green |
| 34-04-T3 | 34-04 | 2 | D-11, D-12 | T-34-26, T-34-27 | Git URLs validated, no credentials in .gitmodules, protocol allow-list | integration | go test ./internal/build -run 'TestInstallSmoke/(source|giturl|urls|nogit)' |
✅ | ✅ green |
| 34-04-T4 | 34-04 | 2 | D-10 | T-34-28 | Update never moves the framework; comments in summer.yaml kept | integration | go test ./internal/build -run 'TestInstallSmoke/update|TestAppendManifestPlugins' |
✅ | ✅ green |
| 34-05-T1 | 34-05 | 3 | D-19, D-06 | T-34-29, T-34-30 | 401/403 without backend.view_plugins; entry only for allowed principals | unit | go test -short ./modules/cabana -run 'TestPluginsScreenSmoke|TestPluginsEndpoints' |
✅ | ✅ green |
| 34-05-T2 | 34-05 | 3 | SC-4, D-07, D-17, D-18 | T-34-31, T-34-32 | Cached, bounded registry calls; IDs and icons sanitized; degraded 200 | unit | go test -short ./modules/cabana -run TestPluginsEndpoints; npm --prefix admin run test -- PluginsView useSettings |
✅ | ✅ green |
| 34-05-T3 | 34-05 | 3 | D-17 | T-34-33 | Committed dist matches a fresh build | other | bash scripts/check-phase34.sh --admin (check-admin-openapi --check, check-admin-dist) |
✅ | ✅ green |
| 34-06-T1 | 34-06 | 5 | SC-5 | T-34-35 | Gate fails on a skipped, missing or failing test and on a missing repository | other | bash scripts/check-phase34.sh --self-test |
✅ | ✅ green |
| 34-06-T2 | 34-06 | 5 | SC-5, D-02..D-05, D-07..D-10, D-12, D-18 | T-34-34 | Fixtures in t.TempDir(), no writes to sibling repos | unit | bash scripts/check-phase34.sh --go |
✅ | ✅ green |
| 34-06-T3 | 34-06 | 5 | SC-5, D-17, D-19 | - | Unexported seams only (additive) | unit | bash scripts/check-phase34.sh --admin --additive |
✅ | ✅ green |
| 34-06-T4 | 34-06 | 5 | SC-5, D-13..D-16 | T-34-34 | Release script and registry tests never touch the network | unit | bash scripts/check-phase34.sh --site |
✅ | ✅ green |
| 34-06-T5 | 34-06 | 5 | - | T-34-36 | Ledger names repos, SHAs and steps only; no secrets | manual | grep -n 'v0.6.0|Release order|Executed steps|never move' 34-release-log.md |
✅ | ✅ green |
Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky
Wave 0 Requirements
- manifest module tests: derive / README / check / validate (
modules/kiosk/*_test.go) internal/buildfixture helpers: git repo with tags,file://GOPROXY tree (stdlib only) (internal/build/fixtures_test.go, 34-04)- site plugin
TestMainwith testcontainers (flag.Parse()+testing.Short()) (testmain_test.go, 34-03) - admin PluginsView vitest spec (
admin/tests/views/PluginsView.test.ts) scripts/check-phase34.sh
If none: "Existing infrastructure covers all phase requirements."
Manual-Only Verifications
| Behavior | Requirement | Why Manual | Test Instructions |
|---|---|---|---|
| Production ingest on summercms.io (git present on server, hourly job runs) | SC-2 | Needs the deployed host | Deploy, add a repo in the admin, wait for/trigger ingest, curl /api/registry/v1/plugins |
| Marketplace pages look right | SC-2 | Visual | Open /marketplace list, search, category and a detail page |
If none: "All phase behaviors have automated verification."
Validation Sign-Off
- All tasks have
<automated>verify or Wave 0 dependencies - Sampling continuity: no 3 consecutive tasks without automated verify
- Wave 0 covers all MISSING references
- No watch-mode flags
- Feedback latency < 60s
nyquist_compliant: trueset in frontmatter
Approval: pending