docs: TSGCOO prompt — use clone-as.sh for per-agent git identity

Updated clone instructions to use the new agent identity tooling
(clone-as.sh, agent-profile.sh, bw-git-credential.sh) instead of
raw git clone. Explains how agents share one Linux account while
maintaining per-identity git attribution.

💘 Generated with Crush

Assisted-by: Crush:glm-5.2
This commit is contained in:
2026-08-13 10:59:24 -05:00
parent 4b7b24d65f
commit 57f582c0c8
+29 -4
View File
@@ -76,14 +76,39 @@ you're aligned on the operating model before you start making changes.
### Then clone the working repos
**Important: Use `clone-as.sh` to clone as a specific agent identity.** This
sets up per-repo git identity so commits and pushes are attributed correctly.
For the initial TSGCOO bootstrap work (before agents are provisioned), clone
as `reachableceo`.
```bash
# Set up the credential helper in ~/.gitconfig (once):
git config --global credential."https://git.knownelement.com".helper \
"$HOME/projects/TSYSGroupAIOS/scripts/bw-git-credential.sh"
cd ~/projects
# The provisioning automation you'll be running
git clone ssh://git@git.knownelement.com:29418/TSYSGroupCorporate/agent-identity-provisioning.git
# Clone the provisioning automation
~/projects/TSYSGroupAIOS/scripts/clone-as.sh reachableceo \
https://git.knownelement.com/TSYSGroupCorporate/agent-identity-provisioning.git
# The org-buildout docs (full context on the transition plan)
git clone ssh://git@git.knownelement.com:29418/reachableceo/org-buildout.git
# Clone the org-buildout docs
~/projects/TSYSGroupAIOS/scripts/clone-as.sh reachableceo \
https://git.knownelement.com/reachableceo/org-buildout.git
```
After agents are provisioned, when an agent needs to work in a repo, they
clone it with their own identity:
```bash
# vp-techops cloning PFVCluster:
~/projects/TSYSGroupAIOS/scripts/clone-as.sh vp-techops \
https://git.knownelement.com/KNEL/PFVCluster.git ~/projects/PFVCluster-vptechops
```
To switch agent context within the shell:
```bash
. ~/projects/TSYSGroupAIOS/scripts/agent-profile.sh vp-techops
# Now git commits, tea commands, etc. all operate as vp-techops
```
Read these for context: