Skip to content

Teach Field default authoring - #5

Closed
raghubetina wants to merge 1 commit into
codex/enum-authoring-guidancefrom
codex/field-default-authoring-guidance
Closed

Teach Field default authoring#5
raghubetina wants to merge 1 commit into
codex/enum-authoring-guidancefrom
codex/field-default-authoring-guidance

Conversation

@raghubetina

Copy link
Copy Markdown
Contributor

What

  • teach create-full-stack-app to author and preserve all four tagged Field-default variants
  • distinguish owner identity, omission, literal null, enum-key coupling, and canonical decimal strings
  • extend examples and behavior evals for enum defaults, environment and decimal defaults, coordinated enum-value renames, and multi-diagnostic recovery
  • pin the guidance to First Draft server baseline 944673772ef7c5bf40ff67e65d8266556ab75f08

Why

Field defaults are now retained by the bounded importer, but the Skill still described them as unsupported. Agents need enough guidance to author good values without inventing subject IDs, weakening product meaning, or mistaking structural acceptance for semantic analysis.

Verification

  • sh script/check: 11 of 11 tests pass
  • npm audit --audit-level=low: zero vulnerabilities
  • gh skill publish --dry-run: succeeds with the existing license and tag-protection advisories
  • regenerated two-diagnostic fixture verified against the real baseline importer
  • fresh-agent enum/default authoring exercise minted exactly four subject IDs, minted none for the default, preserved private state, and made no push

Boundaries

This remains an experimental, structurally bounded authoring slice. It does not claim default type analysis, link resolution, Compilation, Publish, released end-to-end distribution, or complete graph import.

Field defaults are schema-valid tagged values, but the Skill still
treated them as an unsupported capability. Teach agents to preserve
identity, author canonical literal and environment forms, and
distinguish omission from literal null.

Extend examples and behavioral evals to cover enum/default coupling,
canonical decimal strings, and recovery across multiple diagnostics.
Pin the guidance to the reviewed API baseline.
@raghubetina

Copy link
Copy Markdown
Contributor Author

This slice has landed on main through #6, which integrated the complete reviewed Skill stack. This PR remains the focused review history for Field default authoring; no implementation was discarded. Closing as superseded by #6.

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