Skip to content

feat(spec): project defaults and normalization (#4)#36

Merged
leo-aa88 merged 1 commit into
mainfrom
issue/4-normalize-defaults
Apr 11, 2026
Merged

feat(spec): project defaults and normalization (#4)#36
leo-aa88 merged 1 commit into
mainfrom
issue/4-normalize-defaults

Conversation

@leo-aa88
Copy link
Copy Markdown
Member

  • Add defaults.go to read trimmed Project.spec.defaults (§7.1)
  • Add NormalizeProjectGraph: fill Agent model/policy and Workflow policy when omitted; trim surrounding space on those strings
  • Document that defaults.runtime has no MVP Agent/Workflow target field yet
  • Tests: default model, workflow policy, idempotent second pass, trim, no override

Closes #4

Made-with: Cursor

- Add defaults.go to read trimmed Project.spec.defaults (§7.1)
- Add NormalizeProjectGraph: fill Agent model/policy and Workflow policy when
  omitted; trim surrounding space on those strings
- Document that defaults.runtime has no MVP Agent/Workflow target field yet
- Tests: default model, workflow policy, idempotent second pass, trim, no override

Closes #4

Made-with: Cursor
@leo-aa88 leo-aa88 merged commit 2e990d5 into main Apr 11, 2026
4 checks passed
@leo-aa88 leo-aa88 deleted the issue/4-normalize-defaults branch April 11, 2026 08:19
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.

[MVP] Normalization and defaults from Project.spec.defaults (internal/spec)

1 participant