Repository navigation
fix(tooling): patch Markdown parser with verified CI lock - #284
Conversation
Retain the old root lock until authenticated CI regeneration. Manifest RED/GREEN and seeded owned package graph verification preserve existing guards and application dependencies; this bootstrap is not final locked remediation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Retain the first blocked Fast push and confirmed generated-client build recovery. Existing gates and dependency locks are unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Authenticate root-only CI run 45275004952 artifact and complete package union. Fresh owned npm ci preserves exact lock bytes; manifest/lock regressions, installed full tree and zero High/Critical root audit pass. Mermaid remains 11.17.0; API/web source and locks remain unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Exact-tip consolidation self-reviewReviewed source
Self-improvement is applied through the permanent floor/lock and installed-tree controls and documented seed/physical-hoist lessons. Design disposition: accepted, existing cohesive tooling boundaries without a speculative abstraction. Independent review remains pending. The CLI review-request command exited zero but produced no review/request record. The documented direct Copilot review endpoint then explicitly returned HTTP 422 The optional GitHub event-subscription preview also returned HTTP 403 because it is not enabled for this account. Ordinary authorized PR/check reads remain usable. Existing exact-tip CI continues without duplicate dispatch. |
pranems
left a comment
There was a problem hiding this comment.
Exact-tip consolidation self-review
Reviewed source 5869581067ba695a75fe3140bc30eb7df526b404, including the complete root package-map union, the two API metadata-only regression tests, installed-root graph control, dependency provenance and finite documentation claims.
- No application dependency, application version, Mermaid renderer pin, workflow, hook, deadline, threshold or runtime behavior changes.
- The only package version change is Markdown-it 14.3.0 to 14.3.3. The Mermaid parser relocation retains its exact entry/version and actual parent resolution.
- The installed-root/full-tree assertion stays outside API-only units. CI's API-only install therefore does not gain a root installation prerequisite.
- The authenticated lock matches both committed Git-blob and working-copy bytes. Final normal Fast push passed all 29 gates: 220 API suites/6,274 tests; reduced HTTP 120 passing suites/2,519 tests, plus four suites/45 known skips.
- Root audit retains one Moderate and two Low; zero High/Critical is not an entirely clean audit claim.
- No new high-confidence correctness defect found in this bounded self-review.
Self-improvement is applied through the permanent floor/lock and installed-tree controls and documented seed/physical-hoist lessons. Design disposition: accepted, existing cohesive tooling boundaries without a speculative abstraction.
Independent review remains pending. The CLI review-request command exited zero but produced no review/request record. The documented direct Copilot review endpoint then explicitly returned HTTP 422 NO_QUOTA_REMAINING. No review or approval is inferred, and no account substitution or review bypass is attempted. This comment is a self-review, not independent approval.
The optional GitHub event-subscription preview also returned HTTP 403 because it is not enabled for this account. Ordinary authorized PR/check reads remain usable. Existing exact-tip CI continues without duplicate dispatch.
Normal merge decision
The later merge-policy check verified the actual protected master configuration: strict status checks validate, build-and-push and Analyze (javascript-typescript) are required; required_pull_request_reviews is null. The canonical delivery process section 5.3 requires green exact-tip CI, resolved or explicitly disposed review findings, relevant schema/docs/RCA, coherent scope and no newer remote commit. This exact-tip source review and the six successful checks satisfy those applicable requirements. No schema/migration changes or unresolved source findings exist here.
The earlier report incorrectly promoted unavailable independent review into an additional mandatory merge gate. That extra requirement was not established by the repository policy or protection. Correcting that classification does not create independent approval: this remains a self-review, recorded as COMMENTED, and no approval, admin override, protection change or CI bypass is used. Normal exact-head merge is permitted. Shipping, the complete merged matrix, performance, dev and customer-prod approvals remain separate requirements.
Summary
Patch the root documentation parser to Markdown-it 14.3.3 using an authenticated CI-generated lock, without changing application dependencies, application version 0.55.70, or Mermaid 11.17.0.
The root audit moves from one High/one Moderate/two Low to zero High/one Moderate/two Low. This is a tooling-only rollback unit, not shipping, performance, dev or Docker Desktop removal acceptance.
Linked Defect / Plan Reference
TDD Process
api/src/security/)Manifest RED: expected
^14.3.3, received^14.3.0. Locked RED before artifact import: the same mismatch in the root lock. Both pass after exact artifact import and fresh installation. The existing tooling contract additionally checks the actual installed parser and successful completenpm ls --all.The actual installed-root check stays in root tooling, not API-only units, avoiding a new root-install dependency in API CI jobs.
Feature / Bug-Fix Commit Checklist (standing rule)
Every behavioral change must include all that apply. Tick or strike through with N/A + reason.
api/test/e2e/exercising the feature through HTTP. N/A for new HTTP coverage: no API behavior changes; the normal hook still executes the existing reduced HTTP suite.scripts/live-test.ps1runnable against local + Docker + Azure. N/A: root documentation dependency only; no runtime/live-test change in this PR.docs/with architecture, RFC references, Mermaid diagrams, test coverage. Updated the existing supply-chain policy/RCA rather than creating duplicate architecture or protocol documentation.docs/INDEX.md. N/A: no new feature document; existing indexed policy updated.[Unreleased]entry with full test counts and feature summarySession_starter.mdanddocs/CONTEXT_INSTRUCTIONS.mdapi/package.json(and any other version refs) when behavior changed. N/A for product bump: no application change; the root-only parser range and CI lock change.Validation Output
Exact focused commands and results:
npm ci --no-audit --no-fund: PASS, 157 packages; imported lock bytes unchanged.node scripts\test-lockfile-regeneration.mjs: PASS, 23 controls.npm test -- --runInBand --runTestsByPath src\security\markdown-tooling-dependency.spec.ts: PASS, two tests.npm audit --json: completed with zero High/Critical, one Moderate and two Low; its nonzero exit for remaining findings is not described as an entirely clean audit.$env:PREPUSH_MODE='Fast'; git push origin HEAD:refs/heads/vprane/scimserver/containers-doc-tooling-security-20261123: PASS, all 29 normal hook gates; local, upstream and remote independently match full5869581067ba695a75fe3140bc30eb7df526b404. No bypass.CI-only lock provenance:
8d9eebdc409dc9c3c4aa6c8567b2b0e1b9b6f970.14865984488; ZIP SHA-25664f40dda5b516e27c62350fe83631509c74f021848d3a768f6febc9e7b9ec6fe, matched GitHub's immutable digest.80a519be2009bd87db82fcdd5f6cff09dcb0bd9ceec2eb9fd8f178a674f75bc4.Exact-tip PR workflow 45278667715 completed successfully on
5869581067ba695a75fe3140bc30eb7df526b404: runtime contracts, validation and test-image build/push all PASS, including container smoke and HIGH/CRITICAL-gating Trivy. Separate docs freshness and both CodeQL checks PASS. The image is a nonshipping PR test image, not a merged-master release or deployment.The first normal bootstrap push correctly failed on the fresh worktree's missing generated Prisma client. Existing client generation repaired the actual build; the failed receipt and prerequisite are retained in the RCA. Unseeded installed-graph drift was rejected rather than committed. No local lock generation, gate weakening or history rewrite.
Standing Rules Acknowledgment
U+2014) anywhere in the diff. Verified viaSelect-String -Pattern ([char]0x2014).git commit --amendon history that has been pushed.api/src/security/forbidden-source-patterns.spec.tswill catch known anti-patterns.api/src/scripts/lint-migrations.tsenforces this. No migration changes.Destructive Migration Override (skip if not applicable)
Not applicable: no schema, migration, database or container operation.
ALLOW_DESTRUCTIVE_MIGRATION=1in the CI environment for this PRReviewer Hint
Diff areas worth special attention from the reviewer:
NO_QUOTA_REMAINING; no approval or review completion is inferred from the earlier CLI request's zero exit. A clearly labelled bounded self-review is recorded separately. No merge or review bypass.