From 78b5034936c00ee9f24d5cc02c771e0627a59962 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Mon, 17 Aug 2026 11:19:41 -0500 Subject: [PATCH] =?UTF-8?q?docs(plans):=20drop=204.5.3=20=E2=80=94=20the?= =?UTF-8?q?=20decorator=20warning=20is=20already=20documented,=20and=20the?= =?UTF-8?q?=20reason=20given=20for=20it=20was=20wrong?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two corrections to the phase added an hour ago. The task asked for documentation that exists. README.md:233 "Why legacy decorators" and concepts/the-graph.md:43 in the docs repository both already carry the argument, and carry it better: parameter decorators are deliberately absent from the TC39 Stage 3 proposal, so a handler taking `@param('id') id: string` is only expressible with legacy decorators, and Stage 3 means the replacement is not finalized either. Writing a third, shorter version of that in Honest scope would have made it worse. The task also justified itself with a claim that is false. It said the framework depends on emitDecoratorMetadata. It does not: `grep -rn 'design:type\|design:paramtypes' src/` returns nothing. The flag is set in tsconfig.json and deno.json, but no design:* reflection is read anywhere in src/ — argument positions are recorded explicitly. Both documents already state this, which is how the error surfaced. What survives is a note rather than a task, because the warning arrives in CI together with the new gate and would otherwise read as something the gate found. Signed-off-by: Diego Resendez --- docs/plans/2026-08-16-trust-release-plan.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/plans/2026-08-16-trust-release-plan.md b/docs/plans/2026-08-16-trust-release-plan.md index fc39c83..0f6370d 100644 --- a/docs/plans/2026-08-16-trust-release-plan.md +++ b/docs/plans/2026-08-16-trust-release-plan.md @@ -272,10 +272,7 @@ Leave `release.yml` alone. The tag-time gate stays: it is the one that protects Add `test:all` — `npm test` plus `test:deno`, `test:bun`, `test:edge`, and the JSR dry run. Say in `README.md` which one is the fast loop and which one is the pre-push check, so the split reads as a decision rather than an oversight. -### Task 4.5.3: Record the decorator deprecation as a known risk - -**Files:** -- Modify: `README.md` (*Honest scope*), or wherever Phase 6 puts the stability contract +### The decorator warning is expected — no task, and no new documentation Every `deno publish --dry-run` prints: @@ -283,9 +280,11 @@ Every `deno publish --dry-run` prints: Warning experimentalDecorators compiler option is deprecated and may be removed at any time ``` -This framework is decorator-driven and depends on `emitDecoratorMetadata`, which the TC39 decorators that replace it do not provide an equivalent for. Nothing to fix today, and no workaround worth inventing ahead of the change. +Whoever adds this gate to CI will see that warning arrive with it and should not treat it as something the gate found. It is **already documented, and better than a new note would manage**: `README.md:233` (*Why legacy decorators*) and `concepts/the-graph.md:43` in the docs repository both carry the reasoning — parameter decorators are deliberately absent from the TC39 Stage 3 proposal, so `handler(@param('id') id: string)` is only expressible with legacy decorators, and Stage 3 means the replacement is not finalized either. -What is worth doing is naming it, because it is a dependency on a deprecated compiler option in the runtime the package publishes to. It belongs beside the other things *Honest scope* already admits. Do not turn the warning into an error to force the issue — that breaks releases on someone else's schedule. +An earlier draft of this phase claimed the framework "depends on `emitDecoratorMetadata`". That is **wrong**, and both documents already say so: argument positions are recorded explicitly, and `grep -rn 'design:type\|design:paramtypes' src/` returns nothing — the flag is set in `tsconfig.json` and `deno.json`, but no `design:*` reflection is read anywhere. Legacy parameter decorators are the only legacy surface this project actually depends on. + +Do not turn the warning into an error to force the issue: that breaks releases on someone else's schedule. ---