remotelab
AGENTS.md114 starsChanged 52 days agoMITView on GitHub
Canonical repo-local AI context lives here. Keep tool-specific files like CLAUDE.md only as thin compatibility shims that point back to this file. Read this file first. It gives you everything you need to work on this project without exploring blindly. For deep-dive topics, reference docs are linked at the bottom. A web app that turns a real macOS/Linux machine into an AI automation workbench accessible from phone and desktop. It is designed first for people with repetitive digital work —…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,117 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 repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- feishu-auth-requestSkill
- social-publishSkill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Default target user: someone with repeated digital chores, not necessarily an AI-native operator
- Distinctive: line 34
Prefer work that helps a normal user reach one trusted automation win over work that mainly showcases orchestration sophistication.
- Distinctive: line 35
Treat user feedback as a durable product asset.
- Distinctive: line 38
Keep raw identifying details out of shared notes.
- Very specific: line 48
Before committing implementation changes, run node scripts/check-documentation-impact.mjs --staged and update the associated current …
- Very specific: line 54
prefer one structured input packet from the human, then autonomous execution by the AI until completion or a true hard [HUMAN] dependency
- Distinctive: line 56
keep automatable command-by-command flow inside the AI conversation or scripts, not as a long manual cookbook
- Very specific: line 81
Dev workflow: use the normal 7690 service as the single chat/control plane.
- Very specific: line 85
Management access: before declaring a restart permission blocker, use remotelab service-access check --json and the service access workflow.
- Very specific: line 219
Every Person may organize the same shared Sessions differently.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
AGENTS.md — RemoteLab Project Context
Canonical repo-local AI context lives here. Keep tool-specific files like
CLAUDE.mdonly as thin compatibility shims that point back to this file.
Read this file first. It gives you everything you need to work on this project without exploring blindly. For deep-dive topics, reference docs are linked at the bottom.
What Is RemoteLab
A web app that turns a real macOS/Linux machine into an AI automation workbench accessible from phone and desktop. It is designed first for people with repetitive digital work — including users who are not already AI power users — so they can bring a messy task, sample files, or a recurring chore and let the system help clarify the problem, shape an approach, and execute it on the machine.
Not a terminal emulator, a traditional editor-first IDE, or a chatbot. It's an AI workbench / control console for human-AI collaboration — the user does not need a perfect spec up front; RemoteLab should help discover the right problem, propose a workable workflow, and keep execution plus context coherent.
- Multiple People may share one instance; established identity determines Session ownership
- Ordinary People can access only their own Sessions; configured administrators can access all Sessions; unauthenticated requests cannot enter the workbench
- Administrator grants/revocations require a current administrator’s personal browser login, fresh password and recorded confirmation at
/admin/session-administrators. Never fulfill later chat requests by editing role configuration, issuing administrator credentials or migrating administrator identities; seedocs/session-access.mdfor independently verified host recovery. - First wedge: repetitive digital work that can be automated quickly
- Phone + desktop are both first-class control surfaces
- Node.js, no external frameworks (only
wsfor WebSocket) - Vanilla JS frontend, no build tools
Current Product Framing
- Default target user: someone with repeated digital chores, not necessarily an AI-native operator
- Core promise: a short conversation can eliminate hours of recurring manual work each week
- Interaction rule: AI should act like a product manager / solution designer, helping clarify the task instead of waiting for a perfect prompt
- Multi-session orchestration remains useful, but it is an enabling capability rather than the primary headline
Current Product Development Loop
- Mainline work is continuous user discovery and feedback-driven iteration around mainstream guided automation on real machines.
- Prefer work that helps a normal user reach one trusted automation win over work that mainly showcases orchestration sophistication.
- Treat user feedback as a durable product asset; summarize reusable signals in repo-visible notes instead of leaving them only in private chat or machine-local memory.
- For recurring Connector work, ship reusable actions with fixed provider request shapes. The Harness supplies task data; code handles identity, validation, compact output, and readback. Use direct provider APIs for cases that have no suitable action yet.
- Let the Harness choose the useful output or office action from the user's goal during the normal task turn, even when the user does not name a format or API. Keep post-answer display conversion deterministic; resource writes still require the intended target and data to be resolved and verified.
- Keep raw identifying details out of shared notes; record sanitized product evidence and promote stable conclusions into canonical docs.
- See
notes/current/product-mainline.mdandnotes/current/user-feedback-log.md. - For flow explanations in the Web message feed, read
docs/inline-flow-display.md: keep the conclusion in readable prose, use a complete left-to-right preview for useful relationships, and open details in the same page. Simple answers keep their existing text form.
Unified RemoteLab Explanation Project
Human-facing system and feature explanations belong to the single RemoteLab explanation project at docs/architecture-atlas/README.md, with the shared entry docs/architecture-atlas/project.html and catalog project.json. Its purpose is system understanding, continuous self-improvement, and newcomer onboarding. Extend an existing chapter or add a cataloged chapter, include it in the same assembled publication and backup, and retain source/deployment/acceptance boundaries. Do not create a separate overlapping explanation website. Focused API, setup, and operational docs keep their existing canonical sources and are linked from the shared site. Read the project README before changing or publishing these explanations.
Documentation Rule
Before committing implementation changes, run node scripts/check-documentation-impact.mjs --staged and update the associated current documentation. For changes with no documentation impact, record a specific Docs-Impact: none — reason trailer for review. Follow docs/documentation-delivery.md for generated source pages and instance-local publishing; do not edit generated copies.
For setup, deployment, integration, and feature-activation docs, use a model-first, prompt-first shape:
- assume the operator is a human delegating to their own AI coding agent
- have the AI collect all required context in one early handoff whenever possible, instead of drip-feeding questions across many turns
- prefer one structured input packet from the human, then autonomous execution by the AI until completion or a true hard
[HUMAN]dependency - lead with a copyable prompt, one-round input requirements, target state, and only unavoidable
[HUMAN]dependencies - keep automatable command-by-command flow inside the AI conversation or scripts, not as a long manual cookbook
- minimize human interruption so the operator can hand off the task and return to a completed result; request input only for inaccessible credentials/browser actions, hard authorization, or irreversible high-impact actions that were not already clearly scoped
For unattended AI workflows, low-loss, reversible, auditable actions execute by default. A review, acceptance, or confirmation state is not a safety boundary unless someone is actually notified and the action protects hard authorization, irreversible high loss, or material financial/legal/third-party impact. Otherwise execute, record, verify, and retry or surface failure with a recovery path.
Architecture
Browser / app surface ──HTTPS──→ Cloudflare Tunnel ──→ chat-server.mjs (:7690)
│
HTTP control plane + WS hints
│
durable history + run state
│
detached runners normalize back to HTTPChat Architecture
| Service | Port | Domain | Role |
chat-server.mjs | 7690 | production chat domain | Primary — the shipped shared workbench/control plane |
Dev workflow: use the normal 7690 service as the single chat/control plane. Restarting it should boot the current source tree directly; RemoteLab relies on clean restart recovery rather than a separate release snapshot or permanent validation plane.
Self-hosting rule: restarting the active chat server is acceptable when needed because runs reconcile back from durable state. This assumes compatible persisted state and a service manager that preserves detached execution. Before upgrading an existing instance or repointing shared-source consumers, read the Request state upgrade notice. The 2026-09-07 schema change requires offline conversion; ordinary restart recovery does not perform it. Keep a working maintenance entry point outside the service being stopped. Manual extra instances remain optional ad-hoc debugging tools only. See notes/current/self-hosting-dev-restarts.md.
Management access: before declaring a restart permission blocker, use remotelab service-access check --json and the service access workflow. Check registered sudo and local SSH alternatives; one failed route or an old blocked report is insufficient. Capability discovery does not expand the current task's authorized targets.
File Structure
remotelab/
├── chat-server.mjs # PRIMARY entry point (HTTP server, port 7690)
├── cli.js # CLI entry: `remotelab start|stop|restart|setup|...`
├── generate-token.mjs # Generate 256-bit access tokens
├── set-password.mjs # Set password-based auth
│
├── chat/ # ── Chat service modules ──
│ ├── router.mjs # All HTTP routes & API endpoints (538 lines)
│ ├── session-manager.mjs # Chat control-plane submit / observe / broadcast
│ ├── process-runner.mjs # Tool invocation helpers + explicit runtime adapters
│ ├── runs.mjs # Durable run metadata/result/spool storage
│ ├── run-launcher.mjs # Detached run launch strategy (systemd / process fallback)
│ ├── run-projection.mjs # Raw spool -> normalized run-event projection
│ ├── run-reconciler.mjs # Run liveness + missing-result terminalization
│ ├── runner-sidecar.mjs # Thin detached executor writing raw spool/status/result
│ ├── ws.mjs # WebSocket invalidation channel only
│ ├── session-state-classifier.mjs # one non-blocking post-turn Session-state classifier
│ ├── session-work-summary.mjs # provider-neutral current work state shared across Harnesses
│ ├── session-person-view.mjs # per-Person Space/Group/sidebar order projection
│ ├── system-prompt.mjs # Build system context injected into AI sessions (83 lines)
│ ├── normalizer.mjs # Convert tool output → standard event format (45 lines)
│ ├── middleware.mjs # Auth checks, rate limiting, IP detection (80 lines)
│ ├── push.mjs # Web push notifications (83 lines)
│ ├── models.mjs # Available LLM models per tool (46 lines)
│ ├── history.mjs # Canonical append-only per-event history + externalized bodies
│ └── adapters/
│ ├── claude.mjs # Claude Code CLI output parser (201 lines)
│ └── codex.mjs # Codex CLI output parser (207 lines)
│
├── lib/ # ── Shared modules (used by both services) ──
│ ├── auth-config.mjs # People, credentials, identities, service token
│ ├── auth.mjs # Authentication and browser sessions
│ ├── config.mjs # Environment variables, paths, defaults
│ ├── tools.mjs # CLI tool discovery (which), custom tool registration
│ ├── utils.mjs # Utilities (read body, path handling)
│ └── cloudflared-config.mjs # Access-domain selection from cloudflared ingress
│
├── static/ # ── Frontend assets ──
│ ├── chat.js # Backward-compatible loader for split chat frontend assets
│ ├── chat/ # Chat frontend split by concern (bootstrap / data / realtime / UI)
│ ├── marked.min.js # Markdown renderer
│ ├── sw.js # Service Worker (PWA)
│ └── manifest.json # PWA metadata
│
├── templates/ # ── HTML templates ──
│ ├── chat.html # Chat UI shell (primary, also reused for shared snapshots)
│ ├── login.html # Login page (194 lines)
│
├── docs/ # User-facing documentation
├── notes/ # Internal design & product thinking
├── tests/ # Scenario-style validation scripts
└── memory/system.md # System-level memory (shared, in repo)Data Storage
By default, runtime data lives in ~/.config/remotelab/.
Additional instances can override this with REMOTELAB_INSTANCE_ROOT, REMOTELAB_CONFIG_DIR, and REMOTELAB_MEMORY_DIR.
| File | Content |
auth.json | People, credentials, external identities, and connector service token |
auth-sessions.json | Authenticated browser sessions mapped to People |
chat-sessions.json | All session metadata |
chat-history/ | Per-session event store (meta.json, context.json, events/*.json, bodies/*.txt) |
public-pages/ | Instance-local static publications served under /public-pages/; never generated inside the Git checkout |
API Endpoints (chat-server)
Auth
| Method | Path | Purpose |
| GET | /login | Login page |
| POST | /login | Authenticate (token or password) |
| GET | /logout | Clear session |
| GET | /api/auth/me | Current authenticated Person and identity |
Sessions
| Method | Path | Purpose |
| GET | /api/sessions | List all sessions (active + archived) |
| POST | /api/sessions | Create new session |
| PATCH | /api/sessions/{id} | Update session metadata (name, archived) |
People and sign-in
| Method | Path | Purpose |
| GET / POST | /api/admin/session-administrators | Personal administrator cookie + fresh password for role changes; no bearer/service delegation |
| GET | /api/people | List People, identities, and credential metadata |
| POST | /api/people | Create a Person |
| PATCH | /api/people/{id} | Rename or update a Person |
| POST | /api/people/{id}/credentials | Add a token or password credential |
| DELETE | /api/people/{id}/credentials/{credentialId} | Remove a credential |
| POST | /api/people/{id}/identities | Repair an exceptional external-identity match manually |
| POST | /api/people/reconcile-external-identity | Connector-service-only automatic identity reconciliation |
Tools & Models
| Method | Path | Purpose |
| GET | /api/tools | Available AI tools |
| GET | /api/models | Models per tool |
Other
| Method | Path | Purpose |
| GET | /api/browse?path= | Browse directories |
| GET | /api/autocomplete?q= | Path autocomplete |
| GET | /api/push/vapid-public-key | Web push public key |
| POST | /api/push/subscribe | Register push subscription |
| WebSocket | /ws | Invalidation-only hints |
Key Product Concepts
Instances
Deployment and data-isolation boundary. One host may run several guest instances; each instance owns separate config, memory, workspace, auth, Connectors, and runtime permissions. Multiple authenticated People can collaborate inside one instance.
Sessions
The one durable product object for a work thread. Persisted across disconnects. Resume IDs (claudeSessionId, codexThreadId) stored in metadata so AI context survives server restarts. Session title, transcript, runtime, workflow state and lifecycle require creator or administrator access. See docs/session-access.md.
People and identities
A Person is a human-facing profile with one readable handle. Person profiles exist independently from sign-in credentials, so creating a Person does not need to issue a token or password. The handle is the Web username and the automatic connector-binding key. Feishu identities retain the route-scoped sender ID (preferring openId) as the durable provider identity, while established server-side identity mappings determine the Person; new subjects are not linked by display name or handle. Newly discovered people receive stable pinyin-style handles with a short collision suffix. The recorded creator identity grants Session access to that Person; administratorPersonIds grants global human access.
Per-Person Session views
Every Person may organize the same shared Sessions differently. space, group, and sidebarOrder live under session.personViews[personId] and are projected for the requesting Person. Automatic sorting/classification updates only the Person whose turn triggered it. Shared fields remain global.
Session State Classification
At the start of each normal input, the same metadata module generates only title and description in parallel with execution. Input labels never set workflow state, organization or work summary, and a delayed input result cannot overwrite the completed turn. After each completed normal turn, session-state-classifier.mjs makes one non-blocking classification call on the dedicated low-cost Codex gpt-6-luna / high route (intentionally independent of foreground model defaults; chat-model upgrades must not increase routine metadata costs). It refreshes shared title, hidden description, workflow state, and provider-neutral work summary, plus the triggering Person's space and group view. The sidebar renders Space as a context switcher above Project groups; Loose is reserved for temporary or ambiguous work. The classifier organizes Sessions but does not review, continue, or route the Harness answer.
Memory System (Pointer-First)
Post-turn memory writeback review uses an independent gpt-6-sol / low selection for Codex and openai-codex/gpt-6-sol / low for Pi. Foreground defaults and the Luna Session-state classifier are separate policies; changing them must not change memory-review cost.
- Storage tiers still matter:
- System-level (
memory/system.mdin repo): universal learnings shared across deployments - User-level (
~/.remotelab/memory/): machine-specific knowledge, private
- System-level (
- Activation layers matter just as much:
bootstrap.md: tiny startup indexprojects.md: project pointer catalogtasks/and deeper docs: load only after task scope is clear
- Goal: large total memory on disk, small relevant context in-session
- Personal forms of address, writing style and collaboration preferences belong
in
reference/people/<personId>.mdunder the instance memory directory. Shared AGENTS files hold common operating rules and routing pointers, never an employee's preferences. The current request's verified Person/identity selects the pointer; Session creators and machine usernames are not author evidence.
Security
- Token: 256-bit random hex, timing-safe comparison
- Password: scrypt-hashed alternative
- Cookies: HttpOnly + Secure + SameSite=Lax, 30-day expiry
- Rate limiting: Exponential backoff on login failures (max 15min)
- Network: Services listen on 127.0.0.1 only; external access via Cloudflare Tunnel
- CSP: Nonce-based script allowlist
- Input validation: Tool commands reject shell metacharacters
Hard Constraints (Non-Negotiable)
- Single shipped chat plane — keep the shipped architecture centered on the primary
7690chat-server unless a new operator surface is explicitly reintroduced - No external frameworks — Node.js built-ins +
wsonly - Restart-safe recovery — prefer durable restart/reload recovery over maintaining a permanent second chat plane
- Vanilla JS frontend — no build tools, no framework
- Every change = new commit — never use
--amend, only new commits - Session ownership — ordinary People access only Sessions they created; administrators access all Sessions. Enforce
chat/session-access.mjsat browser/API/stream/attachment boundaries, preserve service authentication, and do not infer ownership from names or last speakers. - Session-only product model — do not reintroduce interactive Agent/template or Visitor role objects;
ShareSnapshotremains the only unauthenticated read-only publication - Conversation-driven first — new features prefer conversation/Skill over dedicated UI
- ES Modules —
"type": "module", all.mjsfiles - Template style —
{{PLACEHOLDER}}substitution, nonce-injected scripts - Zero sync I/O — No
readFileSync,statSync,existsSync,readdirSync,writeFileSync,execFileSync,spawnSync, or any other synchronous fs/child_process call in shipped code. Usefs/promisesandchild_process.execFile(with promise wrapper) exclusively. If converting sync to async would break something, that means the sync code was hiding a real ordering/concurrency problem — fix the root cause, don't keep the sync crutch. Exceptions: test files (tests/), and the built-innode:sqlitesynchronous API confined tolib/sqlite-state-worker.mjs; its caller API must remain asynchronous. This storage-worker exception does not permit synchronous fs/child_process calls. - Hermetic test state — never run a state-backed test directly inside a live instance unless it uses
tests/isolate-test-environment.mjs; prefernode scripts/run-with-clean-instance-env.mjs node tests/<file>.mjsfor targeted runs. Tests must never inherit a liveREMOTELAB_INSTANCE_ROOT, config directory, memory directory, or provider home. - Main-only source control —
origin/mainis the only durable development and standard-fleet release branch. Before starting a change, fetch remote state and fast-forward or reconcile the localmain; never force-push over work from another machine. Commit and push each coherent durable change tomainpromptly instead of accumulating long-lived feature branches or worktrees. Validate the affected behavior locally, then push directly; GitHub Actions CI and CI repair automation are retired. Do not create integration branches to wait for CI. Preserve and reconcile uncommitted or unreviewed work before cleanup. A rollout is complete only when active standard instances report the sameorigin/maincommit; product forks such as MigLab stay explicitly separate. - State, input and incident principles — before changing persistent state, connector input processing, resource limits, monitoring alerts, or fixing an incident, read
docs/engineering-principles.md. Keyed state must not load a whole file per lookup, read failures never become empty state, every input has a persisted attempt limit, and fixes land in the owning layer as replacements rather than caller-side patches.
Standard instances on a host use one mainline source checkout; do not keep a per-user source copy after its changes are merged. Validate every active standard instance against the same clean service commit after deployment. Preserve inactive instances during fleet restarts and keep intentional product forks on their separate deployment lifecycle. See notes/current/self-hosting-dev-restarts.md.
Current Priorities
Current operating rule: prefer product slices that help non-expert users — especially time-valuable middle managers / owner-operators who both delegate work and still personally absorb repetitive digital admin chores — hand off repetitive digital work quickly from phone or desktop and see clear value fast. Treat multi-session orchestration, richer project structure, and broader workflow distribution as enabling layers unless they directly improve that mainstream automation path.
Done (recent)
- Multi-person identity with token/password sign-in and connector identity attribution
- Per-Person Session filtering and independent Space/Group/sidebar-order views
- Retire interactive Agent templates and Visitor roles; retain immutable ShareSnapshot publication
- Resume ID persistence (survives server restarts)
- Web push notifications
- Mobile capture + desktop execution handoff baseline
- Session-only shared workbench baseline
- Baseline multi-session fan-out with bounded cross-session context carry
- Remove voice-input UI/backend and the leftover hidden transcript-cleanup send path
- Contract the semantic manager layer: remove pre-turn dispatch, reply self-check/repair, separate task/workflow classifiers, global Project organizer, and delegation reuse heuristics; keep one Session-state classifier plus cross-Harness memory/continuity
- Contract prompt projection to RemoteLab-only facts and capabilities; remove the global behavior constitution, repeated manager reminder, shared startup defaults, and default Codex developer-instruction overlay
P1 — Next Up
- Guided intake / problem discovery — help users describe messy repetitive work, attach examples, and converge on a concrete automation brief without assuming expert prompting
- Fast repetitive-work automation loops — optimize for data cleanup, report generation, export/import, file processing, notifications, and other simple scriptable chores that can save hours per week quickly
- State-first, decision-first output shaping — default summaries should tell non-expert users what changed, whether input is needed now, and what outcome to expect next
- Guided Welcome Session — on first launch, explain capabilities in plain language, ask about the Person's background, repetitive-work pain point, current workflow, and sample inputs, then route them into one concrete first automation Session instead of an empty session list
- Keep runtime/tool wiring pragmatic and local-first — only generalize the current tool abstraction when a concrete local-runtime need appears; do not reintroduce third-party domain-provider or cloud skill distribution paths by default
- Produce a precise file-level concept→implementation guide so future sessions can route directly to the right files with less repo spelunking →
docs/implementation-recipes.md
P2 — Future
- Context carry/cache confirmation — validate and tune compaction, prepared fork context, summary/refs reuse, and any cross-session handoff packet so continued or spawned work stays fast and bounded
- Universal control inbox / dispatcher session — a high-trust intake surface that can later orchestrate several focused sessions when useful, without becoming one giant work thread
- Deferred triggers (AI-initiated actions, scheduled follow-ups)
- Evolve the Welcome Session into the right long-term intake surface — once the first-run flow proves valuable, decide whether it should stay a dismissible starter, become a persistent control inbox, or merge with the universal dispatcher Session
- Queued follow-up composer buffer — while a session is still streaming a reply, let the user stage another message in a buffer and auto-submit it as a fresh turn immediately after the active response finishes; external connectors like Feishu should share the same staged-turn contract and later define an interrupt/replace policy
- Session fork follow-ups — extend the shipped hard-clone head-fork with optional
Fork from here, lightweight lineage navigation, and exact historical fork support when compaction-safe snapshots exist - Broaden theming beyond system light/dark — keep v1 system-driven, then add optional explicit theme selection and more color palettes, preferably reusing VS Code-style open theme configs/tokens where that fits cleanly
- Post-LLM output processing (layered output: decision / summary / details)
- Revisit product naming/brand and possible repo rename after the product philosophy is more mature; treat this as intentionally deferred while the product itself is still taking shape
Reference Docs (for deep dives)
| Doc | Path | When to read |
| Documentation Map | docs/README.md | Repo doc taxonomy: what lives in docs/ vs notes/ |
| Inline Flow Display | docs/inline-flow-display.md | Accepted message-native preview/expand strategy, authoring choices, relationship preservation and renderer limits |
| Notes Map | notes/README.md | Note taxonomy: current vs directional vs archive vs local |
| Engineering Principles | docs/engineering-principles.md | Accepted rules and design plan for state storage, read failures, input retry limits, retention, memory limits, incident alerts and fix scope |
| Session Access | docs/session-access.md | Creator/admin policy, historical ownership, connectors, testing and recovery |
| Project Architecture | docs/project-architecture.md | Top-down map of the shipped system, code locations, runtime flows, and current-vs-direction split |
| Implementation Recipes | docs/implementation-recipes.md | Step-by-step guides for common modifications: add API endpoint, add runtime adapter, modify sidebar; includes key function signatures |
| Product Mainline + Feedback Loop | notes/current/product-mainline.md | Current operating plan for prioritization, user feedback, and mainstream automation framing |
| Session Main Flow + Context Freshness Next Push | notes/current/session-main-flow-next-push.md | Concrete execution pack for the current session-first main flow, context carry, and multi-session fan-out slice |
| Session-First Workflow Surfaces | notes/current/session-first-workflow-surfaces.md | Current workflow-organization contract for session list, grouping, and any future derived workflow projections |
| Thin Control Plane Architecture | notes/current/thin-control-plane-architecture.md | Current Harness boundary: direct execution, one Session-state classifier, shared cross-Harness memory, and benchmark gate for future semantic orchestration |
| Retired Model Autonomy Loop | notes/current/model-autonomy-control-loop.md | Retirement pointer to the former reply self-check / turn-close supervisor design |
| Core Domain Contract | notes/current/core-domain-contract.md | Current domain/refactor baseline when deciding which product objects are canonical |
| Product Surface Lifecycle | notes/current/product-surface-lifecycle.md | Current rule for keep/iterate/retire decisions on shipped feature surfaces |
| External Message Protocol | docs/external-message-protocol.md | Canonical connector contract for email/GitHub/bot integrations using sessions, messages, runs, and events |
| Core Philosophy | notes/directional/core-philosophy.md | Historical philosophy note; use it for framing, not as the current implementation checklist |
| Provider Architecture | notes/directional/provider-architecture.md | Open provider/model abstraction, local JS/JSON extension path, migration plan |
| Product Vision | notes/directional/product-vision.md | Product rationale and open questions; not the canonical shipped-status tracker |
| Super-Individual Workbench | notes/directional/super-individual-workbench.md | Historical memo from the earlier super-individual framing; still useful background on control-plane boundaries, but not the current target-user statement |
| AI-Driven Interaction | notes/directional/ai-driven-interaction.md | Deferred triggers design, session metadata schema, future phases |
| Autonomous Execution | notes/directional/autonomous-execution.md | P2 background execution vision |
| Message Transport Architecture | notes/message-transport-architecture.md | Historical transport/runtime rationale after the HTTP-first architecture landed |
| Memory Activation Architecture | notes/current/memory-activation-architecture.md | Pointer-first memory loading, routing layers, pruning rules |
| Memory and Organization Guide | docs/memory-architecture/README.md | Human/Agent reference and interactive diagrams; actual read/write flow, opt-in project pointers and review enhancement, and remaining governance work |
| Setup Guide | docs/setup.md | Installation, service setup (LaunchAgent/systemd) |
| System Memory | memory/system.md | Cross-deployment learnings (context continuity, testing strategy) |
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.

