Skip to content

dogwood 3/6: validation split + lint walls #1659

Closed

Description

@lex00

Implement the TypeScript-side checks that run always and gate: structural checks, schema-reference walls (a temporal clause naming an event or action absent from the schema fails), meta-policy rules, and plain-Cedar validation of the non-temporal body via @cedar-policy/cedar-wasm. Add the CLI-gated full .dw validation path that shells to dogwood validate when the binary is present and warns-and-skips when it isn't — an explicit, issue-linked exception, not a silent one. Reuses cedar's lint and post-synth machinery under the DWD rule prefix.

Part of #1646
Blocked by #1651 (cedar 4/8: lint rules + post-synth + auditCatalog)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions