From f7426cf3a6e214b840687f38cf68ff82afbff10d Mon Sep 17 00:00:00 2001 From: virgil Date: Sun, 7 Jun 2026 19:21:24 -0700 Subject: [PATCH] Rename projection repo for Section 0 --- README.md | 20 +++++++++---------- docs/projection-operations.md | 16 +++++++-------- rta/reports/current-status.md | 4 ++-- ...cs.sh => project-section0-rta-handbook.sh} | 6 +++--- ...ta-mock-docs.sh => setup-section0-docs.sh} | 16 +++++++-------- 5 files changed, 31 insertions(+), 31 deletions(-) rename scripts/{project-rta-mock-docs.sh => project-section0-rta-handbook.sh} (87%) rename scripts/{setup-rta-mock-docs.sh => setup-section0-docs.sh} (84%) diff --git a/README.md b/README.md index 7701f24..2c1f771 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Mock RTA Knowledge Base +# Section 0 RTA Handbook This hosted Git repo is intentionally plain Markdown. It has no required RTA sidecars. Collaborators clone, edit, commit, and push it as the canonical @@ -22,38 +22,38 @@ Current projected docs: From any machine that can reach the lab mesh: ```sh -curl -fsSL http://100.64.0.1:30087/virgil-admin/rta-mock-docs/raw/branch/main/scripts/setup-rta-mock-docs.sh | sh +curl -fsSL http://100.64.0.1:30087/section0/rta-handbook/raw/branch/main/scripts/setup-section0-docs.sh | sh ``` The script clones this repo into: ```text -~/Developer/Section0/rta-mock-docs +~/Developer/Section0/rta-handbook ``` It also installs a small helper command at: ```text -~/.local/bin/rta-mock-docs +~/.local/bin/section0-docs ``` Override the destination if you prefer: ```sh -TARGET_DIR=~/work/rta-mock-docs \ - curl -fsSL http://100.64.0.1:30087/virgil-admin/rta-mock-docs/raw/branch/main/scripts/setup-rta-mock-docs.sh | sh +TARGET_DIR=~/work/rta-handbook \ + curl -fsSL http://100.64.0.1:30087/section0/rta-handbook/raw/branch/main/scripts/setup-section0-docs.sh | sh ``` ## Daily Flow ```sh -rta-mock-docs pull +section0-docs pull # Edit Markdown files in your normal editor. -rta-mock-docs status -MESSAGE="Describe the doc change" rta-mock-docs commit -rta-mock-docs push +section0-docs status +MESSAGE="Describe the doc change" section0-docs commit +section0-docs push ``` After a push, ask the projection operator to pull and project. For now that is diff --git a/docs/projection-operations.md b/docs/projection-operations.md index 4c53bcc..1e8b77c 100644 --- a/docs/projection-operations.md +++ b/docs/projection-operations.md @@ -5,19 +5,19 @@ This repo is projected into AFFiNE manually for now. Canonical Gitea repo: ```text -http://100.64.0.1:30087/virgil-admin/rta-mock-docs.git +http://100.64.0.1:30087/section0/rta-handbook.git ``` Projected AFFiNE path: ```text -Agent Workspace / projected-markdown / mock-rta-docs +Agent Workspace / Section 0 / Git Projections / RTA Handbook ``` ## What A Collaborator Does ```sh -cd ~/Developer/Section0/rta-mock-docs +cd ~/Developer/Section0/rta-handbook git pull --ff-only # edit Markdown git add . @@ -33,7 +33,7 @@ collaborator's dirty working tree. Nice wrapper: ```sh -/Users/virgil/Developer/rta/tmp/markdown-projection-gitea/collaborator-checkout/rta-mock-docs/scripts/project-rta-mock-docs.sh +/Users/virgil/Developer/rta/tmp/markdown-projection-gitea/collaborator-checkout/rta-handbook/scripts/project-section0-rta-handbook.sh ``` It pulls the projector checkout, checks it is clean, and runs the AFFiNE @@ -42,7 +42,7 @@ projection command. Manual equivalent: ```sh -git -C /Users/virgil/Developer/rta/tmp/markdown-projection-gitea/projector-checkout/rta-mock-docs pull --ff-only +git -C /Users/virgil/Developer/rta/tmp/markdown-projection-gitea/projector-checkout/rta-handbook pull --ff-only ``` Then from `home-lab-v7`: @@ -51,14 +51,14 @@ Then from `home-lab-v7`: cd /Users/virgil/Developer/Virgil-Info/home-lab-v7 nix develop --command bash -lc 'scripts/ops/sync-obsidian-affine.rb \ - --name rta-mock-docs \ - --source /Users/virgil/Developer/rta/tmp/markdown-projection-gitea/projector-checkout/rta-mock-docs \ + --name section0-rta-handbook \ + --source /Users/virgil/Developer/rta/tmp/markdown-projection-gitea/projector-checkout/rta-handbook \ --username projection-bot \ --authentik-sub rta-projection-bot \ --affine-workspace "Agent Workspace" \ --affine-workspace-id 53ea0a0b-eca7-4887-8e31-f5b2a8ab7744 \ --affine-user-id ce42f50a-5367-4466-920b-7422c4e27de0 \ - --affine-namespace projected-markdown/mock-rta-docs \ + --affine-namespace 'Section 0/Git Projections/RTA Handbook' \ --include "**/*.md" \ --apply' ``` diff --git a/rta/reports/current-status.md b/rta/reports/current-status.md index 93201a2..6efeffd 100644 --- a/rta/reports/current-status.md +++ b/rta/reports/current-status.md @@ -1,6 +1,6 @@ # RTA Status -This is still a demo status, not an exhaustive status report. -The current mock says RTA has a working Markdown projection slice with hosted Git as the source authority. +This is a concise operator status, not an exhaustive status report. +The current handbook records that RTA has a working Markdown projection slice with hosted Git as the source authority. Live AFFiNE writing remains the next adapter step. The rename demonstrates that Git history can preserve projection identity. diff --git a/scripts/project-rta-mock-docs.sh b/scripts/project-section0-rta-handbook.sh similarity index 87% rename from scripts/project-rta-mock-docs.sh rename to scripts/project-section0-rta-handbook.sh index 4fc4052..abdbb3e 100755 --- a/scripts/project-rta-mock-docs.sh +++ b/scripts/project-section0-rta-handbook.sh @@ -1,7 +1,7 @@ #!/usr/bin/env sh set -eu -PROJECTOR_DIR="${PROJECTOR_DIR:-/Users/virgil/Developer/rta/tmp/markdown-projection-gitea/projector-checkout/rta-mock-docs}" +PROJECTOR_DIR="${PROJECTOR_DIR:-/Users/virgil/Developer/rta/tmp/markdown-projection-gitea/projector-checkout/rta-handbook}" HOME_LAB_DIR="${HOME_LAB_DIR:-/Users/virgil/Developer/Virgil-Info/home-lab-v7}" if [ ! -d "$PROJECTOR_DIR/.git" ]; then @@ -27,13 +27,13 @@ fi echo "==> Projecting Markdown into AFFiNE" cd "$HOME_LAB_DIR" nix develop --command bash -lc "scripts/ops/sync-obsidian-affine.rb \ - --name rta-mock-docs \ + --name section0-rta-handbook \ --source '$PROJECTOR_DIR' \ --username projection-bot \ --authentik-sub rta-projection-bot \ --affine-workspace 'Agent Workspace' \ --affine-workspace-id 53ea0a0b-eca7-4887-8e31-f5b2a8ab7744 \ --affine-user-id ce42f50a-5367-4466-920b-7422c4e27de0 \ - --affine-namespace projected-markdown/mock-rta-docs \ + --affine-namespace 'Section 0/Git Projections/RTA Handbook' \ --include '**/*.md' \ --apply" diff --git a/scripts/setup-rta-mock-docs.sh b/scripts/setup-section0-docs.sh similarity index 84% rename from scripts/setup-rta-mock-docs.sh rename to scripts/setup-section0-docs.sh index 2617b74..32c900d 100755 --- a/scripts/setup-rta-mock-docs.sh +++ b/scripts/setup-section0-docs.sh @@ -1,10 +1,10 @@ #!/usr/bin/env sh set -eu -REPO_URL="${REPO_URL:-http://100.64.0.1:30087/virgil-admin/rta-mock-docs.git}" -TARGET_DIR="${TARGET_DIR:-$HOME/Developer/Section0/rta-mock-docs}" +REPO_URL="${REPO_URL:-http://100.64.0.1:30087/section0/rta-handbook.git}" +TARGET_DIR="${TARGET_DIR:-$HOME/Developer/Section0/rta-handbook}" COMMAND_DIR="${COMMAND_DIR:-$HOME/.local/bin}" -COMMAND_NAME="${COMMAND_NAME:-rta-mock-docs}" +COMMAND_NAME="${COMMAND_NAME:-section0-docs}" COMMAND_PATH="$COMMAND_DIR/$COMMAND_NAME" step() { @@ -40,7 +40,7 @@ REPO_DIR="$TARGET_DIR" usage() { cat <