Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pm-stack/aggregator/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ export interface Config {
digestsDir: string;
/** Append-only notification state/send/suppression log (#3317). */
notificationsFile: string;
/** Versioned item-history JSONL (#3981) the forecast contract
* (#3984) derives from: one cutoff per line, read via
* ItemHistoryStore. */
itemHistoryFile: string;
/** The stewardship quota view; the hub's live fallback source when the
* fleet feed carries no saas/payg sections yet (hub §2.3). */
quotaViewFile: string;
Expand Down Expand Up @@ -185,6 +189,10 @@ export function loadConfig(env: Record<string, string | undefined> = process.env
join(homedir(), "workspace/goals/keep-the-four-repos-healthy/hidden_files/provider-quota-registry.md"),
),
quotaCurrentFile: s(env.PM_AGG_QUOTA_CURRENT_FILE, join(process.cwd(), "quota-current.json")),
itemHistoryFile: s(
env.PM_AGG_ITEM_HISTORY_FILE,
join(homedir(), ".local", "state", "pm-aggregator", "item-history.jsonl"),
),
coverageSnapshotFile: s(env.PM_AGG_COVERAGE_SNAPSHOT_FILE, join(process.cwd(), "coverage-snapshot.json")),
openchamberStateFile: s(
env.PM_AGG_OPENCHAMBER_STATE,
Expand Down
Loading
Loading