From f4dd06728b93c56f58c1607df92af4b9ab54d185 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 21:01:48 +0000 Subject: [PATCH 1/2] docs(specs): tick 009 T056 and T060 after #902 merged #902 moved the dashboard to TypeScript 7 and closed #272 as superseded. Master 668c247 runs web and web e2e (mock) green after it. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Claude --- specs/009-remediate-security-dependabot/tasks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/009-remediate-security-dependabot/tasks.md b/specs/009-remediate-security-dependabot/tasks.md index 7c79d5563..b9f5ed05a 100644 --- a/specs/009-remediate-security-dependabot/tasks.md +++ b/specs/009-remediate-security-dependabot/tasks.md @@ -161,11 +161,11 @@ - [X] T054 [US4] Diagnose failing checks on PR #272 (TypeScript 6.0.3 → 7.0.2). CI stopped at `npm ci` because the lint plugin's TypeScript peer range excluded 7.0.2. - [X] T055 [US4] Migrate the dashboard to TypeScript 7.0.2. Oxlint runs the type-aware checks and Babel parses TSX for the localization codemod. The original #272 install failure is recorded in `contracts/dependency-upgrade.md` under T054. -- [ ] T056 [US4] Merge [#902](https://github.com/GameplanePanel/Gameplane/pull/902) after CI passes and the code owner approves. Close #272 as superseded if it remains open. +- [X] T056 [US4] Merge [#902](https://github.com/GameplanePanel/Gameplane/pull/902) after CI passes and the code owner approves. Close #272 as superseded if it remains open. **DONE 2026-11-11**: #902 merged as `bba9684`; #272 closed unmerged the same day as superseded. - [X] T057 [US4] Diagnose failing check on PR #268 (@eslint/js 9.39.5 → 10.0.1) by reading CI logs via gh API and recording specific linting violations encountered; note that ESLint 10 drops eslintrc support, removes deprecated SourceCode and rule-context methods, and raises the Node floor to ^20.19 || ^22.13 || >=24 - [X] T058 [US4] Apply ESLint 10 migration in web/ by updating web/package.json and web/eslint.config.js to 10.0.1, removing any deprecated rule-context or SourceCode usage, and fixing all resulting linting violations; constitution Principle III forbids resolving any finding with // eslint-disable **NO-OP 2026-08-29**: #268 had no failing check and needed no migration — flat config already in use, no custom rules, CI on Node 24. See contracts/dependency-upgrade.md § T057. - [X] T059 [US4] Merge PR #268 once all CI checks are green via gh pr merge 268 -R GameplanePanel/Gameplane --admin --merge -- [ ] T060 [US4] Confirm `web` and `web e2e (mock)` pass on master after both migrations merge. Both jobs passed on dd7e0e6 after #268 merged on 2026-08-29. Repeat the check on master after T056. +- [X] T060 [US4] Confirm `web` and `web e2e (mock)` pass on master after both migrations merge. Both jobs passed on dd7e0e6 after #268 merged on 2026-08-29. Repeat the check on master after T056. **DONE 2026-11-17**: on master `668c247` (ci run 44149693081, after #902), `web` and `web e2e (mock)` both SUCCESS. --- From b53262ee9865ec673cf5c8db14a45c192d4e4414 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 21:02:08 +0000 Subject: [PATCH 2/2] chore(specs): archive 009 to done_009 Move specs/009-remediate-security-dependabot to specs/done_009-remediate-security-dependabot and update the roadmap entry and the folder's own path references. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Claude --- docs/roadmap.md | 2 +- .../HANDOFF.md | 2 +- .../baseline.txt | 0 .../checklists/requirements.md | 0 .../contracts/alert-disposition.md | 0 .../contracts/dependency-upgrade.md | 0 .../contracts/path-confinement.md | 0 .../data-model.md | 0 .../plan.md | 0 .../quickstart.md | 0 .../research.md | 0 .../spec.md | 0 .../tasks.md | 8 ++++---- 13 files changed, 6 insertions(+), 6 deletions(-) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/HANDOFF.md (99%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/baseline.txt (100%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/checklists/requirements.md (100%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/contracts/alert-disposition.md (100%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/contracts/dependency-upgrade.md (100%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/contracts/path-confinement.md (100%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/data-model.md (100%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/plan.md (100%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/quickstart.md (100%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/research.md (100%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/spec.md (100%) rename specs/{009-remediate-security-dependabot => done_009-remediate-security-dependabot}/tasks.md (94%) diff --git a/docs/roadmap.md b/docs/roadmap.md index 456ce0191..52bca12d9 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -268,7 +268,7 @@ opt-out), and a monthly workflow refreshes the pins. Authoring rules live in Status as of 2026-11-11. Task counts come from each spec's `tasks.md`. - **Spec 002, Nuclear Option module and load-balancer IP pool override** (`specs/002-nuclear-option-ip-pool/`): 136 of 143 tasks done. Blocked: the server does not bind UDP 7777, so no join client can be built until a real-client packet capture documents the handshake (maintainer decision, 2026-10-11). Unblocked by: that packet capture. The join test, its bucket and the coverage row wait on it. -- **Spec 009, code scanning remediation and Dependabot** (`specs/009-remediate-security-dependabot/`): 80 of 82 tasks done. Blocked: TypeScript 7 is blocked because the `@typescript-eslint` peer range stops before TypeScript 7, and ESLint 10 is blocked because `eslint-plugin-react` does not accept `^10`. Unblocked by: a `@typescript-eslint` release that accepts TypeScript 7 (then T055/T056 and PR #272), and an `eslint-plugin-react` release that accepts `^10` (then PR #386, and #387 if open). +- **Spec 009, code scanning remediation and Dependabot** (`specs/done_009-remediate-security-dependabot/`): done. All 82 tasks complete; TypeScript 7 landed in PR #902 (superseding PR #272), then archived. - **Spec 013, expand test coverage** (`specs/done_013-expand-test-coverage/`): done. All 62 tasks complete; archived. - **Spec 019, app localization and community language packs** (`specs/019-localization-language-packs/`): shipped in v0.4.0 (PR #668 is on `master`). 102 of 105 tasks done. Open: T080, the French Reviewers group and reviewer rules; T103, the quickstart run against a `make dev-up` cluster; T105, the archive to `done_019` after every task is complete or withdrawn and the PR is merged. - **Spec 021, edit game configuration from server Settings** (`specs/done_021-settings-game-config/`): done. All 24 tasks complete; merged in PR #568 and PR #652, then archived. diff --git a/specs/009-remediate-security-dependabot/HANDOFF.md b/specs/done_009-remediate-security-dependabot/HANDOFF.md similarity index 99% rename from specs/009-remediate-security-dependabot/HANDOFF.md rename to specs/done_009-remediate-security-dependabot/HANDOFF.md index 8676bfb7d..17a9f3d7a 100644 --- a/specs/009-remediate-security-dependabot/HANDOFF.md +++ b/specs/done_009-remediate-security-dependabot/HANDOFF.md @@ -1,6 +1,6 @@ # Feature 009 — session handoff (updated 2026-08-29, session 2) -Read this file, then `specs/009-remediate-security-dependabot/tasks.md`. Everything below is +Read this file, then `specs/done_009-remediate-security-dependabot/tasks.md`. Everything below is verified against the live repo and GitHub unless explicitly marked as a *claim* or *provisional*. diff --git a/specs/009-remediate-security-dependabot/baseline.txt b/specs/done_009-remediate-security-dependabot/baseline.txt similarity index 100% rename from specs/009-remediate-security-dependabot/baseline.txt rename to specs/done_009-remediate-security-dependabot/baseline.txt diff --git a/specs/009-remediate-security-dependabot/checklists/requirements.md b/specs/done_009-remediate-security-dependabot/checklists/requirements.md similarity index 100% rename from specs/009-remediate-security-dependabot/checklists/requirements.md rename to specs/done_009-remediate-security-dependabot/checklists/requirements.md diff --git a/specs/009-remediate-security-dependabot/contracts/alert-disposition.md b/specs/done_009-remediate-security-dependabot/contracts/alert-disposition.md similarity index 100% rename from specs/009-remediate-security-dependabot/contracts/alert-disposition.md rename to specs/done_009-remediate-security-dependabot/contracts/alert-disposition.md diff --git a/specs/009-remediate-security-dependabot/contracts/dependency-upgrade.md b/specs/done_009-remediate-security-dependabot/contracts/dependency-upgrade.md similarity index 100% rename from specs/009-remediate-security-dependabot/contracts/dependency-upgrade.md rename to specs/done_009-remediate-security-dependabot/contracts/dependency-upgrade.md diff --git a/specs/009-remediate-security-dependabot/contracts/path-confinement.md b/specs/done_009-remediate-security-dependabot/contracts/path-confinement.md similarity index 100% rename from specs/009-remediate-security-dependabot/contracts/path-confinement.md rename to specs/done_009-remediate-security-dependabot/contracts/path-confinement.md diff --git a/specs/009-remediate-security-dependabot/data-model.md b/specs/done_009-remediate-security-dependabot/data-model.md similarity index 100% rename from specs/009-remediate-security-dependabot/data-model.md rename to specs/done_009-remediate-security-dependabot/data-model.md diff --git a/specs/009-remediate-security-dependabot/plan.md b/specs/done_009-remediate-security-dependabot/plan.md similarity index 100% rename from specs/009-remediate-security-dependabot/plan.md rename to specs/done_009-remediate-security-dependabot/plan.md diff --git a/specs/009-remediate-security-dependabot/quickstart.md b/specs/done_009-remediate-security-dependabot/quickstart.md similarity index 100% rename from specs/009-remediate-security-dependabot/quickstart.md rename to specs/done_009-remediate-security-dependabot/quickstart.md diff --git a/specs/009-remediate-security-dependabot/research.md b/specs/done_009-remediate-security-dependabot/research.md similarity index 100% rename from specs/009-remediate-security-dependabot/research.md rename to specs/done_009-remediate-security-dependabot/research.md diff --git a/specs/009-remediate-security-dependabot/spec.md b/specs/done_009-remediate-security-dependabot/spec.md similarity index 100% rename from specs/009-remediate-security-dependabot/spec.md rename to specs/done_009-remediate-security-dependabot/spec.md diff --git a/specs/009-remediate-security-dependabot/tasks.md b/specs/done_009-remediate-security-dependabot/tasks.md similarity index 94% rename from specs/009-remediate-security-dependabot/tasks.md rename to specs/done_009-remediate-security-dependabot/tasks.md index b9f5ed05a..593ee3720 100644 --- a/specs/009-remediate-security-dependabot/tasks.md +++ b/specs/done_009-remediate-security-dependabot/tasks.md @@ -136,7 +136,7 @@ - [X] T047 [US5] Submit dismissals for any non-cleared alerts from T045's re-query that remain open via gh api PATCH calls with false positive reason and full justification per contracts/alert-disposition.md **DONE 2026-08-29**: all 11 remaining alerts (#4, #5, #6, #11, #12, #13, #16, #17, #18, #19, #20) dismissed as `false positive` via the code-scanning API. Each guard was re-verified against master first — the drafted justifications cited pre-refactor line numbers. **`dismissed_comment` is capped at 280 chars**; every drafted justification (500-755 chars) failed with HTTP 422 and had to be condensed. Final state: **0 open alerts, 7 fixed, 12 dismissed** — SC-001 met. - [X] T048 [US5] Verify Dependabot PR list via gh pr list -R GameplanePanel/Gameplane --author=dependabot --state=open shows only #263 remaining if its diagnosis in T035 concluded it is blocked (all others closed) **CORRECTED 2026-08-29**: the expected end state is TWO open Dependabot PRs, not one. #263 (sigstore) and #272 (typescript 7) are both upstream-blocked exceptions — #272 because no published `@typescript-eslint` release, canary included, accepts TypeScript 7 (`peer typescript ">=4.8.4 <6.1.0"`), so `npm ci` fails at ERESOLVE before `tsc` runs. #269 is a third non-merge: dependabot closed it itself once x/net 0.58.0 arrived transitively. Also note `--author=dependabot` returns EMPTY with no error; the correct filter is `--author='dependabot[bot]'`. **DONE 2026-08-29**: exactly two open — #263 and #272, both upstream-blocked. - [X] T049 [US5] Confirm master branch CI is fully green across all ci.yaml jobs (lint, go, web, web-e2e-mock, helm, chart-template, go-e2e-unit, e2e-buckets, e2e-go, e2e-multicluster, e2e-upgrade, e2e-web-live, e2e-game-bot, report) **DONE 2026-08-29**: master run 33253187063 on a279497c — 66 success, 4 skipped, 0 failures. -- [X] T050 [US5] Walk through specs/009-remediate-security-dependabot/quickstart.md end-to-end to verify baseline capture, alert re-query, dismissal submission, and final verification steps all execute **DONE 2026-08-29**: walked end-to-end. The guide's commands were largely BROKEN as written and are now fixed: `gh api` carried an unsupported `-R` (hard error, 8 sites); `gh pr list`/`gh pr view`/`gh run list` used `--jq` with no `--json` (hard error, ~11 sites); `--author=dependabot` matched nothing silently (correct login is `dependabot[bot]`); `--paginate` is not a `gh pr list` flag; a documented `contents/go.mod` path 404s because this is a go.work workspace with no root go.mod; and the suppression grep is now scoped to source so its "Expected: No matches" is true (verified: 0 matches). Stale PR/alert state refreshed. Scenario D remains cluster-dependent and is labelled as such. +- [X] T050 [US5] Walk through specs/done_009-remediate-security-dependabot/quickstart.md end-to-end to verify baseline capture, alert re-query, dismissal submission, and final verification steps all execute **DONE 2026-08-29**: walked end-to-end. The guide's commands were largely BROKEN as written and are now fixed: `gh api` carried an unsupported `-R` (hard error, 8 sites); `gh pr list`/`gh pr view`/`gh run list` used `--jq` with no `--json` (hard error, ~11 sites); `--author=dependabot` matched nothing silently (correct login is `dependabot[bot]`); `--paginate` is not a `gh pr list` flag; a documented `contents/go.mod` path 404s because this is a go.work workspace with no root go.mod; and the suppression grep is now scoped to source so its "Expected: No matches" is true (verified: 0 matches). Stale PR/alert state refreshed. Scenario D remains cluster-dependent and is labelled as such. --- @@ -146,7 +146,7 @@ - [X] T051 Delete merged feature branch remote via git push origin --delete 009-remediate-security-dependabot per branch-lifecycle rule **DONE 2026-08-29**: remote branch deleted (was 6fe8bad), after confirming `git branch --merged master` listed it. - [X] T052 Delete merged feature branch local via git branch -d 009-remediate-security-dependabot per branch-lifecycle rule **DONE 2026-08-29**: local branch deleted with `-d` (not `-D`), so git verified the merge itself. -- [X] T053 Update specs/009-remediate-security-dependabot/contracts/alert-disposition.md with actual final state for each of the 14 alerts (fixed or dismissed with datetime and outcome notes); note that spec's original stale count of 20 PRs is corrected to 21 (adds #283 security bump) and all-14-real-defects claim is corrected to 13 false positives + 1 real defect, with the latent gap described as separate from the 14 alerts rather than counted among them **DONE 2026-08-29**: final per-alert state recorded in contracts/alert-disposition.md, including the two corrections that file needed (the 280-char comment cap, and the alert renumbering). +- [X] T053 Update specs/done_009-remediate-security-dependabot/contracts/alert-disposition.md with actual final state for each of the 14 alerts (fixed or dismissed with datetime and outcome notes); note that spec's original stale count of 20 PRs is corrected to 21 (adds #283 security bump) and all-14-real-defects claim is corrected to 13 false positives + 1 real defect, with the latent gap described as separate from the 14 alerts rather than counted among them **DONE 2026-08-29**: final per-alert state recorded in contracts/alert-disposition.md, including the two corrections that file needed (the 280-char comment cap, and the alert renumbering). --- @@ -320,8 +320,8 @@ After MVP merge: Phase 3 (US1) proceeds in a follow-up, then Phase 5/6 (Dependab **Scope note**: Every FR, SC, plan decision and constitution principle was re-checked against `master` and found satisfied — FR-009 is now fully met (`operator/go.mod` pins `cosign/v2 v2.6.5` AND `sigstore/sigstore v1.10.9`, and no `fulcioroots` import or call site survives anywhere in the tree). Zero open CodeQL alerts and zero open Dependabot alerts. The only remaining gaps are two documents that assert a state which the merges have since falsified. At the time of this audit, the upstream peer constraint still blocked T055/T056. -- [X] T075 MEDIUM: Update the "**Current state (2026-08-29)**" section of `specs/009-remediate-security-dependabot/quickstart.md:57-59`, which still lists **#263** as one of two remaining open PRs ("upstream-blocked (staticcheck SA1019 on deprecated import; needs sigstore-go migration)"). #263 was merged as `5291807` on 2026-08-29T22:05:17Z once T071/PR #287 removed the deprecated import. Move #263 into the "Merged/closed" list and correct the counts there (`quickstart.md:61-63`) from "19 PRs addressed / 18 merged" to "20 addressed / 19 merged", leaving **#272** as the only open PR. Because the section is explicitly framed as *current state* rather than a historical log, a reader following the quickstart today goes looking for a PR that no longer exists, per SC-002 (contradicts) -- [X] T076 LOW: Append a one-line update note under the T035 **Disposition** at `specs/009-remediate-security-dependabot/contracts/dependency-upgrade.md:220-222`, which reads "#263 stays open and unmerged". That disposition was correct when written but is now false: #263 merged as `5291807` after T071 (PR #287) migrated `operator/internal/verify/verify.go` to `sigstore-go/pkg/tuf` and cleared the SA1019 blocker. Do not rewrite the original diagnosis — the file is an append-only research record — just add the superseding note so a reader does not stop at the stale line, per FR-009 (contradicts) +- [X] T075 MEDIUM: Update the "**Current state (2026-08-29)**" section of `specs/done_009-remediate-security-dependabot/quickstart.md:57-59`, which still lists **#263** as one of two remaining open PRs ("upstream-blocked (staticcheck SA1019 on deprecated import; needs sigstore-go migration)"). #263 was merged as `5291807` on 2026-08-29T22:05:17Z once T071/PR #287 removed the deprecated import. Move #263 into the "Merged/closed" list and correct the counts there (`quickstart.md:61-63`) from "19 PRs addressed / 18 merged" to "20 addressed / 19 merged", leaving **#272** as the only open PR. Because the section is explicitly framed as *current state* rather than a historical log, a reader following the quickstart today goes looking for a PR that no longer exists, per SC-002 (contradicts) +- [X] T076 LOW: Append a one-line update note under the T035 **Disposition** at `specs/done_009-remediate-security-dependabot/contracts/dependency-upgrade.md:220-222`, which reads "#263 stays open and unmerged". That disposition was correct when written but is now false: #263 merged as `5291807` after T071 (PR #287) migrated `operator/internal/verify/verify.go` to `sigstore-go/pkg/tuf` and cleared the SA1019 blocker. Do not rewrite the original diagnosis — the file is an append-only research record — just add the superseding note so a reader does not stop at the stale line, per FR-009 (contradicts) ## Phase 14: Convergence