docs: converge operator guidance on tht
This commit is contained in:
@@ -16,10 +16,20 @@ than inferring a PASS.
|
||||
staged/revalidated inside that lock immediately before extraction, and checkpointing requires
|
||||
an opaque installation-bound transaction capability. Manual acceptance never substitutes for
|
||||
those automated concurrency and mutation tests.
|
||||
2. Run Workspace Validate first; it is the static authentication gate. Run `tht auth check` for
|
||||
live non-interactive diagnosis, then `tht auth check --interactive` where Device Authorization
|
||||
is available, then Workspace Test for aggregate live validation.
|
||||
3. Run `tht doctor --json` and confirm this exact report order: `descriptor`, `files`, `docker`,
|
||||
2. Set the installation and workspace identifiers, then inspect the active workspace with the
|
||||
native host CLI. This replaces the former Workspace Validate/Test wording:
|
||||
|
||||
```bash
|
||||
export THT_BIN=tht
|
||||
export INSTALLATION=/absolute/path/to/thothii-installation.yaml
|
||||
export WORKSPACE_ID=psd-clinical
|
||||
"$THT_BIN" --installation "$INSTALLATION" \
|
||||
workspace inspect --workspace "$WORKSPACE_ID" --json
|
||||
```
|
||||
|
||||
3. Run `"$THT_BIN" --installation "$INSTALLATION" auth check --json` for live non-interactive
|
||||
diagnosis, then `auth check --interactive` where Device Authorization is available.
|
||||
4. Run `"$THT_BIN" --installation "$INSTALLATION" doctor --json` and confirm this exact report order: `descriptor`, `files`, `docker`,
|
||||
`compose`, `configuration`, `authentication`, `services`, `core-http`, `frontend-http`,
|
||||
`workspace-registry`, `workflow`, `pi`.
|
||||
4. Confirm the exact direct `groups` claim for both identities and the mappings `TOT Users → user`
|
||||
@@ -39,6 +49,7 @@ than inferring a PASS.
|
||||
| Catalog token is wrong or lacks group-view-only access | Live check fails redacted with `oidc_group_catalog_unauthorized`. |
|
||||
| Mapped group is renamed | The next check fails closed until configuration and provider agree. |
|
||||
| Token adds an unrelated group | Login and authorization are unchanged; no warning is emitted. |
|
||||
| Authenticated PSD identity creates a known-good session | SSE connects, the session is created, and the first reviewer gate appears without unexpected `401`/`403` responses. |
|
||||
| Backend restarts with Remember me | Remembered local session survives within its TTL. |
|
||||
| Password/role/enable revision changes | Affected local sessions are rejected and reauthentication is required. |
|
||||
| CSRF or cross-origin mutation is attempted | Request is rejected. |
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
**Status:** P2 implementation complete; automated integration PASS; manual acceptance PENDING.
|
||||
|
||||
Manual goal: from a clean local installation, use only `thothctl` on the host to inspect one
|
||||
Manual goal: from a clean local installation, use only `tht` on the host to inspect one
|
||||
registry workspace and execute the controlled REST-DWH/HTTP-Evidence preprocessing path without a
|
||||
host Python or Node runtime. Use a fresh operator root and a fresh fixture Git remote; never reuse
|
||||
the automated `.artifacts/p2-integration/**` state.
|
||||
@@ -26,15 +26,15 @@ the automated `.artifacts/p2-integration/**` state.
|
||||
Commands (contract: `docs/contracts/workspace-preprocessing-cli.md`):
|
||||
|
||||
```bash
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace inspect --workspace <id> --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace preprocess dwh --workspace <id> --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace preprocess dwh --workspace <id> --resume <run-id> --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace schema suggest-fks --workspace <id> --from-sql <file>.sql --output <candidates>.yaml --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace schema check --workspace <id> --annotations <reviewed>.yaml --reviewed-candidates <sha256:hex> --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace index-schema --workspace <id> --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace preprocess evidence --workspace <id> --dry-run --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace preprocess evidence --workspace <id> --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace preprocess run --workspace <id> --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace inspect --workspace <id> --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace preprocess dwh --workspace <id> --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace preprocess dwh --workspace <id> --resume <run-id> --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace schema suggest-fks --workspace <id> --from-sql <file>.sql --output <candidates>.yaml --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace schema check --workspace <id> --annotations <reviewed>.yaml --reviewed-candidates <sha256:hex> --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace index-schema --workspace <id> --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace preprocess evidence --workspace <id> --dry-run --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace preprocess evidence --workspace <id> --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace preprocess run --workspace <id> --json
|
||||
```
|
||||
|
||||
Checks:
|
||||
@@ -67,7 +67,7 @@ safe, and that search records are revision-scoped. See `docs/contracts/tht-dwh.m
|
||||
|
||||
Checks:
|
||||
|
||||
1. run `thothctl ... workspace preprocess dwh` twice with only an Evidence/content change between
|
||||
1. run `tht ... workspace preprocess dwh` twice with only an Evidence/content change between
|
||||
them: the second run reports `unchanged` and does not re-introspect;
|
||||
2. change a DWH-affecting field (host/port/database/schema/user/collection) in the descriptor,
|
||||
push, pull: the next run refuses the old generation and regenerates, with a clear
|
||||
@@ -115,9 +115,9 @@ Checks to complete during P4 manual acceptance (decision: **PASS** (owner approv
|
||||
`record_kind`, `vector_generation`, `workspace_id`, `workspace_revision`).
|
||||
2. A pre-existing collection with incompatible dimensions/distance (e.g. 768-dim or dot)
|
||||
is refused with `semantic_index_incompatible` and is never mutated.
|
||||
3. `thothctl ... workspace vector inspect --workspace <id> --json` reports the collection
|
||||
3. `tht ... workspace vector inspect --workspace <id> --json` reports the collection
|
||||
contract without mutation (pristine JSON, exit 0).
|
||||
4. `thothctl ... workspace vector rebuild --workspace <id> --collection <name>
|
||||
4. `tht ... workspace vector rebuild --workspace <id> --collection <name>
|
||||
--confirm <name> --destroy` deletes and recreates the descriptor-owned collection and
|
||||
verifies the recreated contract; a mismatched `--confirm` or a missing `--destroy` is
|
||||
refused (exit 2) without touching the collection.
|
||||
@@ -135,10 +135,10 @@ pushing curated content from the operator CLI.
|
||||
Commands (contract: `docs/contracts/workspace-preprocessing-cli.md`):
|
||||
|
||||
```bash
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace schema suggest-fks --workspace <id> --from-sql <file>.sql --output <candidates>.yaml --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace schema suggest-fks --workspace <id> --from-sql <file>.sql --output <candidates>.yaml --json
|
||||
# curate the candidate into <id>/schema/annotations.yaml in the author clone, then commit/push/pull
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace schema accept --workspace <id> --run <run-id> --yes --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace preprocess run --workspace <id> --resume <run-id> --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace schema accept --workspace <id> --run <run-id> --yes --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace preprocess run --workspace <id> --resume <run-id> --json
|
||||
```
|
||||
|
||||
Checks:
|
||||
@@ -173,10 +173,10 @@ aggregate-limit failures without partial publication.
|
||||
Commands (contract: `docs/contracts/workspace-preprocessing-cli.md`):
|
||||
|
||||
```bash
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace inspect --workspace <id> --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace preprocess evidence --workspace <id> --dry-run --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace preprocess evidence --workspace <id> --json
|
||||
thothctl --installation <abs>/thothii-installation.yaml workspace preprocess evidence --workspace <id> --json # idempotent rerun
|
||||
tht --installation <abs>/thothii-installation.yaml workspace inspect --workspace <id> --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace preprocess evidence --workspace <id> --dry-run --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace preprocess evidence --workspace <id> --json
|
||||
tht --installation <abs>/thothii-installation.yaml workspace preprocess evidence --workspace <id> --json # idempotent rerun
|
||||
```
|
||||
|
||||
Checks:
|
||||
|
||||
Reference in New Issue
Block a user