Skip to content

docs(parser): add focused repair pitfalls - #754

Open
ss-o wants to merge 1 commit into
mainfrom
docs/parser-gap-pitfalls
Open

ss-o wants to merge 1 commit into
mainfrom
docs/parser-gap-pitfalls

Conversation

@ss-o

@ss-o ss-o commented Nov 6, 2026

Copy link
Copy Markdown
Member

Summary

Refs #564.

Add a focused repair-pitfalls reference to parser-gap-fix while keeping its main file a short working order. The reference covers structural-oracle diagnosis, shared token readers, scoped parser options and read reports, adapter precedence, and verification-input boundaries.

The existing parser contract, isBareKeyPunctuation, nested-assignment parser helpers and verifier argument parser supplied the source checks. The current verifier already recognizes an omitted base before a .zsh consumer, so the guidance recommends an explicit base for reproducibility without claiming omission fails.

Instruction impact

  1. Classification: advisory repair guidance; the project contract retains authority.
  2. Consumers: project skill readers receive the reference with the existing skill.
  3. Owner: the project-local parser-gap-fix package owns these targeted troubleshooting checks.
  4. Duplication: the reference links to canonical native-oracle, fixture, rule and diagnostic contracts instead of replacing them.
  5. Routing: the skill name, description and selectors are unchanged; its body adds a branch-specific resource pointer.
  6. Mandatory rules: existing instructions and the project contract continue to deliver them independently of skill selection.
  7. Validation: skill metadata, local resource paths, anchors and changed-file formatting checks pass.

Verification

  • Trunk commit formatting and trunk check --no-fix --ci pass on both Markdown files.
  • Skill metadata validation and git diff --check pass.
  • All 13 local resource links and anchors resolve.
  • The verifier's --check-base controls pass with explicit and omitted bases on the current revision.
  • Scope is documentation only; parser, analyzer, fixture and mutation behavior remain unchanged.

Agent handoff

  • Status: Ready for review
  • Current state: The focused reference is linked from the existing skill and checked against current implementation names and contracts.
  • Blockers: Review and merge decision.
  • Next steps: Review the troubleshooting guidance against the project contract and resolve any findings before integration.
  • Related tracker/issues: Docs: bring AGENTS.md and the parser instruction surfaces in line with the tree #564 retains its broader acceptance criteria.

Link structural-oracle, scoped-reader and adapter-composition checks from the short parser repair procedure. Verify the current base-argument behavior instead of retaining a stale positional-argument recipe.

Refs: #564
@ss-o ss-o moved this to In Progress in Z-shell Delivery Nov 6, 2026

@ss-o ss-o left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review

Reviewed 43ba1e569a87007085b3bc2be420058770951a04 against 136df813e37d0ec48573929489b44c1841af57ee.

Note

This is a self-review, not an independent approval to merge.

No actionable findings.

  • Ownership and scope: the project contract retains authority; the short skill selects the new reference only for relevant repair mechanisms. Its description and metadata remain unchanged.
  • Factual checks: traced structural-oracle enforcement, printer field contracts, nested-parser option/read-report propagation, conditional raw fallback, adapter precedence, condition-operand controls and verifier argument parsing to their maintained sources and tests.
  • Resources: all 13 local links and anchors resolve; the package includes its new reference.
  • Verification: changed-file Trunk checks, skill metadata and diff checks pass. Explicit and omitted-base --check-base controls pass. The current head's hosted checks are green, including build/test, all corpus checks, organization routing, policy, Trunk and CodeQL.
  • Issue coverage: Refs #564 accurately preserves that issue's broader acceptance criteria.

The proposed guidance is ready for maintainer review. A future integration can be recovered by reverting its documentation commit.

Project triage

The PR is Docs, Low impact, XS effort and P3 - Low priority: a two-file troubleshooting reference with ordinary maintenance urgency. Human delivery reflects the documentation change. Status advances to In Review with this review; #564 retains its own broader work state.

@ss-o ss-o moved this from In Progress to In Review in Z-shell Delivery Nov 6, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

1 participant