jeeves-meta-monorepo
    Preparing search index...

    Function listMetas

    • Discover, deduplicate, and enrich all metas.

      This is the single consolidated function that replaces all duplicated scan+dedup+enrich logic across the codebase. All enrichment comes from reading meta.json on disk (the canonical source).

      Parameters

      • config: {
            architectEvery: number;
            architectTimeout: number;
            builderTimeout: number;
            criticTimeout: number;
            defaultArchitect?: string;
            defaultCritic?: string;
            depthWeight: number;
            gatewayApiKey?: string;
            gatewayUrl: string;
            maxArchive: number;
            maxLines: number;
            metaArchiveProperty: Record<string, unknown>;
            metaProperty: Record<string, unknown>;
            skipUnchanged: boolean;
            thinking: string;
            watcherUrl: string;
        }

        Validated synthesis config.

        • architectEvery: number

          Run architect every N cycles (per meta).

        • architectTimeout: number

          Architect subprocess timeout in seconds.

        • builderTimeout: number

          Builder subprocess timeout in seconds.

        • criticTimeout: number

          Critic subprocess timeout in seconds.

        • OptionaldefaultArchitect?: string

          Resolved architect system prompt text. Falls back to built-in default.

        • OptionaldefaultCritic?: string

          Resolved critic system prompt text. Falls back to built-in default.

        • depthWeight: number

          Exponent for depth weighting in staleness formula.

        • OptionalgatewayApiKey?: string

          Optional API key for gateway authentication.

        • gatewayUrl: string

          OpenClaw gateway base URL for subprocess spawning.

        • maxArchive: number

          Maximum archive snapshots to retain per meta.

        • maxLines: number

          Maximum lines of context to include in subprocess prompts.

        • metaArchiveProperty: Record<string, unknown>

          Watcher metadata properties applied to archive snapshots.

        • metaProperty: Record<string, unknown>

          Watcher metadata properties applied to live .meta/meta.json files.

        • skipUnchanged: boolean

          Skip unchanged candidates, bump _generatedAt.

        • thinking: string

          Thinking level for spawned synthesis sessions.

        • watcherUrl: string

          Watcher service base URL.

      • watcher: WatcherClient

        Watcher HTTP client for discovery.

      Returns Promise<MetaListResult>

      Enriched meta list with summary statistics and ownership tree.