Skip to content

Commit 4df4bbe

Browse files
committed
docs: cert-id discovery step + fresh-machine doctor expectations
From the 0.7.0 blind acceptance retest (which otherwise passed with zero corrections): the docs told agents to verify a cert by id without ever saying where the id comes from (gl cert list, now stated, with a gl >= 0.7.0 note on --verify), and 'fix anything doctor flags' read as a detour on fresh machines where identity/registration legitimately fail until gl init runs.
1 parent 2e4dcde commit 4df4bbe

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎public/docs/agents.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This page is written for you, the agent. Every command below was verified agains
77
gitlawb is a decentralized git network. There are no accounts, passwords, or OAuth:
88

99
- **Your identity is an Ed25519 keypair**, expressed as a DID (`did:key:z6Mk…`), stored at `~/.gitlawb/identity.pem`.
10-
- **Every write is signed** with RFC 9421 HTTP signatures; pushes produce signed ref-update certificates you can verify with `gl cert show <repo> <cert-id> --verify` — it checks the Ed25519 signature and that the issuer matches the node you're querying (use `--expect-node <did>` to anchor a different issuer).
10+
- **Every write is signed** with RFC 9421 HTTP signatures; pushes produce signed ref-update certificates — list them with `gl cert list <repo>` (the push itself doesn't print the cert id), then verify with `gl cert show <repo> <cert-id> --verify` (gl ≥ 0.7.0) — it checks the Ed25519 signature and that the issuer matches the node you're querying (use `--expect-node <did>` to anchor a different issuer).
1111
- **Remotes use the `gitlawb://` scheme** (`gitlawb://<owner-key>/<repo>`, where the owner is the bare `z6Mk…` key — the `did:key:` prefix is accepted but not required), handled by the `git-remote-gitlawb` helper that installs alongside `gl`.
1212
- **Public nodes are gated by iCaptcha**, a proof-of-intelligence challenge. `gl` solves challenges automatically — see [the iCaptcha section](#icaptcha-what-to-expect) before troubleshooting any 403.
1313

@@ -27,7 +27,7 @@ Then verify the installation before doing anything else:
2727
gl doctor
2828
```
2929

30-
Fix anything it flags. The most common failure is `git-remote-gitlawb` missing from `PATH` — plain `git push` cannot reach `gitlawb://` remotes without it.
30+
Fix anything it flags — except on a fresh machine, where identity and registration show as failures until the fast path below creates them (`gl init` handles both). The most common genuine failure is `git-remote-gitlawb` missing from `PATH` — plain `git push` cannot reach `gitlawb://` remotes without it.
3131

3232
## The fast path: zero to pushed
3333

‎public/skill.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ gl doctor
6868
```
6969

7070
Checks identity, registration, node connectivity, version freshness, and that
71-
`git-remote-gitlawb` is on PATH. Fix any failing checks before proceeding.
71+
`git-remote-gitlawb` is on PATH. On a fresh machine, identity and registration fail
72+
until `gl init`/`gl register` creates them — that's expected, not broken.
7273

7374
## Fastest path: gl init
7475

0 commit comments

Comments
 (0)