Skip to content

docs(repo): superagent's own docs, checked against the code - #20

Merged
pakgin merged 9 commits into
mainfrom
docs/public-repo
Nov 17, 2026
Merged

pakgin merged 9 commits into
mainfrom
docs/public-repo

Conversation

@pakgin

@pakgin pakgin commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

What

The repository moved to rentfreeco/superagent and is public. This brings its docs and config up to that: the front page was still the Turborepo starter, and the maintained docs had drifted from the code.

Stacked on #17, #19, and #18, which touch the same docs, so their commits show here until they merge. Merge them first.

  • The README says what superagent is, how it works, where it stands, what it needs, how to start, its layout, and its safety model, in place of the Turborepo starter's Next.js apps and UI package.
  • Starter leftovers removed: the unused Next.js and React ESLint configs and tsconfigs with their three dependencies (43 packages out of the lockfile), the build task (with Next.js outputs) and script, since nothing builds, and @repo/typescript-config's license and publishConfig. @repo/eslint-config gets a README for the config it ships.
  • rentfreeco/superagent in the example config, the core README, and the config's owner/name error.
  • Docs checked against the code: every concrete claim in CONTRIBUTING, the two package READMEs, AGENTS.md, and the roadmap. About 25 were stale or incomplete, among them a createTaskRunner example that wouldn't typecheck, routing described as channel-only, two store tables missing, and pointers to a Turborepo block AGENTS.md no longer has. .env.example, the example config, the CI workflow, and the Slack manifest checked out.
  • Public-repo check: no token appears in any commit's changes, .env and superagent.config.ts were never committed, and tracked files hold no personal paths, emails, or Slack IDs.

For the owner

  • No license. A public repository without one is all rights reserved; choosing one is yours.
  • Private vulnerability reporting is off, and there's no SECURITY.md. Turning it on, with a short SECURITY.md pointing at it, gives people a private way to report a hole.
  • main has no branch protection, so nothing requires the Code Quality checks to pass before a merge.
  • CONTRIBUTING says pull requests are squash-merged, but docs(repo): bring the roadmap up to date after M3 #14–feat: pull request feedback (M4), starting with superagent's own GitHub account #16 were merged with merge commits. Say which you want and I'll make the doc match.
  • Commit author addresses are public now: 82 commits use an iCloud address.

Checks

  • pnpm format, pnpm lint, pnpm typecheck, and pnpm test pass (core 434, agent 20), and ESLint is clean without pnpm's wrapper.

🤖 Generated with Claude Code

pakgin and others added 9 commits November 8, 2026 11:21
The Code Quality workflow ran lint and typecheck only, so the tests ran
only on someone's machine. A test job now runs pnpm test on every pull
request and push to main, set up like the other two. The tests that call
git set their own commit identity, so a clean runner is enough.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- M4 is done in #16. Its section records the 2026-11-08 live run,
  including answering on GitHub, the done reactions, and an owner's
  edited comment, and the fixes live runs and Greptile's review led to.
- The intake row covers pull requests, the order starts with M2's last
  checks, and the CI risk is gone with #17.
- M2's metadata check passed against real Slack: 8 of 8 recent posts
  found at the ts the outbox recorded.
- Known risks add Greptile's summary rewrites using up bot rounds, and
  the worker's comment when Greptile finds nothing; the unexercised list
  adds the M4 paths not yet seen live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The machine's global git config signs commits, and its key is the
owner's, so the agent's commits on the scratch repo carried the owner's
signature: GitHub listed them as signed by a key unknown to pakgin-agent.
A sandbox trial caught it, where signing failed outright because gpg
couldn't reach ~/.gnupg. agentAccountEnvironment now sets commit.gpgsign
and tag.gpgsign to false, which wins over any machine config, so the
agent's commits are unsigned and its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A sandbox trial on macOS: writes outside the worktree and network outside
the allowlist were refused, as meant, but npm install failed on its cache
in ~/.npm, which the sandbox doesn't let workers write. The session
starter now takes the sandbox as { cacheDirectory }, adds that directory
to the sandbox's writable paths, and points npm_config_cache,
XDG_CACHE_HOME, YARN_CACHE_FOLDER, and PIP_CACHE_DIR into it. The app
uses $SUPERAGENT_DATA_DIR/cache and creates it when the sandbox is on.

gh still can't verify TLS inside the sandbox on macOS (Go asks trustd,
which the sandbox blocks), so the docs say workers can't open pull
requests there yet; enableWeakerNetworkIsolation fixes it, at a cost the
roadmap's open decision weighs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sandbox holds on macOS: writes outside the worktree and hosts off the
allowlist were refused. Commits and npm installs failed until #19, which
stops signing the agent's commits with the owner's key and gives package
managers a cache the sandbox lets workers write. gh can't verify TLS
inside it on macOS without enableWeakerNetworkIsolation, which open
decision 2 now weighs, leaning toward turning it on there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Greptile on #19: the README still passed sandbox: true, which no longer
typechecks. It now passes { cacheDirectory }, says what the sandbox
writes, that the directory must exist, and the macOS gh limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The repository moved to rentfreeco/superagent and went public, and its
front page was still the Turborepo starter, listing Next.js apps and a UI
package it doesn't have.

- The README says what superagent is, how it works, where it stands,
  what it needs, how to start, its layout, and its safety model.
- @repo/eslint-config's README describes the config it actually ships.
- The starter's unused Next.js and React ESLint configs and tsconfigs
  are gone, with their three dependencies, as is the build task (with
  Next.js outputs) and script, since nothing builds.
- @repo/typescript-config drops a license and publishConfig it never
  used: nothing is published, and the repository has no license yet.
- The examples and the owner/name error name rentfreeco/superagent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An audit of every concrete claim in the maintained docs against the code
found these stale or incomplete:

- CONTRIBUTING: routing is the router's, with the channel map as its
  default and fallback; gh login is needed only without the agent's
  account; catch-up covers recently ended tasks; the core README covers
  eight modules, not three; the turbo docs live in node_modules, not a
  block AGENTS.md no longer has; commits can be scoped to agent, and
  typed ci.
- apps/agent/README: the real startup and shutdown order, the pull
  request watcher, the agent account check, every startup failure, and
  🛑 on any of the owner's messages in a task's thread.
- packages/core/README: unreact, the router's role in choosing a repo,
  the repo's description, the candidates and decisions tables, what kv
  holds, where openTestStore comes from, unsigned agent commits, what
  happens to a pull request in another repo, and the wakeRouter the
  createTaskRunner example needs to typecheck.
- AGENTS.md: store/index.ts in the layout, unreact, and complete
  descriptions of the constants, main.ts, and environment.ts.
- ROADMAP: the router's ignore tool, and the two ownership checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pakgin
pakgin merged commit add7398 into main Nov 17, 2026
3 checks passed
@pakgin
pakgin deleted the docs/public-repo branch November 17, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant