Skip to content

fix(analyzer): complete bare JSON wrapper names - #1123

Merged
rng1995 merged 2 commits into
mainfrom
naren/fix-json-wrapper-completeness
Nov 14, 2026
Merged

rng1995 merged 2 commits into
mainfrom
naren/fix-json-wrapper-completeness

Conversation

@rng1995

@rng1995 rng1995 commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Complete JSON metadata such as {"name":"nice"} and {"keywords":["sudo"]} incorrectly produced static_parse_limit / command_word_boundary, leaving an otherwise clean security scan incomplete.

Carry validated JSON value boundaries into wrapper resolution and use them only after an empty first operand read at EOF. Real argv consumers, runtime-selected wrappers, consumed options, clipped inputs, and shell-fragment EOF checks retain their existing behavior.

Also correct the stale OMS Unicode fence test expectation to retain sh, matching the fence-language preservation introduced in #831. All existing finding, source-coordinate, ownership, and OMS-provenance assertions remain in place.

Validation:

  • All 62 added regression tests pass in the locked development environment; 291 focused JSON/wrapper/ownership tests also pass.
  • Repository-wide make lint and make format-check pass.
  • Downstream evaluator smoke tests pass for the minimal reproduction and LLM-enabled reproduction/control; each LLM run completed 3/3 semantic calls with no fallback.
  • The local broad run reached 3,697 passed / 1 skipped before two subprocess startup timeouts (test_cli_help_does_not_initialize_analyzers, 15s; test_long_quoted_arguments_finish_in_bounded_time, 60s). Both timeouts reproduce on unmodified main. The integration run reached 136 passed before a separate 60s CLI startup timeout.
  • The four CI failures in test_oms_decoded_window_keeps_unicode_fence_source_coordinates were reproduced locally before the expectation correction. After the correction, all 402 selected decoded-JSON, Markdown reconstruction, cross-window fence, and JSON-wrapper tests pass.
  • Updated PR CI is rerunning.

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
@rng1995
rng1995 marked this pull request as ready for review November 13, 2026 23:31
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
@rng1995
rng1995 merged commit c816150 into main Nov 14, 2026
6 checks passed
@rng1995
rng1995 deleted the naren/fix-json-wrapper-completeness branch November 14, 2026 04:49
@rng1995 rng1995 mentioned this pull request Nov 16, 2026
rng1995 added a commit that referenced this pull request Nov 16, 2026
* fix(analyzer): complete bare JSON wrapper names (#1123)

* fix(analyzer): complete bare JSON wrapper names

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

* test: retain fence language in OMS coordinate assertion

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

---------

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
(cherry picked from commit c816150)

* release: prepare SkillSpector v2.13.6

Backport #1123 onto the published v2.13.5 baseline. Document verified prior inclusion of #1087 and all 15 requested maintenance items.

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

* docs(dev): fix llm_analyzer_base source links

Both links in docs/DEVELOPMENT.md pointed at src/skillspector/nodes/llm_analyzer_base.py,
a path that never existed in history; the module lives at src/skillspector/llm_analyzer_base.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Anton Dziatkovskii <194927794+tonydzi@users.noreply.github.com>
(cherry picked from commit 1d09e80)
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

* docs(release): label minor v2.13.6 pickups

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

* docs(release): list only new v2.13.6 changes

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

* docs: backport remaining release guidance

Backport the unpublished documentation portions of #423, #685, and #816
and list those minor updates in the v2.13.6 notes.

Co-authored-by: Rod Boev <rod.boev@gmail.com>
Co-authored-by: Efe Gökdemir <gokdemirefe1903@gmail.com>
Co-authored-by: Mohit Gupta <mohgupta@nvidia.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

---------

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
Signed-off-by: Anton Dziatkovskii <194927794+tonydzi@users.noreply.github.com>
Co-authored-by: Anton Dziatkovskii <194927794+tonydzi@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Rod Boev <rod.boev@gmail.com>
Co-authored-by: Efe Gökdemir <gokdemirefe1903@gmail.com>
Co-authored-by: Mohit Gupta <mohgupta@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant