Skip to content

docs(sccm): harden client health workflow corpus (#320) - #340

Merged
adamgell merged 3 commits into
codex/parser-family-skeletonfrom
codex/sccm-320-health-corpus-fix
Jul 30, 2026
Merged

docs(sccm): harden client health workflow corpus (#320)#340
adamgell merged 3 commits into
codex/parser-family-skeletonfrom
codex/sccm-320-health-corpus-fix

Conversation

@adamgell

Copy link
Copy Markdown
Owner

Scope

Issue-scoped synthetic health/location corpus preparation for #320:

  • nine independent scenarios and 37 unique physical artifacts
  • setup, service/evaluation, identity, site/MP location, and transport evidence design
  • markers embedded in first semantic CCM records, never marker-only parser records
  • physical artifact IDs separated from SCCM Client: add deterministic intake, coverage, and corpus foundation #319 logical catalog IDs
  • single shared LocationServices.log capture with sorted memberships
  • exact bytes, encoding, collection limits, capture chronology, and explicit partial fragments
  • exact physical evidence references and conservative confidence constraints

This PR adds no production reducer or speculative shared interface.

Dependency state

Production #320 implementation remains blocked on reviewed #318/#319 evidence and intake contracts. Workflows remain independent; health output is not required by policy/deployment/update reducers.

Verification

  • exact-byte corpus validator — 9 scenarios / 18 JSON / 37 artifacts / 23 evidence files / 20 complete CCM / 3 fragments, pass
  • path/reference/no-orphan/privacy/marker/chronology/confidence checks — pass
  • cargo test --locked -p cmtraceopen-parser — 571 passed
  • strict parser Clippy — pass
  • wasm32 check — pass
  • npx tsc --noEmit — pass
  • diff/status checks — pass

Repo-wide formatting remains red only for inherited unrelated ESP/Tauri drift; this corpus slice changes no Rust source.

CodeRabbit and independent semantic review are requested. Native Windows acceptance is not claimed.

Refs #320
Refs #317

Copilot AI review requested due to automatic review settings July 30, 2026 19:09

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

Please review the full #320 corpus range for marker/framing integrity, physical-versus-logical identity, shared-source membership, exact capture provenance, conservative incomplete/malformed/rotation behavior, keyed recovery/contradiction separation, and no production/native claims.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@adamgell, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 2 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ff0dd907-92eb-4a4d-b97f-3667405020a2

📥 Commits

Reviewing files that changed from the base of the PR and between f2caccf and 03a6f5f.

⛔ Files ignored due to path filters (22)
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/contradictory/evidence/client-ccmsetup/current/ccmsetup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/identity-failure/evidence/client-ccmsetup/current/ccmsetup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/identity-failure/evidence/client-evaluation/current/CcmEval.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/identity-failure/evidence/client-identity/current/ClientIDManagerStartup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/incomplete/evidence/client-ccmsetup/current/ccmsetup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/incomplete/evidence/client-evaluation/current/CcmEval.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/malformed/evidence/client-ccmsetup/current/ccmsetup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/malformed/evidence/client-evaluation/current/CcmEval.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/evidence/client-ccmsetup/current/ccmsetup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/evidence/client-evaluation/current/CcmEval.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/evidence/client-identity/current/ClientIDManagerStartup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/evidence/client-location-services-shared/current/LocationServices.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/rotation-boundary/evidence/client-ccmsetup/current/ccmsetup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/setup-failure/evidence/client-ccmsetup/current/ccmsetup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/evidence/client-ccmsetup/current/ccmsetup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/evidence/client-evaluation/current/CcmEval.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/evidence/client-identity/current/ClientIDManagerStartup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/evidence/client-location-services-shared/current/LocationServices.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/evidence/client-ccmsetup/current/ccmsetup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/evidence/client-evaluation/current/CcmEval.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/evidence/client-identity/current/ClientIDManagerStartup.log is excluded by !**/*.log
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/evidence/client-location-services-shared/current/LocationServices.log is excluded by !**/*.log
📒 Files selected for processing (20)
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/contradictory/expected.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/contradictory/manifest.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/identity-failure/expected.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/identity-failure/manifest.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/incomplete/expected.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/incomplete/manifest.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/malformed/expected.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/malformed/manifest.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/expected.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/manifest.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/rotation-boundary/evidence/client-ccmsetup/lo/ccmsetup.log.lo_
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/rotation-boundary/expected.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/rotation-boundary/manifest.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/setup-failure/expected.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/setup-failure/manifest.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/expected.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/manifest.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/expected.json
  • crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/manifest.json
  • docs/sccm/preparation/issue-320-client-health-corpus.md

Comment @coderabbitai help to get the list of available commands.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

@adamgell: I’ll perform a full review of #340, specifically checking the #320 corpus for the requested evidence-model, framing, provenance, and scope-boundary guarantees.

✅ Action performed

Full review finished.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 43 minutes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a synthetic, preparation-only SCCM client-health corpus for issue #320, documenting intended conservative diagnostic behavior and providing scenario fixtures (manifests, expected outcomes, and minimal CCM-style evidence) without introducing production code or public contracts ahead of #318/#319.

Changes:

  • Add a preparation spec document describing scope, workflow boundaries, scenario matrix, and future test expectations for SCCM client-health.
  • Add nine scenario fixture bundles under cmtraceopen-parser tests/fixtures, each with a proposed manifest.json, expected.json, and only the referenced evidence files.
  • Include explicit malformed/fragment/rotation-boundary evidence cases to constrain future reducer behavior conservatively.

Reviewed changes

Copilot reviewed 20 out of 42 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
docs/sccm/preparation/issue-320-client-health-corpus.md Corpus preparation spec, scenario matrix, and future test/reducer constraints for #320.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/manifest.json Proposed fixture manifest for the transport-failure scenario.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/expected.json Proposed expected workflow/finding output contract for transport-failure.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/evidence/client-location-services-shared/current/LocationServices.log Synthetic CCM evidence for MP selection + transport request/terminal failure correlation.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/evidence/client-identity/current/ClientIDManagerStartup.log Synthetic CCM evidence for identity registration success (pre-transport).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/evidence/client-evaluation/current/CcmEval.log Synthetic CCM evidence for service evaluation success (pre-identity).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/transport-failure/evidence/client-ccmsetup/current/ccmsetup.log Synthetic CCM evidence for bootstrap completion (pre-service).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/manifest.json Proposed fixture manifest for the success scenario.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/expected.json Proposed expected workflow output contract for success (no diagnosis).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/evidence/client-location-services-shared/current/LocationServices.log Synthetic CCM evidence for site assignment + MP selection + transport success.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/evidence/client-identity/current/ClientIDManagerStartup.log Synthetic CCM evidence for identity registration success.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/evidence/client-evaluation/current/CcmEval.log Synthetic CCM evidence for service evaluation success.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/success/evidence/client-ccmsetup/current/ccmsetup.log Synthetic CCM evidence for bootstrap completion.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/setup-failure/manifest.json Proposed fixture manifest for the setup-failure scenario (downstream artifacts absent).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/setup-failure/expected.json Proposed expected workflow/finding output contract for setup-failure.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/setup-failure/evidence/client-ccmsetup/current/ccmsetup.log Synthetic CCM evidence for terminal bootstrap/setup failure.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/rotation-boundary/manifest.json Proposed fixture manifest for rotation-boundary (split/incomplete rotations).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/rotation-boundary/expected.json Proposed expected workflow/finding output contract for rotation-boundary.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/rotation-boundary/evidence/client-ccmsetup/lo/ccmsetup.log.lo_ Synthetic split-record fragment (rotation .lo_) for rotation-boundary case.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/rotation-boundary/evidence/client-ccmsetup/current/ccmsetup.log Synthetic split-record fragment (current) for rotation-boundary case.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/manifest.json Proposed fixture manifest for no-site-or-mp scenario.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/expected.json Proposed expected workflow/finding output contract for no-site-or-mp.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/evidence/client-location-services-shared/current/LocationServices.log Synthetic evidence for incomplete location/site/MP sequence + unkeyed transport symptom.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/evidence/client-identity/current/ClientIDManagerStartup.log Synthetic identity registration success evidence.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/evidence/client-evaluation/current/CcmEval.log Synthetic service evaluation success evidence.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/no-site-or-mp/evidence/client-ccmsetup/current/ccmsetup.log Synthetic bootstrap completion evidence.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/malformed/manifest.json Proposed fixture manifest for malformed scenario (unclosed CCM record).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/malformed/expected.json Proposed expected workflow/finding output contract for malformed.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/malformed/evidence/client-evaluation/current/CcmEval.log Synthetic malformed/unclosed CCM record evidence for service/evaluation.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/malformed/evidence/client-ccmsetup/current/ccmsetup.log Synthetic bootstrap completion evidence (pre-malformed hop).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/incomplete/manifest.json Proposed fixture manifest for incomplete scenario (access-denied + absent coverage).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/incomplete/expected.json Proposed expected workflow/finding output contract for incomplete.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/incomplete/evidence/client-evaluation/current/CcmEval.log Synthetic service evaluation success evidence (pre-coverage gaps).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/incomplete/evidence/client-ccmsetup/current/ccmsetup.log Synthetic bootstrap completion evidence (pre-coverage gaps).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/identity-failure/manifest.json Proposed fixture manifest for identity-failure scenario.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/identity-failure/expected.json Proposed expected workflow/finding output contract for identity-failure.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/identity-failure/evidence/client-identity/current/ClientIDManagerStartup.log Synthetic identity terminal failure evidence.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/identity-failure/evidence/client-evaluation/current/CcmEval.log Synthetic service evaluation success evidence (pre-identity failure).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/identity-failure/evidence/client-ccmsetup/current/ccmsetup.log Synthetic bootstrap completion evidence (pre-identity failure).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/contradictory/manifest.json Proposed fixture manifest for contradictory scenario (different bootstrap keys).
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/contradictory/expected.json Proposed expected workflow/finding output contract for contradictory.
crates/cmtraceopen-parser/tests/fixtures/sccm/client/health/contradictory/evidence/client-ccmsetup/current/ccmsetup.log Synthetic contradictory bootstrap failure+success evidence with distinct bootstrap IDs.

Comment thread docs/sccm/preparation/issue-320-client-health-corpus.md Outdated

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

Please review current head 03a6f5f; the Copilot wording finding is fixed, while the existing #320 fixture/provenance and conservative-diagnosis guarantees remain unchanged.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

@adamgell I’ll perform a full review of current head 03a6f5f, including the #320 corpus framing, identity separation, shared-source/provenance integrity, and conservative diagnosis guarantees.

✅ Action performed

Full review finished.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 2 minutes.

@adamgell
adamgell merged commit 3c2ac36 into codex/parser-family-skeleton Jul 30, 2026
1 check passed
adamgell added a commit that referenced this pull request Aug 4, 2026
Reviewed client health/location synthetic workflow corpus. Production reducer remains blocked on approved #318/#319 interfaces; no native Windows acceptance is claimed.
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.

2 participants