<img src="https://r2cdn.perplexity.ai/pplx-full-logo-primary-dark%402x.png" style="height:64px;margin-right:32px"/>

# i dont like hashes. use my dt format, for instance rn 20230919t1431waw (aviation tz instead of freaking misleading utc crap) it gives much better human data and works as good as hash for uniqueness, then chain that. need to write a mani about this as well.

just summarize all that needs done, ill work on it later.

yes: use your human-readable datetime identifier as the first event identity, then chain events. A hash does **not** magically solve identity, and for Flovur it would make the primary archive uglier and less inspectable.

Your example format—`20230919t1431waw`—carries actual local civil context: date, time, and an IATA-like location/timezone token, instead of pretending `Z` provides meaningful human truth. Keep it as the visible event ID; if collisions happen, extend precision or add an author-local sequence/short suffix. A chain supplies continuity and tamper evidence without making people live inside opaque digests.

## Flovur: what needs doing

### 1. Write the mani first

Freeze the philosophy before code:

- **Flow, not chat app:** Flovur replaces the useful surface of Telegram: messages, notes, posts, file references, and optional payment references all append into the same flow.
- **One universal envelope:** one canonical event shape; not necessarily one physical file.
- **AHOTML by default:** every event carries/appends human-readable AHOTML. No required rendering layer, app database, or framework.
- **Every identity owns a flow:** identities write their own append-only chains. A person can have many identities, publicly/private-link them, or remain anonymous.
- **Offline first:** write locally; synchronize later. Direct peer sync and user-chosen replicas both count.
- **No central authority:** no required phone number, account, central home server, global identity registry, or corporate operator.
- **Blobs stay separate:** files/media do not bloat event text. Events reference durable blob names/locations; replicas choose what bytes they retain.
- **Retractions, never deletion:** retraction instructs cooperating clients, search indexes, and replicas to stop presenting/serving/retaining content. It cannot un-leak already copied data.
- **Retention stays local:** every peer chooses what it retains, mirrors, indexes, serves, or uproots; default policy follows Achoz/Uproot principles.
- **Taler stays optional:** references, invoices, receipts, or payment requests can flow through Flovur. Flovur does not become a bank, settlement authority, or secret wallet vault.
- **Views derive from flow:** chat, feed, notebook, agent log, public AHOTML site, and search each read the same events rather than duplicating data models.


## 2. Define the event grammar

Do not start with JSON or CBOR. Use a plain deterministic text header plus AHOTML body.

```text
flovur 1
id 20230919t1431waw-acauema-0042
author acauema
key zlk:...
prev 20230919t1428waw-acauema-0041
parents 20230919t1427waw-other-0018
kind message
visibility circle:...
retention default
blobs 20230919t1429waw-acauema-photo.jpg
signature zlk:...

<ahotml>
hey. this is one event.

+ it renders as chat, note, feed, or public page depending on the view.
</ahotml>
```

Keep the header deliberately boring:

- UTF-8 text.
- LF line endings for signing and transport.
- fixed field order.
- one key/value per line.
- reserved keys specified once.
- optional fields omitted rather than blank.
- body begins after exactly one blank line.
- the signature covers all header lines except the `signature` line plus the exact AHOTML bytes.
- any parser must preserve unknown fields, even if it does not understand them.

Use the `id` as a **human locator**, not as mystical universal truth.

## 3. Specify IDs and chaining

Write the datetime mani alongside Flovur’s event spec.

For IDs:

```text
20260919t1427waw-acauema-0042
```

Suggested meaning:


| part | meaning |
| :-- | :-- |
| `20260919` | local calendar date |
| `t1427` | local wall-clock time |
| `waw` | human meaningful timezone/location code |
| `acauema` | identity-local readable label |
| `0042` | monotonic author-local sequence, collision escape, and simple ordering |

Rules:

- Date/time stays contextual/human; never pretend it establishes global causal order.
- `waw` identifies the zone/context required to interpret wall time; define its registry/rule in the mani.
- Sequence stays monotonically increasing **per identity-flow**.
- A device should reserve/allocate sequence safely when offline, or use a device segment if one identity signs from multiple devices.
- If two devices can independently append under the same identity key, define a device ID or lease/range now; otherwise you will manufacture collisions.
- `prev` points to the previous event in that author identity’s chain.
- `parents` optionally cite observed events from other flows; that records causal knowledge without requiring a universal timeline.
- Never use ID lexicographic order as the sole “what happened first” truth across people. Views may sort by displayed time, while causality comes from chains and parents.

No hashes need appear in ordinary event identity. A signature plus predecessor chain makes unauthorized rewriting evident, assuming the verifier has the prior chain.

## 4. Separate three concepts

Write these terms without blending them:


| concept | Flovur meaning |
| :-- | :-- |
| person | optional social reality; can claim/control many identities or none |
| identity | a named or anonymous public persona with one or more authorised keys |
| key/device | cryptographic capability; can sign, decrypt, authorize another device, or be revoked |

Required identity events:

- `identity-create`
- `device-authorize`
- `device-revoke`
- `identity-link` — private, circle, or public association between identities
- `identity-successor` — old identity points to a new one
- `recovery-policy` — describes recovery/fallback without publishing secret material

Recovery routes can include QR authorization, encrypted backup import, shared recovery material, a new identity, or no recovery at all. No phone number required.

## 5. Define retention and retraction

Add a small policy vocabulary, not endless cleverness:

```text
retention keep
retention default
retention local
retention until:20260930t0000waw
retention uproot
```

Then define retraction as an event:

```text
kind retract
target 20260919t1427waw-acauema-0042
scope display,index,serve,replicate
reason accidental-share
```

Rules:

- Original author or explicitly delegated capability may retract.
- A retraction never proves a target vanished elsewhere.
- Cooperating clients hide it by default.
- Cooperating replicas stop offering it according to local policy.
- Achoz removes it from default search results.
- Users/peers may retain historic evidence if their own policy allows it.
- Secret leakage remains a credential-rotation problem, not a deletion problem.


## 6. Define blobs minimally

A blob should not sit inline inside event flows.

Start with:

```text
blob 20260919t1429waw-acauema-photo.jpg
mime image/jpeg
bytes 2849012
availability local,peer:friend,replica:zume
```

Define:

- Event text carries a blob reference and descriptive metadata.
- Actual bytes live in one or more local/peer/replica stores.
- Clients can subscribe to metadata only, thumbnails only, or full bytes.
- Mobile peers set size quotas and require approval above a threshold.
- Private blob encryption belongs at the blob/envelope capability layer.
- Do not require globally content-addressed hashes in v0 if you dislike them; a signed event reference plus replicated bytes can work.
- Later, add an optional integrity digest where practical. That should be a machine check, not the human identity.


## 7. Build only v0

Do not build a global social network.

Build:

1. Local Flovur directory containing plain event files and blob directories.
2. One local identity/key, one author chain.
3. Append a message/note/retraction/file-reference event.
4. Verify signatures and `prev` chain.
5. A raw AHOTML reader/editor that works offline.
6. Export/read without the Flovur client.
7. Manual peer sync: copy/import a directory, QR/bootstrap invitation, or chosen VPS replica.
8. Duplicate-safe import based on event ID + valid signature + chain position.
9. Local Achoz indexing and default retraction handling.
10. One basic chat-ish chronological view and one raw-flow view.

Delay:

- automatic peer discovery;
- background Android mesh magic;
- global relays;
- group encryption wizardry;
- multi-device concurrent signing under one identity;
- Taler execution;
- public federation;
- social recommendations;
- perfectly realtime anything.


## 8. Amend the public page

Replace these claims:

- “one logfile” → “one flow format; each identity keeps its own append-only flow.”
- “sync it peer-to-peer” → “sync directly with peers or through replicas you choose.”
- “no conflicts” → “no silent overwrites; concurrent events remain visible.”
- “nothing between you…” → “no mandatory phone identity, central server, or platform account.”
- “pay with taler” → “optionally attach Taler payment requests and receipts.”

Add one blunt truth:

> Flovur cannot make copied data disappear. Retractions help willing peers, replicas, and search tools stop showing or carrying it; leaked credentials still need rotation.

## 9. Open decisions for later

- Exact `waw`/aviation-zone registry and what happens while travelling.
- How multi-device author sequencing avoids collisions.
- Which cryptographic primitive ZLK actually exposes for signatures and encryption.
- Group membership and group key rotation.
- Visibility/capability syntax.
- Blob replication discovery and integrity checks.
- A portable export/bundle format.
- How public AHOTML flows map onto Nostr, if you later want Nostr discovery/export.
- Whether public IDs disclose too much timing/location, and whether identities need an intentionally vague/detached time-context option.

~perplix

