# ferrite-chronicle-sync

> Ferrite Chronicle Sync keeps a directory inside a Linux sandbox equal to a workspace stored on Ferrite, in both directions, so files outlive the sandbox. Use it to give an agent a working directory that a later sandbox can restore in full. The public operations describe the protocol, its limits, its path rules and the workspace API; workspaces themselves need a signed-in session, and a sandbox connects with a one-use credential.

Agent-native Ferrite app (igentai v0.2.0). Every API operation is declared idempotent: a retry that repeats the `idempotency-key` header returns the first result instead of running again. Errors are RFC 9457 `application/problem+json`. Content routes serve markdown via `Accept: text/markdown` or a `.md` path twin. Responses carry IETF `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset`, and `Retry-After` headers; API changes signal `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) headers with at least 90 days notice.

## Pages

- [Ferrite Chronicle Sync](https://chronicle-sync.ferrite.run/): How a sandbox directory and a stored workspace stay equal, and what happens when two writers meet
- [Ferrite Chronicle Sync for developers](https://chronicle-sync.ferrite.run/developers): Quickstart, authentication, endpoint reference, sandbox, rate limits, errors and versioning
- [Ferrite Chronicle Sync sandbox](https://chronicle-sync.ferrite.run/sandbox): Where to try calls safely
- [About Ferrite Chronicle Sync](https://chronicle-sync.ferrite.run/about): What it is, who runs it and how it is built
- [Contact Ferrite Chronicle Sync](https://chronicle-sync.ferrite.run/contact): How to reach the people who run it
- [Ferrite Chronicle Sync privacy](https://chronicle-sync.ferrite.run/privacy): What is stored, for how long, and who can read it

## When to use

Use ferrite-chronicle-sync (https://chronicle-sync.ferrite.run) when you need its declared pages, structured HTTP API, or MCP tools: Ferrite Chronicle Sync keeps a directory inside a Linux sandbox equal to a workspace stored on Ferrite, in both directions, so files outlive the sandbox. Use it to give an agent a working directory that a later sandbox can restore in full. The public operations describe the protocol, its limits, its path rules and the workspace API; workspaces themselves need a signed-in session, and a sandbox connects with a one-use credential.

- [Agentic Resource Discovery (ARD)](https://chronicle-sync.ferrite.run/.well-known/ard.json): unified catalog of MCP, OpenAPI, A2A, and skills
- [Agent Skills index](https://chronicle-sync.ferrite.run/.well-known/agent-skills/index.json): installable skills and usage instructions

## API

- [OpenAPI catalog](https://chronicle-sync.ferrite.run/.well-known/api-catalog): every operation with schemas, pagination, rate limits, and deprecation headers
- [MCP endpoint](https://chronicle-sync.ferrite.run/mcp): the same operations as callable tools (Streamable HTTP, stateless)
- [WebMCP browser tools](https://chronicle-sync.ferrite.run/.well-known/webmcp.js): same-origin `document.modelContext` registrations for browser agents
- [Agent card](https://chronicle-sync.ferrite.run/.well-known/agent-card.json): identity, skills, and interfaces (A2A)
- get_service `GET /api/service`: Read what this service is and whether its storage answers now. Use it as a health check, or first to learn where the workspace API and the synchronization connections are. Returns the version, the protocol version, the storage state and the entry points.
- get_limits `GET /api/limits`: Read the limits on files, requests, changes and connections. Use it before moving a large file or a large tree, to decide between one request and several. Returns sizes in bytes, times in milliseconds and counts, for the workspace API and for the protocol.
- get_protocol `GET /api/protocol`: Read the synchronization protocol message by message. Use it when you are writing or debugging a client, or want to know what a frame's kind number means. Returns the frame header length, the two connections, and the number, sender and purpose of every message.
- list_workspace_operations `GET /api/operations`: List the operations of the workspace API, which needs a signed-in session. Use it to plan work with a workspace before signing in: creating one, reading and writing files, or connecting a sandbox. Returns the method, path and purpose of each operation.
- check_path `GET /api/paths/check`: Check whether a path may be stored in a workspace. Use it before writing a generated or imported file name; it applies the same rule as the service and the sandbox daemon, and reads no workspace. Returns valid, and the reason when the path is refused.

