Repository navigation
docs(repo): superagent's own docs, checked against the code - #20
Merged
Merged
Conversation
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>
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The repository moved to
rentfreeco/superagentand 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.
buildtask (with Next.js outputs) and script, since nothing builds, and@repo/typescript-config'slicenseandpublishConfig.@repo/eslint-configgets a README for the config it ships.rentfreeco/superagentin the example config, the core README, and the config's owner/name error.createTaskRunnerexample 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..envandsuperagent.config.tswere never committed, and tracked files hold no personal paths, emails, or Slack IDs.For the owner
SECURITY.md. Turning it on, with a shortSECURITY.mdpointing at it, gives people a private way to report a hole.mainhas no branch protection, so nothing requires the Code Quality checks to pass before a merge.Checks
pnpm format,pnpm lint,pnpm typecheck, andpnpm testpass (core 434, agent 20), and ESLint is clean without pnpm's wrapper.🤖 Generated with Claude Code