Skip to content

Feature: per-project config for query defaults (budget, depth) #1654

Description

@Ns2384-star

Version: graphifyy 0.9.5.

Problem

Two hard-coded defaults that a project can't tune:

  • Query budget defaults to 2000 (__main__.py:2854). On our corpus, 71% of 289 real logged queries needed --budget 4000 because the default truncates before the specialized nodes appear. Every agent invocation has to remember the flag.
  • depth=2 is hard-coded in the CLI even though _query_graph_text accepts the parameter.

Proposal

A per-project graphify-out/config.json (or a section in the manifest) with default_budget, default_depth (room for future defaults), read by the CLI. CLI flags still override.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions