Zero-secret GitHub App connector (OAuth Device Flow + shared non-expiring fleet
vault) and fast, minimal tooling + prompts for Single Agent, Captain,
and Workers working on Keshab1997 repositories.
- Account:
Keshab1997 - GitHub App:
keshab-flutter-assistant(client_id:Iv23lieh6Kastc59yOsf) - Zero dependencies: Python 3 stdlib only, zero secrets in this repo.
| File | Purpose |
|---|---|
gh_app.py |
GitHub App Device Flow connector + shared fleet vault + workspace secrets mirror |
device_pair.py |
Poll a saved device code + auto-sync fleet vault & .pem in one shot |
fast.py |
1-command repo clone/repair (fast.py repo) + secret-guarded auto-retry rebase/push (fast.py push) |
ci_dispatch.py |
In-process GitHub Actions CI dispatch (--watch --logs) and quick latest-run check (--last --logs) |
app-meta.json |
Public GitHub App metadata (client_id, app_id, installation_id, endpoints) |
setup.sh |
One-shot shell bootstrap (--with-flutter optional) |
selftest.py |
Offline regression suite (fake tokens + local bare git fixtures) |
AGENT_PROMPT.md |
Paste-ready prompt for a single fast agent |
CAPTAIN_PROMPT.md |
Paste-ready prompt for the Captain (splits by file, pipelines workers, owns CI) |
WORKER_PROMPT.md |
Paste-ready prompt for each Worker (Device Flow, owns assigned files, verifies, pushes main) |
Paste AGENT_PROMPT.md into a chat and give the task.
- Open one Captain chat → paste
CAPTAIN_PROMPT.md. - Open 1–3 Worker chats → paste
WORKER_PROMPT.mdin each. - Every agent pairs via Device Flow (
gh_app.py connect --show-only→device_pair.py poll 60) and automatically joins the shared non-expiring fleet vault (Keshab1997/agent-bootstrap-vault). - Tell the Captain the goal → Captain splits by disjoint files and gives you one short paste block per worker.
- Paste each block into its Worker chat → Workers verify locally and run
fast.py push(secret guard + preflight + auto-retry rebase/push tomain). - Paste each short
DONEreply back to Captain → Captain immediately feeds that worker its next task, integrates glue, and runs one CI check viaci_dispatch.py.
# Auth & fleet vault
python3 gh_app.py connect --show-only # reuse -> refresh -> fleet recover -> code only if needed
python3 device_pair.py poll 60 # approve -> saves token + auto-joins fleet vault & .pem
python3 gh_app.py status # health check (never starts a device flow)
python3 gh_app.py fleet status # verify shared fleet vault link
# Fast repo sync & race-safe push to main
python3 fast.py repo <repo> # fast clone / auto-repair .git/config / pull latest main
python3 fast.py push <repo> -m "feat(x): ..." -- path/a.dart test/a_test.dart
# CI (Captain / standalone agent; workers never run CI)
python3 ci_dispatch.py Keshab1997/<repo> --watch 900 --logs
python3 ci_dispatch.py Keshab1997/<repo> --last --logs- Never use
--forceor copysecrets/manually — tokens and the App.pemkey sync automatically via/home/user/workspace/captain_secretsand the private fleet vault (Keshab1997/agent-bootstrap-vault).
python3 selftest.py