No browser shell
There is no eval, spawn or network call. The virtual shell implements a fixed command set over IndexedDB files.
A local files-and-execution environment with a bounded virtual shell, explicit approvals and a tamper-evident audit chain. Guest-owned, offline-capable, and never a backdoor to your machine.
Giving a browser a real shell is a security mistake. Giving it an opaque “do the thing” button is a trust mistake. CoreBase takes a third path: a deliberately small virtual workspace where each action is scoped, approved and recorded.
There is no eval, spawn or network call. The virtual shell implements a fixed command set over IndexedDB files.
Authority is granted per scope, target and expiry. Revocation is immediate and itself audited.
Every lifecycle stage is appended to a canonical hash chain. If a link breaks, the UI says so.
Files, commands, approvals and history in one local environment.
Create projects and files in local IndexedDB. Edit with CodeMirror, track dirty state, save with intent.
Exactly twelve bounded commands — navigation, inspection and in-memory file operations. Unknown commands fail helpfully.
Requests name the adapter, capability, exact target, scopes and reason. Approve, deny or revoke later.
Canonical JSON entries link to the previous hash. Integrity is checked on load and never silently repaired.
Immutable, content-addressed snapshots of files plus the audit head. Restore a known-good state from Settings.
A deterministic offline planner produces structured plans. The remote stub is explicitly disabled — no keys, no calls.
Each stage is recorded before the next begins. Verification checks both exit status and expected state.
The human goal is captured verbatim.
A bounded, structured plan is produced.
Required scopes are checked against grants.
A human sees the exact action and target.
The virtual adapter runs a bounded command.
Exit code and expected state must both match.
File changes are written locally and atomically.
Fingerprints and hashes close the chain.
A capability authored in CoreSkills arrives with a manifest, a content identity and explicit scopes. CoreBase treats that as an intent: it plans, asks for authority, executes inside the sandbox, verifies, and records provenance.
// Incoming capability manifest
{
"capability": "skill.privacy-review",
"identity": "sha256:8f2c…a91d",
"requested": ["workspace.files.read"]
}
// Outbound audit entry (canonical JSON, chained)
{
"stage": "verification",
"status": "passed",
"previousHash": "9d71…0af3",
"inputHash": "2bb4…cc10"
}
The essentials for using and extending CoreBase safely.
Open the app. A sample project is seeded on first run with files and a terminal session. Switch to the Terminal tab and type help to see the bounded command set. Actions that touch files ask for approval before they run.
Twelve commands, deliberately boring. Each has an explicit scope and a verifiable expected state.
| Group | Commands | Purpose |
|---|---|---|
| Navigate | pwd ls cd | Inspect the virtual tree. |
| Read | cat find stat | Inspect file contents and metadata. |
| Write | mkdir touch write rm | Change virtual files under approval. |
| Meta | help clear | Discover commands and reset the view. |
Decisions are default-deny. A grant is scoped, targeted and expiring; revocation writes an audit event so the history shows when authority ended.
{
"adapter": "virtual-shell",
"capability": "file.write",
"target": "notes/ideas.md",
"scopes": ["workspace.files.write"],
"reason": "Append summary from the planned edit",
"expiresAt": "2026-11-25T09:30:00Z"
}
Every entry is canonical JSON hashed with SHA-256 and linked to the previous hash. The chain starts at a genesis hash of sixty-four zeroes. Verification reports breaks; it never “fixes” them.
Projects, files, terminal sessions, grants, checkpoints and settings live in a local IndexedDB database. Checkpoints capture file bytes plus the audit head, so restoring also rewinds provenance to the recorded state.
Start with the execution lifecycle and trust model; the storage spec covers portability.
No. The shell is an in-browser adapter over IndexedDB with twelve bounded commands. There is no host shell, process spawn, network access or file-system bridge.
The plan is checked against scopes. Anything requiring authority opens an approval dialog showing the exact adapter, capability, target and reason. Deny it and nothing executes.
The Audit tab reports a chain break with the affected entry. CoreBase never rewrites history to hide it.
No. It is an explicit stub with no credentials and no API calls. The working planner is deterministic and offline.
Open CoreBase and inspect the audit trail of your very first command.