Skip to content

Round 7 of use case-based fixes, operator result types, IDE harness cleanup, and isolated evaluators - #198

Merged
KubaO merged 12 commits into
twinbasic:mainfrom
KubaO:staging
Sep 24, 2026
Merged

KubaO merged 12 commits into
twinbasic:mainfrom
KubaO:staging

Conversation

@KubaO

@KubaO KubaO commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

Documentation

  • The Assert pages describe a failing assertion as the IDE actually reports it, and no longer mention a Test Explorer.
  • The operator pages gain result-type and promotion rules, and ten of them are corrected against the compiler.
  • Data Types compares Decimal with Currency for money, and says date literals are month-first whatever the regional format.
  • New troubleshooting sections cover keeping a project in Git, check_code_regions failures, and Nav-parent orphan detected.
  • The welcome page and the PDF book list the four foundation tutorials.
  • Event now carries its VBA-Docs attribution.
  • Authoring says to paste the examples.bat summary line into a pull request that adds a code sample.

Tooling

  • tbbuild and tbrun share scripts/lib/tb-ide.mjs, and a relative project path now loads.
  • Every harness run puts the IDE's recent list, project state and .twinproj association back as it found them, with check_tb_registry.mjs as the self-test.
  • Each test lane gets a private IDE copy inside a kill-on-close job, so a run that dies takes its IDEs with it.
  • check_regex_safety prints the whole witness, gives advice that matches the docs, and exits 2 when the gate itself fails.
  • check_code_regions no longer dies during a live serve.bat rebuild, and serve.bat stops leaving empty _serve-offline and _serve-pdf folders.

Use-case evaluation

  • Round 7 ran 8 cases, found 19 defects, and was the first to compile and run an evaluator's deliverable.
  • Evaluators now run as isolated claude -p processes through eval/run_case.mjs, because a subagent inherits CLAUDE.md and with it WIP.md.
  • eval/transcript.mjs reads each evaluator's full session to check the order in which it searched, navigated and grepped.
  • Round 8 is under way, with five cases run.

Maintainer notes

  • WIP.HelpAddin.md plans an IDE help add-in and a harness that tests add-ins by machine.
  • Six twinBASIC defects are queued in BUGS-TO-REPORT.md.

…s, in scripts/lib/markdown-files.mjs -- check_code_regions stops dying on a live serve.bat rebuild, and check_tree_fresh takes its output-tree list from the same place
…serve-offline and _serve-pdf beside it; a build still makes all three _site trees -- the notes from the last commit say so
…dd-ins by machine, the June draft folded in and corrected against BETA 983's own code; WIP.md points to it
…5 were stored with forward slashes and a backslash-only match missed them, so Stage 1's cleanup matches either separator
…exit codes and output on 14 fixture cases and 1,116 samples; a relative project path now loads, and tbrun --ide builds with the IDE it packed with
… project state and .twinproj association back as they found them (lib/tb-registry.mjs, self-test check_tb_registry.mjs) -- registry identical after 14 fixture cases and 1,116 samples; the IDE's recent-list padding bug queued
…the IDE runs in a kill-on-close job -- a compiler restarted during the kill no longer outlives the run, and a run that dies takes its IDEs with it; P11 answered: a session writes nothing into its install
… case; snapshot the search index, keep the answer key out of the evaluator's protocol, stop mirroring CLAUDE.md
…, Event attributed to VBA-Docs, the foundation tutorials on the welcome page and in the book, symptom-titled sections for three failures, and the examples.bat line a pull request carries
…l against Currency, and date literals -- month first whatever the regional format; ten operator pages corrected against the compiler, five bugs queued
…with the docs, exit 2 when the gate itself fails, and escape the NUL that made git treat the file as binary
…ubagent -- a subagent inherits CLAUDE.md and with it WIP.md; audit channel order from the session; round 8 begun, five cases
@KubaO
KubaO merged commit 2f81f3c into twinbasic:main Sep 24, 2026
1 check passed
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