{"id":50842372,"url":"https://github.com/hoanganhduc/coding-system-rebuild","last_synced_at":"2026-06-14T07:01:15.020Z","repository":{"id":364447711,"uuid":"1267889280","full_name":"hoanganhduc/coding-system-rebuild","owner":"hoanganhduc","description":"Reproducible backup \u0026 restore for a multi-agent coding/research workstation (Claude Code, Codex, Copilot, OpenCode, DeepSeek, Gemini, OpenClaw): a public repo + encrypted secrets archive, Makefile-driven, with manifest-based capture, leak scanning, key rotation, and CI rehearsal.","archived":false,"fork":false,"pushed_at":"2026-06-13T04:23:12.000Z","size":2234,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-13T04:24:33.963Z","etag":null,"topics":["ai-agents","backup","bash","claude-code","codex","devops","disaster-recovery","dotfiles","github-actions","makefile","openclaw","reproducible-builds","restore","secrets-management"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoanganhduc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-13T00:22:08.000Z","updated_at":"2026-06-13T04:23:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hoanganhduc/coding-system-rebuild","commit_stats":null,"previous_names":["hoanganhduc/coding-system-rebuild"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hoanganhduc/coding-system-rebuild","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoanganhduc%2Fcoding-system-rebuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoanganhduc%2Fcoding-system-rebuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoanganhduc%2Fcoding-system-rebuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoanganhduc%2Fcoding-system-rebuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoanganhduc","download_url":"https://codeload.github.com/hoanganhduc/coding-system-rebuild/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoanganhduc%2Fcoding-system-rebuild/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34312137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","backup","bash","claude-code","codex","devops","disaster-recovery","dotfiles","github-actions","makefile","openclaw","reproducible-builds","restore","secrets-management"],"created_at":"2026-06-14T07:00:47.657Z","updated_at":"2026-06-14T07:01:15.008Z","avatar_url":"https://github.com/hoanganhduc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coding System Rebuild\n\n\u003e ⚠️ **Generated by an AI coding system — experimental.** Every file in this\n\u003e repository — code, configuration, and documentation — was written by the same\n\u003e multi-agent AI coding system that this repository backs up and replicates. It is\n\u003e **experimental**, built for one researcher's personal setup, and **may not work as\n\u003e expected** on other machines, other agent versions, or tasks outside the documented\n\u003e assumptions. See the [introductory blog post](https://hoanganhduc.github.io/misc/coding-system-rebuild/)\n\u003e for what it is and how to try it.\n\nBackup/restore system for a complete multi-agent coding/research machine:\n**Claude Code, Codex, GitHub Copilot CLI, OpenCode, CodeWhale + DeepSeek CLI,\nGemini/AntiGravity CLI, and OpenClaw**, plus the system layer they run on\n(npm globals, Python environments, Docker images, systemd user services, cron,\nshell environment, TeX Live, Calibre, Lean/elan, Rust/Bun toolchains).\n\n```\n                ┌──────────────────────────────┐   ┌──────────────────────────┐\n                │ PUBLIC repo (this)           │   │ PRIVATE secrets zip      │\n                │  configs (sanitized),        │   │  AES-256, single file    │\n                │  skills, scripts, Makefile,  │   │  every key/token/cred +  │\n                │  manifests, docs             │   │  small personal state    │\n                └──────────────┬───────────────┘   └─────────────┬────────────┘\n                               │        make install SECRETS=…   │\n                               ▼                                 ▼\n                        ┌─────────────────────────────────────────────┐\n                        │           fresh Ubuntu 24.04 machine        │\n                        │              (amd64 or arm64)               │\n                        └─────────────────────────────────────────────┘\n```\n\nTwo existing repositories are orchestrated as **pinned components**\n(`components.lock`), not duplicated:\n\n| Component | Role |\n|---|---|\n| [`openclaw-bot`](https://github.com/hoanganhduc/openclaw-bot) | OpenClaw slice: sanitized config templates, workspace skills, lifecycle scripts |\n| [`ai-agents-skills`](https://github.com/hoanganhduc/ai-agents-skills) | Cross-agent skill installer (canonical skill bodies, per-agent targets) |\n\n## Quickstart (fresh machine)\n\n```bash\nsudo apt-get install -y git make 7zip\ngit clone https://github.com/hoanganhduc/coding-system-rebuild\ncd coding-system-rebuild\nmake doctor                                   # preflight\nmake install SECRETS=/path/to/coding-system-secrets-\u003cstamp\u003e.zip\nmake test                                     # verify everything\n```\n\nWithout the secrets zip, `make install` still completes in **degraded mode**\nand prints exactly which feature each missing secret disables\n(see `make verify-secrets --degraded` and [SECRETS.md](SECRETS.md)).\n\n## Routine use (source machine)\n\n```bash\nmake backup    # refresh state → sanitize-capture → leak-scan → local commit → new zip\ngit show       # review what changed\nmake push      # leak-scans again, then publishes (always manual)\n```\n\n## Target matrix\n\n| | amd64 | arm64 (origin) |\n|---|---|---|\n| Agents + skills + services | ✅ | ✅ |\n| SageMath docker image | ✅ official `sagemath/sagemath` | ✅ prebuilt (`ghcr.io/hoanganhduc/sagemath`) |\n| Zotero Translation Server image | ✅ `ghcr.io/hoanganhduc/translation-server` | ✅ official `zotero/translation-server` |\n| `agy`/`deepseek` local binaries | reinstall per-arch | ✅ |\n\n## Built on\n\nThe system installs and configures a number of smaller tools, several with their own repos:\n[getscipapers](https://github.com/hoanganhduc/getscipapers) (paper retrieval),\n[translation-server](https://github.com/hoanganhduc/translation-server) (Zotero translators),\n[vnthuquan](https://github.com/hoanganhduc/vnthuquan) (ebook discovery),\n[vnu-eoffice](https://github.com/hoanganhduc/vnu-eoffice) (document monitor) — plus established\nthird-party software (Zotero, SageMath, Calibre, Lean, and the AI agent CLIs).\n\n## Documents\n\n- [INSTALL.md](INSTALL.md) — phase-by-phase install, SKIP_* toggles, degraded mode\n- [SECRETS.md](SECRETS.md) — every secret: where to get it, where it lives, what breaks\n- [ARCHITECTURE.md](ARCHITECTURE.md) — surfaces, manifest semantics, delegation boundaries\n- [BACKUP-RESTORE.md](BACKUP-RESTORE.md) — runbooks, zip rotation, restore drills\n- [CODESPACES.md](CODESPACES.md) — live interactive replica in a GitHub Codespace\n- [github-actions-experiment-runner-plan.md](github-actions-experiment-runner-plan.md) — the `research_compute` GitHub Actions / Modal compute broker: design + the GHA compute lane (day-to-day routing/usage is the installed `github-actions-offload-routing` instruction, delivered by ai-agents-skills)\n- [CI.md](CI.md) — GitHub Actions rehearsal (no-secrets + key live-tests)\n- [TROUBLESHOOTING.md](TROUBLESHOOTING.md) — known post-install fixes\n- [../DECISIONS.md](../DECISIONS.md) — append-only decision log\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoanganhduc%2Fcoding-system-rebuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoanganhduc%2Fcoding-system-rebuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoanganhduc%2Fcoding-system-rebuild/lists"}