language: migrate to bare cases and refuse .Case and .member (CLOSED-TRAITS 1a-2, step 3 of #742) #820
Labels
No labels
loop
queue/failed
queue/queued
ready
status/parked
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
torbscript/language#820
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Step 3 of the cleanup plan #742, phase 1a commit 2 of #713 (CLOSED-TRAITS 9.2 "migrate and refuse"). Unblocked on 2026-11-15:
seeds.txtof theseedsrelease listsa7b780b86a35(the merge of #765 for #743, which taught both forms) and newer nightly seeds, so CI and fresh clones bootstrap a compiler that reads the bare form.Audit 2026-11-13: about 11,844 dot sites in 500
.trbfiles, 529 in Markdown, 1,027.member.Plan (CLOSED-TRAITS 9.2, commit 2)
torb lint --fix --rule bare-caseovercompiler/,std/,examples/,tests/,tools/,editors/: the dot goes where the bare name resolves to the same case,Owner.Casewhere it would collide. Sites the rule cannot fix are listed in the PR and fixed by hand.docs checktype checks: rewritten by a committed script that takes the sites the fix reports and asserts the exact text it replaces (never PowerShell). Historical design records keep their text..Caseand.memberwith the fix of 6.6;ImplicitMember/ImplicitVariantleave the syntax tree except as error. Delete the canon ruleimported-case-patternsand thebare-caserule, rewrite the language pages of section 8, regenerate the skill, Decision Log entries of 0.1.Migration and refusal may be separate commits in one PR (or two PRs, migration first) if the diff is too large to review; refusal never lands before the migration.
Acceptance criteria
torb lint --rule bare-casereports 0 findings over the six directories before the rule is deleted; a second--fixrun changes nothing..Caseand.memberwith the 6.6 fix text; a test pins the error for each.ImplicitMember/ImplicitVariantexist only as error nodes; canon ruleimported-case-patternsand lint rulebare-caseare deleted.CLAUDE.mdpass (fmt, check, tests, docs gate,.trblint) and the fixpoint is green.Next
After merge: seed (nightly or
seed.yml, Orion takes it per #742), then 1b (#742 step 4).Part of #713. Plan step 3 of #742.
[loop:torbscript] claim implement by torbscript-820-impl until 2026-11-15T20:12:00Z
[loop:torbscript] release implement by session:torbscript-820-impl: PR #821 open, head
b36d2404, CI queued (jobs still waiting for a runner; the first run failed only in bootstrap on a seed type error in lexer.trb, fixed in this head). next: review (merge gate)[loop:torbscript] claim implement by session:loop-torbscript-820-fix2 until 2026-11-16T00:52Z