Skip to content

fix(docs): guard runtime readiness currency and reconcile qualification - #286

Merged
pranems merged 3 commits into
masterfrom
vprane/scimserver/containers-removal-evidence-20261123
Nov 24, 2026
Merged

pranems merged 3 commits into
masterfrom
vprane/scimserver/containers-removal-evidence-20261123

Conversation

@pranems

@pranems pranems commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Summary

Protect the canonical container-runtime readiness guide with the existing
freshness manifest and actual-header regression controls, and reconcile
merged-source evidence without relabeling historical qualification.

Linked Defect / Plan Reference

  • DELIVERY_PLAN.md defect ID: N/A; Docker Desktop exit evidence consolidation.
  • Audit doc reference: docs/CONTAINER_RUNTIME_REMOVAL_READINESS.md, R40-R45.
  • ADR (if applicable): N/A; existing manifest and self-test reused.

TDD Process

  • RED test written first; observed it fail for the expected reason
  • GREEN: minimal implementation that turns the test green
  • Refactor (if any) keeps the test green
  • Permanent regression guard added (where applicable - see existing patterns in api/src/security/)

The existing documentation self-test first reports 26 passes and three
failures: missing guide registration, failure to reject its actual stale
marker and missing F1 reporting. Registering the guide and using the existing
recognized product-version marker produces 30 passes and zero failures.
Existing documentation CI already invokes this self-test.

Feature / Bug-Fix Commit Checklist (standing rule)

Every behavioral change must include all that apply. Tick or strike through with N/A + reason.

  • Unit Tests - service-level and controller-level coverage of the new behavior. N/A to services/controllers; the changed governance behavior has six permanent controls in the existing PowerShell self-test.
  • E2E Tests - end-to-end spec under api/test/e2e/ exercising the feature through HTTP. N/A; no HTTP behavior or application test population changes.
  • Live Integration Tests - new section in scripts/live-test.ps1 runnable against local + Docker + Azure. N/A; no live runner or application behavior changes, and historical live results retain their actual source scope.
  • Feature Documentation - dedicated doc in docs/ with architecture, RFC references, Mermaid diagrams, test coverage. Existing canonical readiness and performance reports updated; no new diagram or protocol change.
  • INDEX.md Update - add the new doc reference to docs/INDEX.md. N/A; both existing guides are already indexed, verified before consolidation.
  • CHANGELOG.md Update - [Unreleased] entry with full test counts and feature summary
  • Session & Context Updates - Session_starter.md and docs/CONTEXT_INSTRUCTIONS.md
  • Version Management - bump api/package.json (and any other version refs) when behavior changed. N/A; application version remains 0.55.70, with no runtime/dependency changes.
  • Response Contract Tests - API responses contain ONLY documented fields (key allowlist assertion at unit + E2E + live). N/A; no response or serialization changes.

Validation Output

Unit:        Documentation self-test 30/30; normal hook API 220 suites/6,274 tests pass
E2E:         Normal hook reduced InMemory HTTP 2,519 pass/45 known skips
Lint:        Normal hook API ESLint and API/web type checks pass
Bundle:      Normal hook web production build passes
Em-dash:     Added lines clean

Executed focused checks

Paths below are relative to the task worktree. The local PowerShell
invocations selected these exact scripts using their absolute worktree paths.

Command Observed result
pwsh -NoProfile -File scripts/test-audit-doc-freshness.ps1 RED before manifest/marker fix: 26 pass, 3 expected failures. GREEN afterward: 30 pass, 0 failures.
pwsh -NoProfile -File scripts/audit-doc-freshness.ps1 PASS for all 29 registered documents after the fix.
git diff --check PASS before both normal commits.
Built-in JSON parsing of every literal JSON fence in the seven edited Markdown files PASS: three blocks, no collapsed envelopes.
Added-line Unicode scan and exact nine-file scope check PASS: no added U+2014, no application/dependency changes.

The normal Fast explicit-ref push at exact
4c98516fd793733c70724e5e463e050b7dbc3be2 passes all 29 gates in 709 seconds.
The executed command was
git push --set-upstream origin refs/heads/vprane/scimserver/containers-removal-evidence-20261123:refs/heads/vprane/scimserver/containers-removal-evidence-20261123.
Local, upstream and remote independently match the full SHA; the worktree
is clean. The hook includes API build/lint, web typecheck/build, real Mermaid
rendering and all other unchanged default gates, plus 220 API unit suites/
6,274 tests and reduced HTTP 120 passing suites/2,519 tests, four suites/
45 known skips. Jest forced-exit advisories remain visible.

The original normal hook first blocked on a genuinely missing generated
Prisma client after private immutable dependency restoration. Running the
existing npm run prisma:generate produced client 7.8.0 with no database or
lock change; the unchanged-tip normal retry passed. The failed receipt is
preserved. No hook/configuration/selector/threshold bypass was used.
Exact-tip PR checks and merge remain pending; no duplicate application
suite or separate CI dispatch is claimed.

Evidence boundaries

  • PR fix(tooling): patch Markdown parser with verified CI lock #284 and PR fix(live): preserve evidence shape and owned cleanup while reusing redaction plans #285 are normally merged through a7ef000. Their combined
    reviewed source passed 29 normal Fast gates and six exact-tip checks.
  • The complete c52 matrix, both 1,845-assertion live runs and 35 browser
    outcomes remain historical evidence, not relabeled final-source results.
  • Fresh exact-a7 qualification passes all six unchanged canonical modes:
    API220/6274 each backend, full InMemory HTTP2575/45 known skips and
    Prisma HTTP2620/zero skips, and web unit/coverage126/1664 each.
    Original outer exit2 is preserved; separate identical-byte/Git-object
    snapshot reconciliation, receipt hashes and exact cleanup are verified.
  • Exact-a7 candidate CI45299868150 separately passes three jobs and
    same-digest smoke/Trivy. It is not this PR's exact-tip CI or shipping.
  • Historical-source stage-only performance passes13/17, actual CPU diagnostic
    10/17, and distinct metadata-only batch observation14/17 latency categories.
    Actual50-row flush starts align with preceding-request tails, but async
    completion and causality remain unmeasured. Relative regressions,
    shipping/dev and operator acceptance remain separate; no waiver.
  • Docker Desktop, original volume inventory and protected backups remain
    retained. The optional global Desktop-backed MCP gateway is unmigrated.
  • The product marker describes documentation scope only. Dated source
    hashes and qualification claims are not rewritten; the 30-day age setting
    retains existing warning semantics.

Test/gate self-improvement: applied through the actual-guide admission
controls and existing CI caller, with the pattern added to the central
engineering ledger. Design/architecture disposition: accepted; reuse the
existing manifest/self-test without a new checker, dependency or abstraction.

Standing Rules Acknowledgment

  • No em-dash (Unicode U+2014) anywhere in the diff. Verified via Select-String -Pattern ([char]0x2014). Equivalent added-line scan and normal pre-commit hook passed.
  • No git commit --amend on history that has been pushed.
  • No new credentials, tokens, or secrets committed to source. Forbidden patterns regression spec at api/src/security/forbidden-source-patterns.spec.ts will catch known anti-patterns. Normal pre-commit secret scan passed.
  • Migrations are additive-only (expand-contract for column changes). Migration linter at api/src/scripts/lint-migrations.ts enforces this. N/A; no migrations changed.

Destructive Migration Override (skip if not applicable)

  • This PR contains a NEW destructive Prisma migration (DROP TABLE/COLUMN, ALTER COLUMN ... TYPE, RENAME, INSERT ... SELECT FROM)
  • I have set ALLOW_DESTRUCTIVE_MIGRATION=1 in the CI environment for this PR
  • Justification (required if box above is ticked):
    <!-- Why this destructive change is necessary, what the rollback path is, and which release window it ships in -->
    N/A; no migration or runtime database changes.
    

Reviewer Hint

Diff areas worth special attention from the reviewer:

  • Actual guide registration and marker detection must fail when either is removed.
  • Version-marker currency is not fresh runtime qualification or automatic
    rewriting of dated evidence.
  • The central engineering pattern and R40-R45 record the real escape,
    correction and remaining limitations.
  • Application source, API/web test populations and dependency graphs are unchanged.

Prashant Rane (ALLYIS INC) and others added 3 commits November 23, 2026 18:21
Tests:
- Add six actual-guide marker and manifest controls to the existing self-test.
- Observe three concrete RED assertions, then all 30 assertions GREEN.
Configuration:
- Register canonical readiness with an existing 30-day verification-age warning.
Docs:
- Reconcile merged a7ef000 CI with historical matrix, live and browser scopes.
- Preserve unresolved performance, active matrix and release/Desktop boundaries.
- Record R39/R40 and promote actual-document admission to engineering patterns.

Validation: documentation self-test 30/30; freshness 29/29; JSON examples 3/3.
Whitespace and added-line character checks pass. Existing CI calls the guard.
Tests: +6 governance assertions; API/web/HTTP/live populations unchanged.
Application version 0.55.70 and dependency graphs unchanged.
Design disposition: accepted; reuse manifest/self-test, no new abstraction.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace a transient working-tree label with the lasting documentation-governance scope. Record the prevention pattern so committing context does not immediately stale its status. Documentation-only wording; previously tested marker, manifest and self-test inputs unchanged. Design disposition: accepted; no new abstraction.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Record exact-a7 six-mode PASS and candidate CI image/smoke/Trivy, preserving the original outer verifier failure and separate snapshot reconciliation. Document actual historical-c52 CPU and flush-start observations without claiming performance admission. Preserve existing issue identifiers and record fixture/dispatch lessons. Application code, dependency graph, version, runtime thresholds and Desktop artifacts remain unchanged.

Validation: existing doc freshness self-test30/30 and audit29/29 PASS; three literal JSON fences parse; new RCA definition range unique; six private stage/CPU controls PASS after actual metadata RED. Full merged application matrix remains exact a7 evidence; normal task-branch push and PR checks are separate.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@pranems pranems left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source self-review at exact 4c98516, not independent approval: cumulative scope is seven existing Markdown documents, one existing freshness manifest entry and six new controls in the existing PowerShell self-test. Actual missing-guide/marker RED becomes30/30 GREEN; actual-marker removal/staleness remains detectable, dated qualification evidence is not rewritten, and age expiry retains its existing warning semantics. No application, dependency, hook, deadline, selector or threshold change. New RCA identifiers preserve the existing narrative R39; matrix wrapper failure and separate exact-byte reconciliation are disclosed. Candidate-image and historical profiling sources are distinguished from this PR. No new high-confidence correctness finding. Normal explicit-ref Fast push passed29/29 at this exact tip; exact-tip PR CI is still pending. Test/gate improvement applied through actual-guide coverage and existing CI. Architecture disposition accepted: reuse existing manifest/self-test; no new checker or abstraction.

@pranems
pranems merged commit a0a2a47 into master Nov 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant