radiant
AGENTS.md113 starsChanged 2 months agoMITView on GitHub
Radiant is Tony's own coding harness: an Electron app wrapping a local node server (server/index.js, port 5834) and a React UI (src/). It is a public, MIT-licensed repo, signed and notarized, and it auto-updates from GitHub Releases. Work on master. - iPhone / iPad app (apps/ios, Swift, TestFlight, App Store, the model catalogue): read apps/ios/AGENTS.md first. It holds the engine fork, the build flags, why npx cap sync ios breaks the build, the iOS 27 launch crash, the download-math test,…
- Commits and pushes
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository276 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- app-store-reviewSkill
- master-designSkill
- star-systemSkill
- accessibilitySkill
- agent-architecture-auditSkill
- agent-evalSkill
- agent-harness-constructionSkill
- agentic-engineeringSkill
- agentic-osSkill
- agent-introspection-debuggingSkill
- agent-payment-x402Skill
- agent-sortSkill
- ai-first-engineeringSkill
- ai-regression-testingSkill
- android-clean-architectureSkill
- angular-developerSkill
- api-connector-builderSkill
- api-designSkill
- architecture-decision-recordsSkill
- architecture-mapSkill
- article-writingSkill
- automation-audit-opsSkill
- autonomous-agent-harnessSkill
- autonomous-loopsSkill
- backend-patternsSkill
- benchmark-methodologySkill
- benchmark-optimization-loopSkill
- benchmarkSkill
- blender-motion-state-inspectionSkill
- blueprintSkill
- brand-discoverySkill
- brand-voiceSkill
- browser-qaSkill
- bun-runtimeSkill
- canary-watchSkill
- carrier-relationship-managementSkill
- cisco-ios-patternsSkill
- claude-devfleetSkill
- clickhouse-ioSkill
- click-path-auditSkill
- codebase-onboardingSkill
- codehealth-mcpSkill
- code-tourSkill
- coding-standardsSkill
- competitive-platform-analysisSkill
- competitive-report-structureSkill
- compose-multiplatform-patternsSkill
- config-gcSkill
- configure-eccSkill
- connections-optimizerSkill
- content-engineSkill
- content-hash-cache-patternSkill
- context-budgetSkill
- continuous-agent-loopSkill
- contract-firstSkill
- cost-aware-llm-pipelineSkill
- cost-trackingSkill
- councilSkill
- cpp-coding-standardsSkill
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 52
Run the objective half and fix whatever it flags:
- Very specific: line 93
All five assets matter — latest-mac.yml is what the in-app updater reads.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Radiant — read this first, every turn
Radiant is Tony's own coding harness: an Electron app wrapping a local node
server (server/index.js, port 5834) and a React UI (src/). It is a public,
MIT-licensed repo, signed and notarized, and it auto-updates from GitHub
Releases. Work on master.
Where things are — read the one that matches your work
- iPhone / iPad app (
apps/ios, Swift, TestFlight, App Store, the model catalogue): readapps/ios/AGENTS.mdfirst. It holds the engine fork, the build flags, whynpx cap sync iosbreaks the build, the iOS 27 launch crash, the download-math test, and the App Store status. Standing rule: every iOS build goes to every device (scripts/ios-install-all.sh). - Mac app (
server/,src/, Electron): this file. - Ratings and the bar for each area:
ratings.md(Gold Standards).
⚠️ KEEP THIS FILE UNDER 12,000 CHARACTERS. Radiant loads a project's
rules file into every chat and stops at 12,000 characters
(RULES_CAP in server/config.js). At 20,526 this file lost its whole
second half — every iPhone warning — whenever Radiant worked on itself. Add a
topic file and a line here instead of growing this one.
Written is not shipped
Every change closes all three of these, in the same turn:
- Git — committed with a real message, and pushed. Tony runs the packaged app, not the dev server, and other agents work from other checkouts. An uncommitted fix looks exactly like no fix: on 2026-08-22 six corrected files sat in the working tree while he tested the release and reported the bug as still broken.
- The in-app Read me — the
GUIDEarray insrc/components/Settings.jsx(Settings → "Read me"). Standing rule from Tony: "you MUST update that readme when features are added or changed. end users deserve that." Write it for someone using the app: what they can now do, plain language, US spelling. - Linear — team The Templeton Group (TG), project Radiant. Ship something → its issue goes to Done, or create one already Done. Spot a problem you are not fixing → file it.
- The public face, for features —
README.md(Features, and the iPhone section) and the feature cards on the website's Radiant page (showcase/radiant/index.html, see below). Standing rule from Tony (2026-09-27): "keep them updated on changes." Both had gone forty releases without a word. A bug fix or polish skips this with aDocs: n/a — <reason>commit trailer. iPhone features go public when they reach the App Store, not TestFlight — the page says App Store.
This is automatic, not a question to ask. Tony has standing authorization:
run the ship-sync agent at the end of any turn that changed behavior.
Run the objective half and fix whatever it flags:
node scripts/ship-check.mjsIt verifies committed / pushed / Read-me-kept-current / README-and-website
(docs) / tagged — and, last,
judged: scripts/ship-judge.mjs has Jev (a decision model, see
server/decide.js) read the commit message and any new Read me entries and
answer whether they say why and whether they are written for a person using
the app. On its first run it failed two entries that talked about prompt
caches and tool schemas to users. Below 50% fails the check; unreachable, it
passes and says so. Rewrite in plain words, commit again. Since 2026-09-19 it
also reads the DIFF, per source file: a likely bug or a security hole at
≥ 70% fails; "users would notice, message is silent" and "logic with no test"
print as ⚠ warnings for a person to weigh.
New GitHub issues are sorted the moment they land (scripts/triage.mjs, run by
.github/workflows/triage.yml): app, kind, severity, possible duplicate — as
labels, with the probability, and nothing under 60% (90% for duplicate) is
applied. node scripts/triage.mjs --closed --dry-run shows what it would say. Or hand the
whole job to the ship-sync agent (runs on Haiku, cheap) — it loops until
all three are actually verified rather than merely attempted.
Releasing
A fix Tony cannot run is not shipped. When a change is user-facing:
npm version <next> --no-git-tag-version && npm run build
git add -A && git commit -F <message-file>
npx electron-builder --mac # signs + notarizes; takes a few minutes
git tag v<next> && git push origin master --tags
gh release create v<next> release/Radiant-<next>-arm64.dmg \
release/Radiant-<next>-arm64.dmg.blockmap \
release/Radiant-<next>-arm64-mac.zip \
release/Radiant-<next>-arm64-mac.zip.blockmap \
release/latest-mac.yml --title "v<next>" --notes-file <notes>All five assets matter — latest-mac.yml is what the in-app updater reads.
Confirm with spctl -a -vv -t install release/mac-arm64/Radiant.app ("accepted,
Notarized Developer ID"). Commit messages and release notes with apostrophes or
backticks break shell heredocs — write them to a file and use -F / --notes-file.
Every release also updates the website
The download page is part of shipping, not a follow-up:
cp release/Radiant-<v>-arm64.dmg /tmp/radiant.dmg
gh release upload v<v> /tmp/radiant.dmg --clobber # stable-named assetThen in ~/Projects/templeton-group-dev-website: set
showcase/radiant/version.json to the new version and size, and update the
js-version / js-size fallbacks in showcase/radiant/index.html so a failed
fetch cannot show a stale number. Push to main (auto-deploys in ~10s) and
verify the live URL.
Then prune: scripts/prune-releases.sh. It deletes every local artifact
except the version just shipped (GitHub Releases is the copy that matters)
and all but the two newest iOS archives. release/ reached 70 GB — 1,025
files — before anyone looked.
⚠️ The DMG is gitignored — 124 MB, past GitHub's file limit — so it never
travels through git. The page links to
releases/latest/download/radiant.dmg, which is why that stable-named asset
has to be uploaded on every release. Skipping it is how the site once
advertised 0.6.74 while 0.6.100 was current.
Sharp edges
- Model calls go through
server/net.js(modelFetch), never barefetch. Node's fetch is undici with 300 s headers/body timeouts; a local 27B can be silent longer than that while it loads and reads a prompt, and the round died withTypeError: terminated.scripts/test-slow-model.mjsrefuses a bare fetch on a provider round. Cancellation is the turn's AbortSignal. - An empty round is nudged once, then halted with a reason (providers.js,
emptyRounds);finish_reason: lengthis announced;<tool_call>written as text is parsed.scripts/test-empty-turn-live.mjsdrives all four shapes through the real server against a scripted provider. - Voice conversations are opt-in and the key is server-side.
src/voice.js(WebRTC to GPT-Live from the renderer) andserver/voice.js(creates the session with an OpenAI API key — a ChatGPT sign-in cannot;voiceKey()takes any key on the OpenAI roster). Client delegation only: the thinking is always Radiant's own turn. Nothing runs unlesssettings.voice.enabled.scripts/test-voice.mjscovers everything short of a microphone; the in-app Browser pane blocks the mic, so an end-to-end check needs the packaged app. - Two icons, not one.
build/icon.png+build/icon.icnsis the Mac Dock icon and copies AiOS's geometry (body 0.896 of canvas, swirl 0.678, measured off~/Projects/aios-claude/mac/icon-1024.png). The web/iOS set —public/favicon.png,public/apple-touch-icon.png,public/icon-{192,512}.png,src/assets/logo-mark.png— is full-bleed and signed off; do not change it.scripts/make-icon.pywrites only the Mac icon unless you pass--web. - Colors live under
:root[data-mode=…], applied from the config. A device that has not signed in never gets a config, so anything that renders before auth must work with the mode restored from localStorage inindex.html. - Remote devices authenticate with a token (Settings → Devices & sharing),
held in an httpOnly cookie so a phone stays signed in. Loopback is always
allowed, so test the gate over the Tailscale address, never
127.0.0.1. ~/.radiant/config.jsonhas one writer, the server. Window geometry lives in~/.radiant/window-state.jsonprecisely to avoid racing it.- The updater stages a download in
~/Library/Caches/radiant-updater/pendingand installs it on quit. It must always hold the newest release or the user gets walked up one version at a time.
Rating work — the star system
.claude/skills/star-system/ is vendored from
https://github.com/templetongroup/star-system. Run it when Tony says "rate this"
or "run the star system" after a deliverable, and follow it exactly: ask for the
1–5 rating, never assign one yourself, never argue with it, ask fewer questions
the higher it is, log the round in ratings.md, and loop until it reaches 4+.
ratings.md at the repo root is the record. Read its Gold Standards section
before building anything in an area that already has one — that is the bar for
that area, set by Tony, and new work is measured against it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

