core/docs/plans
Shay 997a6eb043 fix(generate): plural-subject agreement, 26/26 (Phase 3)
_inflect_predicate applied base_form — a SINGLE-VERB function — to whole
humanized predicate phrases, stripping the final word's last character
class, and its plural branch never consulted `copular`. Nine of the 26 seed
predicates came out wrong and every multi-word one did:

  is defined as         -> "is defined a"     want "are defined as"
  has the following ... -> "...step"          want "have the following steps"
  belongs to            -> "belongs to"       want "belong to"
  causes                -> "caus"             want "cause"

Root causes, both single-point as §1.4 predicted:

1. morphology.agree_plural_phrase inflects the HEAD (the finite verb is the
   first token of every humanized predicate) and carries the rest through.
   base_form stays single-verb and is PINNED as still wrong on a phrase, so
   nobody "fixes" the symptom in the wrong place.
2. The plural branch now agrees the phrase. The plural NEGATED branch had the
   same defect ("do not is defined a") and is fixed with it: a plural copula
   takes a bare "not", everything else takes do-support.

Two further defects found while writing the eval cases, both fixed here:

  base_form("causes") -> "caus". The -es sibilant rule fired on a stem
  ending in a single "s"; it must require a doubled "ss" ("passes"->"pass"),
  because a single "s" is nearly always a stem ending in "e" that took a
  plain -s ("causes"->"cause").

  pluralize("proof") -> "prooves". f/fe -> ves is NOT productive in English
  (proof->proofs, chief->chiefs, roof->roofs); it is a closed set. Now
  derived as lexicon.VES_PLURAL_SINGULARS from the ves-rows of
  IRREGULAR_SINGULARS, so the rule cannot claim a word the table does not
  know. Phase 2B had put pluralize on the SERVING path, so this one was live
  — and the surface-hashing pin from #133 confirms no served surface moved,
  which is that guard's first real use.

New construction C14 quantified_copular, 13 cases: the combination that was
broken was the one never tested. Measured before: 152 corpus cases carry a
quantifier and ZERO combine it with a copular predicate.

MY FIRST DRAFT OF THOSE CASES COULD NOT FAIL. must_contain/word_order listed
quantifier, subject and object but NOT THE VERB, so "all molecules is
defined a compound" passed and reverting the fix left 47/47 green. Rewritten
with the agreed verb in both constraints plus reject_surfaces carrying the
ACTUAL pre-fix output, computed by running the reverted code rather than
guessed. Mutation now:

  baseline                      13/13 C14
  revert phrase-head agreement   4/13
  revert -es stem rule          12/13
  revert closed ves set         11/13

The 4 survivors of the first mutation are the mass-noun controls, which is
correct — "all evidence is grounded in truth" must NOT pluralize.

Same lesson as the lane pins in #133: a pin that cannot fail guards nothing,
and the only way to know is to break the thing on purpose.

grammar_roundtrip's graph corpus is harvested from the committed case files,
so it grew 280 -> 293. Updated exactly rather than loosened to an inequality:
a corpus that grows or shrinks should require a deliberate edit.

[Verification]: in-worktree on CPython 3.12.13, uv sync --locked —
agreement 26/26 (from 17/26); english_fluency_ood 117/117 + 39/39 + dev
13/13 unchanged; grammatical_coverage v1 49/49; smoke 621 unchanged;
deductive 405; scripts/verify_lane_shas.py 11/11, no pin edited.
2026-07-27 10:11:22 -07:00
..
adr-0241-0242-mastery-close-status.md docs(adr-0243): commit ADR-0243 + implementation plan, pin sketch defects 2026-07-16 21:53:20 -07:00
adr-0241-0242-session-completion-summary-2026-07-15.md docs(governance): RATIFY — ADR-0241 and ADR-0242 → Accepted (Joshua Shay, 2026-07-15) 2026-07-15 15:25:47 -07:00
adr-0241-cohesion-mastery-plan-p0-p12.md docs(plans): archive Plan A/B + session completion summary (W2) 2026-07-15 12:49:00 -07:00
adr-0242-drive-complete-plan-d0-d10.md docs(plans): archive Plan A/B + session completion summary (W2) 2026-07-15 12:49:00 -07:00
adr-0243-implementation-plan.md docs(adr-0243): Phase 3 lane brief pack (A/B/C) + correct stale readback-rules claim 2026-07-17 06:48:33 -07:00
audio-compiler-eval-plan.md chore: Refactor CLI and Governance Anchors (#926) 2026-07-03 12:34:56 -07:00
audio-compiler-spec.md chore: Refactor CLI and Governance Anchors (#926) 2026-07-03 12:34:56 -07:00
capability_roadmap.md Lane 4: Registry Consolidation (language_packs to packs) 2026-07-04 15:11:28 -07:00
core-general-advancement-plan.md
curriculum-license-loop-2026-07-25.md docs(arc): reconcile the arc's records with what the units measured 2026-07-26 12:33:30 -07:00
DEMO-PACKAGING-CHECKLIST.md docs: reorganize docs landscape 2026-06-30 16:59:36 -07:00
formation_pipeline_plan.md chore: Refactor CLI and Governance Anchors (#926) 2026-07-03 12:34:56 -07:00
generalization-arc-2026-07-24.md docs(arc): reconcile the arc's records with what the units measured 2026-07-26 12:33:30 -07:00
grammar-unification-2026-07-26.md fix(generate): plural-subject agreement, 26/26 (Phase 3) 2026-07-27 10:11:22 -07:00
PUBLIC-DEMO-ROADMAP.md docs: reorganize docs landscape 2026-06-30 16:59:36 -07:00
vision-compiler-eval-plan.md chore: Refactor CLI and Governance Anchors (#926) 2026-07-03 12:34:56 -07:00
vision-compiler-spec.md chore: Refactor CLI and Governance Anchors (#926) 2026-07-03 12:34:56 -07:00