docs: update checkout path to Thoth
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
## Global Constraints
|
||||
|
||||
- Source baseline is `a21e2c1`, whose approved design is `docs/superpowers/specs/2026-08-21-project-a-server-auth-runtime-projection-design.md`.
|
||||
- Work only in `/home/chirone/ThothII-next/.worktrees/dwh-rest-installation-auth`; use `apply_patch` for edits and preserve unrelated worktree changes.
|
||||
- Work only in `/home/chirone/Thoth/.worktrees/dwh-rest-installation-auth`; use `apply_patch` for edits and preserve unrelated worktree changes.
|
||||
- Do not start Project A or create Project A containers, networks, or volumes. Compose commands in this plan are `config` renders only.
|
||||
- Do not modify or reload Nginx, stop or alter the legacy ThothII stack, or modify DWH, ETL, Supabase, Authentik, Aritmolab, `dwh-auth`, or shared services.
|
||||
- Do not read or modify real `/srv/thothii` authentication data. All credentials and filesystem trees in tests are synthetic temporary fixtures.
|
||||
|
||||
@@ -41,8 +41,8 @@ committed.
|
||||
anything:
|
||||
|
||||
```bash
|
||||
git -C /home/chirone/ThothII-next status --short
|
||||
git -C /home/chirone/ThothII-next rev-parse HEAD
|
||||
git -C /home/chirone/Thoth status --short
|
||||
git -C /home/chirone/Thoth rev-parse HEAD
|
||||
git -C /home/chirone/omics_portal status --short
|
||||
git -C /home/chirone/omics_portal rev-parse HEAD
|
||||
```
|
||||
@@ -75,8 +75,8 @@ committed.
|
||||
|
||||
**Files:**
|
||||
|
||||
- Create: `/home/chirone/ThothII-next/scripts/test-datamart-builder-path-config.mjs`
|
||||
- Modify: `/home/chirone/ThothII-next/deploy/thothii-test-config.js`
|
||||
- Create: `/home/chirone/Thoth/scripts/test-datamart-builder-path-config.mjs`
|
||||
- Modify: `/home/chirone/Thoth/deploy/thothii-test-config.js`
|
||||
|
||||
1. Write a failing Node test that evaluates the runtime script in isolated VM contexts and asserts:
|
||||
|
||||
@@ -102,7 +102,7 @@ committed.
|
||||
|
||||
```bash
|
||||
node scripts/test-datamart-builder-path-config.mjs
|
||||
cd /home/chirone/ThothII-next/frontend
|
||||
cd /home/chirone/Thoth/frontend
|
||||
npx vitest run src/api/runtime-config.test.ts
|
||||
npx tsc -b
|
||||
```
|
||||
@@ -179,7 +179,7 @@ committed.
|
||||
location, retaining ownership and mode. Do not read or rewrite `server.env`:
|
||||
|
||||
```bash
|
||||
sudo cp /home/chirone/ThothII-next/deploy/thothii-test-config.js \
|
||||
sudo cp /home/chirone/Thoth/deploy/thothii-test-config.js \
|
||||
/srv/thothii/operator/thothii-test-config.js
|
||||
```
|
||||
|
||||
@@ -356,9 +356,9 @@ Do not stop/remove/tag any legacy resource before an explicit approval.
|
||||
**Files:**
|
||||
|
||||
- Delete temporary untracked integration file:
|
||||
`/home/chirone/ThothII-next/deploy/compose.datamart-builder-test.yaml`
|
||||
`/home/chirone/Thoth/deploy/compose.datamart-builder-test.yaml`
|
||||
- Delete temporary untracked integration file:
|
||||
`/home/chirone/ThothII-next/deploy/thothii-test-config.js`
|
||||
`/home/chirone/Thoth/deploy/thothii-test-config.js`
|
||||
- Retain server-local canonical overlay/config under `/srv/thothii/operator`.
|
||||
|
||||
1. Confirm canonical portal, core, frontend, Qdrant, and embedding are healthy and that the portal no
|
||||
@@ -390,10 +390,10 @@ Do not stop/remove/tag any legacy resource before an explicit approval.
|
||||
1. Run targeted ThothII checks for every modified source file:
|
||||
|
||||
```bash
|
||||
cd /home/chirone/ThothII-next/frontend
|
||||
cd /home/chirone/Thoth/frontend
|
||||
npx vitest run src/api/runtime-config.test.ts
|
||||
npx tsc -b
|
||||
cd /home/chirone/ThothII-next/backend
|
||||
cd /home/chirone/Thoth/backend
|
||||
npx vitest run test/app-auth-mode.test.ts test/routes-workspaces.test.ts test/routes-sessions.test.ts
|
||||
npx tsc --noEmit -p .
|
||||
```
|
||||
@@ -422,7 +422,7 @@ Do not stop/remove/tag any legacy resource before an explicit approval.
|
||||
|
||||
2. Run `git diff --check`, staged secret scans, and all tests affected by the exact staged files.
|
||||
|
||||
3. In `ThothII-next`, commit approved generic product fixes/tests/docs separately from server-only
|
||||
3. In `Thoth`, commit approved generic product fixes/tests/docs separately from server-only
|
||||
cleanup. Include this plan and the prior design; exclude deleted temporary files that were never
|
||||
tracked unless their removal is represented by the final intended source state.
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
## Global Constraints
|
||||
|
||||
- Work only in `/home/chirone/ThothII-next` for product code; preserve all unrelated dirty-worktree changes.
|
||||
- Work only in `/home/chirone/Thoth` for product code; preserve all unrelated dirty-worktree changes.
|
||||
- Do not change the `psd-clinical` workspace descriptor, DWH password, vault, Qdrant, embedding model, Pi provider/model, Django, Nginx, DNS, or external balancer.
|
||||
- Do not print credentials, decrypted secret files, database exception text, cookies, or session content.
|
||||
- Rebuild and recreate only the isolated `thothii-test` core service.
|
||||
@@ -298,7 +298,7 @@
|
||||
-f /srv/thothii/source/ThothII/deploy/compose.server.yaml \
|
||||
-f /srv/thothii/source/ThothII/deploy/compose.git-ssh.yaml \
|
||||
-f /srv/thothii/operator/project-a-private.yaml \
|
||||
-f /home/chirone/ThothII-next/deploy/compose.datamart-builder-test.yaml \
|
||||
-f /home/chirone/Thoth/deploy/compose.datamart-builder-test.yaml \
|
||||
ps
|
||||
```
|
||||
|
||||
@@ -317,7 +317,7 @@
|
||||
-f /srv/thothii/source/ThothII/deploy/compose.server.yaml \
|
||||
-f /srv/thothii/source/ThothII/deploy/compose.git-ssh.yaml \
|
||||
-f /srv/thothii/operator/project-a-private.yaml \
|
||||
-f /home/chirone/ThothII-next/deploy/compose.datamart-builder-test.yaml \
|
||||
-f /home/chirone/Thoth/deploy/compose.datamart-builder-test.yaml \
|
||||
up -d --no-deps --force-recreate core
|
||||
```
|
||||
|
||||
@@ -331,7 +331,7 @@
|
||||
-f /srv/thothii/source/ThothII/deploy/compose.server.yaml \
|
||||
-f /srv/thothii/source/ThothII/deploy/compose.git-ssh.yaml \
|
||||
-f /srv/thothii/operator/project-a-private.yaml \
|
||||
-f /home/chirone/ThothII-next/deploy/compose.datamart-builder-test.yaml \
|
||||
-f /home/chirone/Thoth/deploy/compose.datamart-builder-test.yaml \
|
||||
ps
|
||||
```
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ until that approval.
|
||||
|
||||
After the second visual approval:
|
||||
|
||||
- inspect both repositories independently (`ThothII-next` and `omics_portal`);
|
||||
- inspect both repositories independently (`Thoth` and `omics_portal`);
|
||||
- stage only the reviewed source/config/test/documentation files belonging to this work;
|
||||
- exclude protected environment files, `/srv` runtime state, API keys, generated session data,
|
||||
local logs, temporary evidence, `.superpowers/sdd/progress.md`, and unrelated user changes;
|
||||
|
||||
Reference in New Issue
Block a user