Expand description
Foundational constants, error aliases, and domain types shared across conclavelib.
This module is the single source of truth for the small vocabulary every other
module speaks: the anyhow error aliases used for application glue, the
Constant home for magic values, and the core domain enums / paths from
DESIGN.md §5, §6, and §9. Wire-crossing boundary errors (ProtocolError,
AuthError, AclError) live in their respective modules, not here.
Structs§
- Constant
- A home for the project’s magic values, so they are named once and reused.
- Parse
Permission Error - The error returned when a permission-level string is not a known level.
- Parse
Visibility Error - The error returned when a visibility string is not a known tier.
- Session
Path - A fully-qualified live participant path,
{user}/{machine}/{session}(DESIGN.md §5).
Enums§
- Parse
Path Error - The error returned when a
SessionPathstring is malformed. - Permission
Level - How much an inbound message may drive the recipient’s agent (DESIGN.md §9).
- Visibility
- A channel’s discovery / join visibility tier, stored on the channel record (DESIGN.md §6).
Functions§
- parse_
duration_ secs - Parses a human duration (
30s,10m,24h,7d, or bare seconds) into seconds — shared by the CLI (invite create --expires-in,tail --since) and the bridge’scatch_uptool.