Skip to content

Bug: trust_profile: balanced in pack.yaml silently overrides render.allow_query_shell: true in config.yaml #129

@tcconnally

Description

@tcconnally

When pack.yaml sets trust_profile: balanced, the @query directive is disabled even if trust.allow_query_shell: true is set in config.yaml and even if perseus trust profile reports allow_query_shell: True. The render silently outputs > ⚠ @query is disabled by config (render.allow_query_shell=false) with no indication that a pack.yaml trust_profile is the cause.

Steps to reproduce:

  1. Set trust.allow_query_shell: true in ~/.perseus/config.yaml
  2. Set trust_profile: balanced in a workspace pack.yaml
  3. Run perseus trust profile → shows allow_query_shell: True
  4. Run perseus render@query is still disabled

Expected

Either trust profile output reflects the pack.yaml override, or the render error message identifies which config file is disabling the feature.

Actual

trust profile shows True but render disables @query silently.

Fix

The effective permission for render.allow_query_shell must be explicitly set in the render: block of config.yaml (not just trust: block). This is a documentation gap AND a confusing dual-namespace issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions