Files
time/quc
teahubxyzandClaude Opus 5.5 2ad896b9b5 quc v0 (2/4): the agent and the run engine
agent.js reads a public repo from GitHub's tarball (nothing executed), plans up to 4 files and rewrites them with a coding model, and narrates with Grok, via Venice; offline answers without a key. engine.js runs one step per call (clone, plan, rewrite a file, wrap up), with the safeword, the three key phrases (notes, a file veto that reverts, the wheel) and the patch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EVg99kQMY2Tumhobuyg7Fm
2026-10-22 18:12:43 +00:00
..

quc

App shell + API in one Cloudflare Worker (src/worker.js), live at https://quc.yolopreneur.lol/. No dependencies, no build step.

  • npm start serves it on :8787; npm test runs the tests; npm run deploy (needs CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID) deploys and waits for /api/health.
  • GET /api/health → {ok, rev}. GET /chair.svg is the chair-in-the-corner motif (also inlined in the shell).

Pipeline (needs a human: workers can't edit .github/workflows)

Add .github/workflows/quc.yml:

name: quc
on:
  push: { branches: [main], paths: ["quc/**"] }
  workflow_dispatch:
permissions: { contents: read }
jobs:
  deploy:
    runs-on: ubuntu-latest
    timeout-minutes: 6
    steps:
      - uses: actions/checkout@v5
      - uses: actions/setup-node@v4
        with: { node-version: 22 }
      - run: npm test --prefix quc
      - run: python3 quc/deploy.py
        env:
          CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}   # still "missing" in SECRETS.md
          CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

and, in ci.yml, - run: npm test --prefix quc so PRs run the quc tests.