Skip to content

Reject placeholder list names from list grammar matches - #2769

Closed
datduyng wants to merge 4 commits into
mainfrom
domnguyen/list-determiner-listname
Closed

Reject placeholder list names from list grammar matches#2769
datduyng wants to merge 4 commits into
mainfrom
domnguyen/list-determiner-listname

Conversation

@datduyng

Copy link
Copy Markdown
Contributor

Reject determiner/placeholder listName captures (the/my/list) via validateWildcardMatch so bare list phrases fall through to the LLM while named lists still match.

datduyng and others added 4 commits July 30, 2026 18:49
Treat determiner-only listName captures (the/my/list) as invalid via
checked_wildcard validation so "add ham to the list" falls through to
the LLM instead of creating a list named "the".
- Normalize: strip true determiners + trailing list(s) only (keep
  whole foods / active tasks / most wanted intact)
- Reject bare closed-class, of-led junk, closed-class "… of them",
  lots/rest partial anaphora; accept open-class "photos of them"
- Execute guards on all listName actions; removeItems throws if missing
- Salvage key __recovered__; checked_wildcard on createList
- Expand unit coverage for validator, coalesce, and edge names
@datduyng

datduyng commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #2784 (clean main-based branch).

@datduyng datduyng closed this Aug 1, 2026
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