Skip to content

Spec 016 T016, T017: one description per answer, and renames that fail both sides - #705

Closed
adamjohnwright wants to merge 1 commit into
mainfrom
spec016/t016-one-description
Closed

adamjohnwright wants to merge 1 commit into
mainfrom
spec016/t016-one-description

Conversation

@adamjohnwright

Copy link
Copy Markdown
Contributor

Spec 016 User Story 1: the guarantee is shown, not assumed.

  • T016: projects/contract/one-description.spec.ts refuses an interface or an object type in the site's or the pathway browser's code (anywhere, namespaces included) under one of two kinds of name:

    • a contract type's own exported name;
    • a name a reader re-exports a contract type as. The site's SearchEntry is the contract's SearchEntryView, for example.

    An alias of the contract's type is a name, not a description, and is allowed. A re-added interface SearchEntry in the site's search model failed it, naming the file.

  • T017: tasks.md records a field renamed in each of the search family's moves, failing the writer and every reader:

    • the facets' count;
    • the entry's exactType;
    • the results' numberOfMatches.

    The commands and the failing lines are listed there. The pathway browser reads exactType only in templates, which the site's production build checks.

Test-only; nothing served changes. Lint and dead code are at their baselines, and preflight passes.

🤖 Generated with Claude Code

…l both sides

one-description.spec refuses an interface or an object type in the site
or the pathway browser under a contract name, or under a name a reader
re-exports the contract's type as; an alias is allowed. A re-added
interface SearchEntry failed it. tasks.md records a field renamed in each
of the search family's moves failing the writer and every reader.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adamjohnwright

Copy link
Copy Markdown
Contributor Author

Replaced by 706: the readers' own aliases protected, more shapes counted.

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