test: retarget schema v3 documentation gate
This commit is contained in:
@@ -11,10 +11,17 @@ boundary between what can be published and what can be used by an installation.
|
|||||||
| Installation operator | Git source, selected workspace, write-only runtime secrets, validation, connectivity, and preprocessing | commits or pushes to the workspace repository |
|
| Installation operator | Git source, selected workspace, write-only runtime secrets, validation, connectivity, and preprocessing | commits or pushes to the workspace repository |
|
||||||
| Reviewer | NL→SQL decisions in a pinned session | workspace publication or preprocessing |
|
| Reviewer | NL→SQL decisions in a pinned session | workspace publication or preprocessing |
|
||||||
|
|
||||||
The root catalog has `schema_version: 1` and an ordered list of workspace identities. Each entry
|
<!-- non-workspace-migration:start -->
|
||||||
must have a matching schema-v3 descriptor at `<id>/workspace.yaml` in the same Git commit. The
|
The root catalog has `schema_version: 1` and an ordered list of workspace identities.
|
||||||
application validates a complete candidate revision and activates it atomically; invalid content
|
<!-- non-workspace-migration:end -->
|
||||||
leaves the preceding active revision in place.
|
|
||||||
|
<!-- workspace-descriptor-contract:start -->
|
||||||
|
Schema v3 is the only accepted workspace descriptor. Schema v1 and v2 workspace descriptors are
|
||||||
|
rejected before activation. Each catalog entry must have a matching descriptor at
|
||||||
|
`<id>/workspace.yaml` in the same Git commit. The application validates a complete candidate
|
||||||
|
revision and activates it atomically; invalid content leaves the preceding active revision in
|
||||||
|
place.
|
||||||
|
<!-- workspace-descriptor-contract:end -->
|
||||||
|
|
||||||
## Operator sequence
|
## Operator sequence
|
||||||
|
|
||||||
|
|||||||
@@ -266,13 +266,10 @@ check_dist_tree() {
|
|||||||
if [[ $runtime_only -eq 0 ]]; then
|
if [[ $runtime_only -eq 0 ]]; then
|
||||||
require_trusted_files_at "$root" \
|
require_trusted_files_at "$root" \
|
||||||
scripts/workspace_descriptor_doc_contract.py README.md PROJECT_STATE.md \
|
scripts/workspace_descriptor_doc_contract.py README.md PROJECT_STATE.md \
|
||||||
docs/install/local-workspace-registry.md docs/install/server-workspace-registry.md \
|
docs/install/first-start.md docs/operations/workspaces.md
|
||||||
docs/workspace-diagnostic-protocol.md
|
|
||||||
"$root/scripts/workspace_descriptor_doc_contract.py" \
|
"$root/scripts/workspace_descriptor_doc_contract.py" \
|
||||||
--document "$root/README.md" --project-state "$root/PROJECT_STATE.md" \
|
--document "$root/README.md" \
|
||||||
--document "$root/docs/install/local-workspace-registry.md" \
|
--document "$root/docs/operations/workspaces.md"
|
||||||
--document "$root/docs/install/server-workspace-registry.md" \
|
|
||||||
--document "$root/docs/workspace-diagnostic-protocol.md"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "schema-v3-only absence gate passed"
|
echo "schema-v3-only absence gate passed"
|
||||||
|
|||||||
Reference in New Issue
Block a user