Skip to main content

Crate forgetop_core

Crate forgetop_core 

Source
Expand description

forgetop core: provider-neutral domain model, capability-scoped provider traits, config + bindings, secret store, and the runtime services.

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

cache
Stale-while-revalidate cache for fetched provider data.
config
Persisted configuration: connections + per-section bindings, and the config store. Note: config NEVER contains secrets — only a credential_ref key into the secret store.
diag
Lightweight, bounded file logging for diagnostics. Writes are best-effort: diagnostics must never turn a recoverable application error into a crash.
domain
Provider-neutral domain model (mirrors the .NET Forgetop.Core.Domain).
error
Core error type shared across the app.
filter
Client-side pull-request filtering (Mine / ReviewRequested) given the current user.
launchpad
Launchpad triage engine: classifies aggregated items into action buckets.
provider
Capability-scoped provider traits, connection descriptor, capabilities, queries, and the provider registry (mirrors Forgetop.Core.Providers).
repo
The two repository spellings, and the one sanctioned conversion between them.
secret
Secret storage for per-connection PATs. Config only stores a key reference; the actual token lives in the OS keychain (or a FORGETOP_PAT_* env var fallback). Secrets are never written to the config file or committed to source.
service
Runtime config service + resolver/section/health services.
setup
Connection setup schema — the fields each provider needs, and which sections it can feed.