Files
summercms/.planning/tmp/14.2.1-verify-failure-directions.json

155 lines
11 KiB
JSON

{
"status": "ok",
"commands": [
{
"command": "git ls-remote git@git.golem15.com:golem15/sm-translate-plugin.git",
"statement": "Non-zero exit, authentication denial, or repository-not-found text.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-01-PLAN.md",
"task": "Task 1: Create the public Gitea remote and authorize local repository setup"
},
{
"command": "test -f /media/nvme/dev/golem15/fonoteka/plugins/golem15/translate/models/Locale.php && git -C /media/nvme/dev/golem15/fonoteka/plugins/golem15/translate rev-parse HEAD",
"statement": "Non-zero exit or the printed SHA is not `725d547ec839f02b5fdc0f0a6faaed601a414d50`.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-01-PLAN.md",
"task": "Task 2: Confirm the one-way table contract"
},
{
"command": "go -C ../sm-translate-plugin vet ./... && go -C ../sm-translate-plugin test ./... -short -count=1 && go vet ./modules/surf/... && go test ./modules/surf -short -count=1",
"statement": "Non-zero exit, any package reports build failed, or either test command reports FAIL.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-01-PLAN.md",
"task": "Task 3: Resolve one URL-prefixed request through the plugin, enabled Locale row, surf, and context"
},
{
"command": "go -C ../sm-translate-plugin test ./classes -count=1 -v -run '^(TestFixtureTranslatableSaveRead)$'",
"statement": "Non-zero exit, output contains \"--- FAIL\", \"--- SKIP\", or \"no tests to run\", or lacks \"--- PASS: TestFixtureTranslatableSaveRead\".",
"status": "ok",
"severity": "none",
"plan": "14.2.1-02-PLAN.md",
"task": "Task 1: Save one fixture title in en and pl, then read pl through the exported API"
},
{
"command": "go -C ../sm-translate-plugin vet ./... && go -C ../sm-translate-plugin test ./classes -count=1 -v -run '^(TestFixtureTranslatableSaveRead|TestFixtureTranslatedIndexSmoke)$'",
"statement": "Non-zero exit, output contains \"--- FAIL\", \"--- SKIP\", or \"no tests to run\", or either named PASS line is absent.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-02-PLAN.md",
"task": "Task 2: Add indexed locale lookup, WithLocale query scope, and default fallback"
},
{
"command": "go -C ../sm-translate-plugin vet ./... && go -C ../sm-translate-plugin test ./... -short -count=1 -v -run '^(TestLocalesAdminSmoke|TestLocalesAdminForbiddenSmoke)$'",
"statement": "Non-zero exit, output contains \"--- FAIL\", \"--- SKIP\", or \"no tests to run\", or either named PASS line is absent.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-02-PLAN.md",
"task": "Task 3: Manage Locales through permissioned YAML CRUD and separate phrasebook catalogs"
},
{
"command": "go test ./modules/cabana -count=1 -v -run '^(TestMLNestedSaveSmoke)$' && npm --prefix admin test -- --run admin/tests/form/MLFields.test.ts",
"statement": "Non-zero exit; Go output contains \"--- FAIL\", \"--- SKIP\", or \"no tests to run\", lacks \"--- PASS: TestMLNestedSaveSmoke\", or Vitest reports no test files/tests or any failed test.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-03-PLAN.md",
"task": "Task 1: Submit one mltext map through cabana and persist default plus Polish values"
},
{
"command": "git -C ../sm-grzybyfunkcjonalne-app rev-parse --is-inside-work-tree && git -C ../sm-grzybyfunkcjonalne-app remote get-url origin",
"statement": "Non-zero exit or origin is not the existing sm-grzybyfunkcjonalne-app remote.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-03-PLAN.md",
"task": "Task 2: Confirm the one-way proof-host submodule layout"
},
{
"command": "go test ./cmd/summer -count=1 -run 'TestDocsTree' && go run ./cmd/summer docs:build --check && npm --prefix admin run typecheck && npm --prefix admin test -- --run admin/tests/form/registry.test.ts admin/tests/form/MLFields.test.ts && npm --prefix admin run build && go -C ../sm-grzybyfunkcjonalne-app vet ./... && go -C ../sm-grzybyfunkcjonalne-app test ./... -count=1 -v -run '^(TestBootUserTranslate)$'",
"statement": "Non-zero exit; docs checker reports stale identifiers/links/forbidden names; Vitest reports no tests or failures; build omits index.html/assets; host output contains \"--- FAIL\", \"--- SKIP\", or \"no tests to run\", or lacks \"--- PASS: TestBootUserTranslate\".",
"status": "ok",
"severity": "none",
"plan": "14.2.1-03-PLAN.md",
"task": "Task 3: Complete docs/OpenAPI/TS/dist and boot the user+translate proof host"
},
{
"command": "go -C ../sm-translate-plugin test ./... -count=1 -v -run '^(TestTranslateEndToEnd)$' && go -C ../sm-grzybyfunkcjonalne-app test ./... -count=1 -v -run '^(TestBootUserTranslate)$'",
"statement": "Non-zero exit; either run prints \"--- FAIL\", \"--- SKIP\", \"no tests to run\", container startup failure treated as skip, or lacks its named \"--- PASS\" line.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-04-PLAN.md",
"task": "Task 1: Prove migration → activation → resolver → Locales admin → ML save → WithLocale read end to end"
},
{
"command": "go -C ../sm-translate-plugin test ./... -count=1 -race && go test ./modules/surf ./modules/cabana -count=1 -race && npm --prefix admin test -- --run admin/tests/form/registry.test.ts admin/tests/form/MLFields.test.ts admin/tests/form/MarkdownField.test.ts",
"statement": "Non-zero exit; Go race detector reports a race; any package/test reports FAIL; integration tests unexpectedly SKIP in the plugin run; or Vitest reports no tests or failures.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-04-PLAN.md",
"task": "Task 2: Complete migration, Translator, Translatable, admin, ML, markdown, and SPA test matrices"
},
{
"command": "bash scripts/check-phase14.2.1.sh --all",
"statement": "Non-zero exit; any stage is absent/skipped; output contains FAIL, a Go race, no-tests-to-run, unexpected SKIP, stale generated artifacts, forbidden deferred surface, unmitigated high threat, or lacks the final `Phase 14.2.1 gate passed` line.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-04-PLAN.md",
"task": "Task 3: Build the fail-closed phase gate, security review, and validation sign-off"
},
{
"command": "test -f modules/cabana/field_ml.go && test -f ../sm-translate-plugin/classes/translatable.go && test -f ../sm-translate-plugin/classes/admin_writer.go",
"statement": "Non-zero exit, or any of the three paths is missing.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-05-PLAN.md",
"task": "Task 1: Confirm TranslationWriter.TranslatedExact as the hydration contract"
},
{
"command": "go test ./modules/cabana -count=1 -v -run '^(TestMLHydration|TestMLNestedSave)$' && npm --prefix admin test -- --run admin/tests/form/MLFields.test.ts",
"statement": "Non-zero exit; Go output contains \"--- FAIL\", \"--- SKIP\", or \"no tests to run\", lacks \"--- PASS: TestMLHydration\" or \"--- PASS: TestMLNestedSave\"; Vitest reports no test files/tests or any failed test.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-05-PLAN.md",
"task": "Task 2: Hydrate one mltext create/GET/save path and show en+pl on the SPA"
},
{
"command": "go test ./cmd/summer -count=1 -run 'TestDocsTree' && go run ./cmd/summer docs:build --check && bash scripts/check-admin-openapi.sh --check && npm --prefix admin run typecheck && npm --prefix admin test -- --run admin/tests/form/MLFields.test.ts admin/tests/form/formState.test.ts && npm --prefix admin run build && go -C ../sm-translate-plugin vet ./... && go -C ../sm-translate-plugin test ./classes -count=1 -v -run '^(TestTranslatableGetSet)$'",
"statement": "Non-zero exit; docs checker reports stale identifiers, broken links, or a consuming-application name; OpenAPI --check reports stale committed output; Vitest reports no tests or failures; build omits index.html/assets; plugin output contains \"--- FAIL\", \"--- SKIP\", or \"no tests to run\", or lacks \"--- PASS: TestTranslatableGetSet\".",
"status": "ok",
"severity": "none",
"plan": "14.2.1-05-PLAN.md",
"task": "Task 3: Cover mlmarkdown, relation-child adopt, and regenerate docs/OpenAPI/TS/dist"
},
{
"command": "go test ./modules/cabana -count=1 -v -run '^(TestRelationChildMLNestedSave)$'",
"statement": "Non-zero exit; output contains \"--- FAIL\", \"--- SKIP\", or \"no tests to run\"; output lacks \"--- PASS: TestRelationChildMLNestedSave\".",
"status": "ok",
"severity": "none",
"plan": "14.2.1-06-PLAN.md",
"task": "Task 1: Lift one nested mltext map through CreateChild"
},
{
"command": "go test ./modules/cabana -count=1 -v -run '^(TestRelationChildMLNestedSave)$' && go test ./cmd/summer -count=1 -run 'TestDocsTree' && go run ./cmd/summer docs:build --check",
"statement": "Non-zero exit; cabana output contains \"--- FAIL\", \"--- SKIP\", or \"no tests to run\", or lacks \"--- PASS: TestRelationChildMLNestedSave\"; docs checker reports stale identifiers, broken links, or a consuming-application name.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-06-PLAN.md",
"task": "Task 2: Mirror lift/apply/hydrate on UpdateChild and ShowChild"
},
{
"command": "go vet ./modules/cabana ./modules/surf ./cmd/summer && go test ./modules/cabana -count=1 -v -run '^(TestMLHydration|TestMLNestedSave|TestRelationChildMLNestedSave|TestMLFieldTypes)$' && npm --prefix admin test -- --run admin/tests/form/MLFields.test.ts && go -C ../sm-translate-plugin vet ./... && go -C ../sm-translate-plugin test ./... -count=1 -v -run '^(TestTranslateEndToEnd)$' && go -C ../sm-grzybyfunkcjonalne-app vet ./... && go -C ../sm-grzybyfunkcjonalne-app test ./... -count=1 -v -run '^(TestBootUserTranslate)$' && bash scripts/check-phase14.2.1.sh --all",
"statement": "Non-zero exit; any Go output contains \"--- FAIL\", \"--- SKIP\", or \"no tests to run\"; output lacks \"--- PASS: TestMLHydration\", \"--- PASS: TestMLNestedSave\", \"--- PASS: TestRelationChildMLNestedSave\", \"--- PASS: TestMLFieldTypes\", \"--- PASS: TestTranslateEndToEnd\", or \"--- PASS: TestBootUserTranslate\"; Vitest reports no tests or failures; gate output lacks the exact line \"Phase 14.2.1 gate passed\" or reports a missing required test / unmapped high threat.",
"status": "ok",
"severity": "none",
"plan": "14.2.1-06-PLAN.md",
"task": "Task 3: Named unit/Vitest/cabana tests and the phase gate (last plan of 14.2.1)"
}
],
"counts": {
"blocker": 0,
"warning": 0,
"total": 18
},
"readError": null
}