feat(diagnostics): add strict writing diagnostic contract - #249
feat(diagnostics): add strict writing diagnostic contract#249seonghobae wants to merge 28 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Fresh exact-head coverage verification for |
|
The downstream package-publication requirement is now verified on #282 exact head 643baed. Current #249 head 2322356 is an ancestor of that tree. The verified packed artifact exposes @contextualwisdomlab/cwl-editor/writing-diagnostics through ESM, CommonJS, SSR-safe import, and strict TypeScript declarations. The full package verifier and build passed. The package concern remains correctly owned by #282 and is now executable in the restored stack, so this #249 thread is resolved. |
…into feat/writing-diagnostics-contract
Scope
Stacked Task 1 implementation lane for PR #248's writing-diagnostics plan. The PR remains Draft and targets
design/llm-writing-diagnostics; #248 is the governing dependency-root authority.Current exact stack authority
design/llm-writing-diagnostics@f97d9d6787fd0d6c01bd245506e8a220af8a8a5a;b878721bf1c085612f8aea889081f0322e62a2ae;f97d9d6787fd0d6c01bd245506e8a220af8a8a5a,ahead_by=26,behind_by=0;main@128a239f8b71ca16add4b9e15e21752d1ad63ff0;Mutable head/base/check values above are decision-time evidence only and must be refetched before any later lifecycle action.
Test-first behavior
The contract was developed RED→GREEN before production implementation and provides provider-neutral diagnostics/provenance types, bounded priorities/resources/strings/selectors, exact own-data-property validation, hostile-reflection rejection, duplicate-ID rejection, exact revision/projection binding, deeply detached/frozen accepted values, stable redacted failures, and root plus React-free exports.
It performs no semantic language judgment, keyword/regex/phrase fallback, model/provider/network/database/credential access, stale-text repair, decoration, document mutation or send gate.
Exact-current-head evidence
For exact head
b878721bf1c085612f8aea889081f0322e62a2ae, the live workflow query returns exactly one generation:Writing Diagnostics Contract TDDrun32862313851:push, completed / success, exact headb878721bf1c085612f8aea889081f0322e62a2ae.Canonical repository PR CI/Security/SAST/browser/Office/coverage evidence is absent/non-passing for this exact head. The branch's inherited canonical
ci.ymlstill uses the historical main-only PR trigger and lacks the exact-head checkout contract already integrated by #299 on protected main. Therefore #299 is no longer an open CI repair dependency, but this long-lived stack has not inherited its protected-main control-plane fix. Do not duplicate that canonical CI repair on this child branch.The correct next source action is a non-destructive parent/root reconciliation with current protected main through a supported merge/update operation, then stack propagation and fresh exact-head PR evidence. The presently exposed safe GitHub mutation surface does not provide a high-level current-base merge/update operation; do not emulate it with ref movement, force push, destructive rebase, or guessed merge trees.
Formal approval and thread state must be refetched independently before lifecycle action; workflow/status/model output is never formal approval.
Remaining gates
Do not self-approve, transfer predecessor evidence, weaken gates, bypass dependency order, force-push/destructively rebase, or synthesize release identity.