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:
- Set
trust.allow_query_shell: true in ~/.perseus/config.yaml
- Set
trust_profile: balanced in a workspace pack.yaml
- Run
perseus trust profile → shows allow_query_shell: True
- 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.
When
pack.yamlsetstrust_profile: balanced, the@querydirective is disabled even iftrust.allow_query_shell: trueis set inconfig.yamland even ifperseus trust profilereportsallow_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:
trust.allow_query_shell: truein~/.perseus/config.yamltrust_profile: balancedin a workspacepack.yamlperseus trust profile→ showsallow_query_shell: Trueperseus render→@queryis still disabledExpected
Either
trust profileoutput reflects the pack.yaml override, or the render error message identifies which config file is disabling the feature.Actual
trust profileshows True but render disables@querysilently.Fix
The effective permission for
render.allow_query_shellmust be explicitly set in therender:block of config.yaml (not justtrust:block). This is a documentation gap AND a confusing dual-namespace issue.