implements PLN-0007

This commit is contained in:
2026-03-27 17:24:36 +00:00
parent 4a6cc35989
commit d28916578b
14 changed files with 357 additions and 12 deletions
@@ -203,6 +203,9 @@ At minimum, the PBS diagnostics baseline must cover:
- unresolved terminal asset reference,
- namespace-versus-terminal asset misuse,
- structurally invalid symbolic asset path admitted by source syntax but rejected by semantic surface rules.
10. ignored-value diagnostics for expression statements, including:
- a stable warning when a materialized value is produced and then ignored,
- and no warning for unit-like expression statements.
At minimum, host-admission diagnostics must cover missing or malformed host capability metadata and unknown or undeclared capability names.
@@ -229,7 +232,9 @@ When failures exist, implementations must still preserve deterministic diagnosti
## 11. Cost Diagnostics and Warning Policy
Warnings are supported and recommended in v1, but they are not part of the minimum mandatory conformance baseline.
Warnings are supported in v1, and one warning is mandatory for PBS core: ignored materialized values in expression statements.
The mandatory warning identity for this rule is `W_SEM_IGNORED_VALUE`.
Tooling may surface qualitative cost facts as warnings or notes, especially for: