Forbid em dashes everywhere; add AGENTS.md with repo rules
This commit is contained in:
@@ -34,7 +34,7 @@ server is the trust model); there are no keys to manage.
|
||||
`#*#`, `*~`, `4913`), SQLite journals as standalone files.
|
||||
- SQLite rule: backup-API snapshot + `integrity_check`; locked/corrupt →
|
||||
loud skip (`database-locked`, `database-corrupt`), never a stored version.
|
||||
- Databases >~100MB or hot 7GB-class files: do NOT raise caps blindly —
|
||||
- Databases >~100MB or hot 7GB-class files: do NOT raise caps blindly -
|
||||
each version is a full copy until chunked blobs exist. Prefer dumps.
|
||||
|
||||
## Retention, GC, scheduler (MUST understand before running)
|
||||
@@ -56,18 +56,18 @@ server is the trust model); there are no keys to manage.
|
||||
## Disaster recovery (total local loss), in order
|
||||
|
||||
1. Reinstall, `POST /config/remote/adopt {url, username, password,
|
||||
directory}` — takes over the old remote directory.
|
||||
2. `POST /admin/reindex` (202 + poll `GET /admin/reindex/{id}`) — rebuilds
|
||||
directory}` - takes over the old remote directory.
|
||||
2. `POST /admin/reindex` (202 + poll `GET /admin/reindex/{id}`) - rebuilds
|
||||
the index from manifests; everything returns `durable`.
|
||||
3. Restore (single/bulk/point-in-time). Blobs stream from WebDAV on demand.
|
||||
SQLite restores are integrity-checked; failures refuse with `unrestorable`.
|
||||
|
||||
## Destructive actions (double-check, dry-run first)
|
||||
|
||||
- `POST /admin/purge-remote {"today": "dd-mm-yyyy"}` — wipes this
|
||||
- `POST /admin/purge-remote {"today": "dd-mm-yyyy"}` - wipes this
|
||||
installation's remote `blobs/`+`manifests/` async (202 + counts, poll
|
||||
status). Only the claimed directory is ever touched. No local files harmed.
|
||||
- `POST /forget {"path", "dry_run"}` — deletes local history under a path.
|
||||
- `POST /forget {"path", "dry_run"}` - deletes local history under a path.
|
||||
- Restores: always dry-run (`POST /restores` → plan), then
|
||||
`POST /restores/{id}/execute`. Pre-restore snapshots make every restore
|
||||
undoable. Targets must resolve inside `$HOME`/roots; symlinks refused.
|
||||
|
||||
Reference in New Issue
Block a user