Skip to content

Prototype parser-first PowerShell statuses - #22

Open
Noisemaker111 wants to merge 4 commits into
agentsfrom
feature/parser-first-prototype-20260920
Open

Noisemaker111 wants to merge 4 commits into
agentsfrom
feature/parser-first-prototype-20260920

Conversation

@Noisemaker111

@Noisemaker111 Noisemaker111 commented Sep 21, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • adds a persistent CPU-only PowerShell AST backend and parser-first benchmark
  • resolves a Bun test target against the supplied working directory and uses its unique declared test name as grounded purpose
  • keeps service caching working-directory-sensitive and preserves parser source identity
  • adds a development-only linguistic training loop: simulate mapped-action combinations, request proposals from an explicitly selected provider route and model, then apply only human-accepted overrides
  • invalidates the earlier 86.7% usefulness audit because filename/executable restatements were incorrectly counted as useful

Exact observed operation

bun test --timeout 90000 test/codex-quest-dev-installer.test.ts

with cwd C:\Users\Jk101\Projects\JonsOCsetup returns:

Running a Bun test with a 90-second timeout to verify that every development install advances, seals and adds a new cache version without removing the old one.

The evidence is the test declaration inside the resolved file, not an LLM guess or filename rewrite.

Verification

  • 41 live-status tests passed
  • 5 command-model binding tests passed
  • 5 command-model contract tests passed
  • compileall passed for live-status and required repository paths
  • real HTTP boundary returned parser output, then the same cwd-sensitive cached output
  • 120-row frozen syntax benchmark: 97.5% AST parse success, 84.2% fully mapped, 13.3% literal fallback, 2.5% abstention, 100% validator pass, 2.75 ms p50
  • the frozen sample has no cwd, so it does not measure purpose-resolution usefulness

No LLM, GPU, OpenCode Go, OpenRouter, or Claude call was made for this verification.

Real command-cell probe

The parser was also exercised against commands actually used in this session. It now preserves Python test discovery paths and verbosity, compile targets, GitHub Actions run/interval, Git staged filenames, commit message, push remote/branch, file basename, and text-search pattern. Bash remains explicitly unsupported by this PowerShell prototype.

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