Skip to content

fix(conformance): preserve captured profile identity in upstream notes - #1128

Merged
777genius merged 1 commit into
mainfrom
fix/e2e-preserved-profile-digest-20261127
Nov 27, 2026
Merged

777genius merged 1 commit into
mainfrom
fix/e2e-preserved-profile-digest-20261127

Conversation

@777genius

@777genius 777genius commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Why

Required on the #1087 E2E follow-up exposed a deterministic profile identity mismatch: job 140198551186 failed fixed profile and schema pins agree with preserved domain contracts at authoring-native-qualification.test.js:1152.

PR #1121 appended an informational upstream status update to conformance/profiles/README.md. conformance/profile.go embeds and hashes the entire file, so that documentation edit changed the public author-document-bounds/v1 digest from 2bffd36f3e4ef0bdc1b25c3153b847542011a01af2f0b35ec31f2bc747952789 to 7dc83792b89d3d4b33015bbaabb32e2e71f0f4d19b380d4637ce3be137615571. The update explicitly intended to preserve the published 1.0 contract; both independent acceptance readers correctly retained its established pin.

Changes

  • Restore the captured profile README byte-for-byte to the reviewed pre-docs(skills): bound Git/local source work and update extensions status #1121 text: 9,012 bytes, SHA-256 2bffd36f3e4ef0bdc1b25c3153b847542011a01af2f0b35ec31f2bc747952789.
  • Preserve the complete November upstream status in the existing docs/AGENTPLUGINS_UPSTREAM_DRAFT.md clarification notes, with explicit links to the historical profile and its extension policy table.
  • Explain why informational status updates live separately from the embedded, byte-hashed profile record.

Profile revision, Go embedding/hash semantics, fixed production admission pins, independent test fixtures, schema bytes, corpus expectations, published 1.0 loading rules, and unsupported 1.1 boundaries are unchanged. The standalone Skill source plan from #1121 is retained unchanged.

Validation

  • Existing strict Required assertion reproduced the exact mismatch before the correction; the same assertion passes afterward: 1 test passed, 0 failed, 0 skipped. No assertion, expected value, or admission exception was changed.
  • Exact byte comparison confirms the restored README equals 7218431d3723e1fafd3757688b4ade966cce6f5b^.
  • Two independent full-diff reviews found no issue and verified the retained upstream facts, profile links, table anchor, and public identity preservation.
  • git diff --check passed; only the two stated documentation files changed.
  • Locally reviewed commit c6f903a73324e40e74e0d99e8e824952789edb85 and this published commit have the exact same tree: eaf1aa1ffd491a4d92abdc852201f9ed0c283834.

The broader local npm attempt ended with SIGKILL after 137.948 seconds, and the executor subsequently became unavailable. That attempt is not a successful full-suite result; its early subprocess-fixture failures were not fully diagnosed. The production qualification explicitly pins Node v22.21.1 and Go go1.26.10; complete qualification remains with the normal source-bound hosted checks.

Continuing qualification

This closes the deterministic pin defect observed while finishing #1087, after #1119, #1125, #1126 and #1127. It does not relabel historical failures or transfer artifacts between source commits. Final Required/npm checks, native Windows concurrency controls, the complete Windsurf/Firebase owned-runtime case, and remaining native client lanes still need their actual hosted results. No release is requested or claimed.

Summary by CodeRabbit

  • Documentation
    • Added a status update to the working draft noting the merge of PR #82 and closure of issue #77, and summarizing the proposed 1.1 handling of malformed extensions.
    • Clarified that published 1.0 behavior, schemas, corpus expectations, and supported versions remain unchanged.
    • Removed the November 2026 status update about the proposal from the conformance profiles README.

Merge and continuing qualification

Ordinary squash merge completed on 2026-11-27 at 01:23:58 UTC: 864829036a932a8c22ab7074b94b79dc70ff8021, parent 472d0b157f21b1b5c2a5b716ccc8f49577e7262f. Git Data independently confirms that the merge, PR head, local reviewed commit and synthetic PR commit 6510a11c2d5621771dad9152ba20e450f120eb68 all have tree eaf1aa1ffd491a4d92abdc852201f9ed0c283834.

The merge used the expected PR head and the ordinary GitHub merge API. Normal source-bound checks continue; queued, running, skipped and cancelled jobs are not successful qualification. The existing failed-source results remain in the record.

Qualification scope and remaining evidence

The final source selectors were independently audited at main 864829036a932a8c22ab7074b94b79dc70ff8021. The embedded profile README is not treated as a documentation-only path. Expected automatic qualification is:

Gate Source and required result
Required Full source tests/npm/pack and separate staged-hermetic on PR head 4e2acd… or main 864829…. The restored-profile assertion must execute.
Authoring native offline Four OS/architecture lanes plus packed qualification and their aggregate. Native Windows must execute the concurrent absent/existing Skill cases and all 14 parent-reader publication cases, with ordinary production builds.
Native Client Runtime All 11 selected cells and 70 required native tests, with no skipped required native test. Keep the actual PR-head checkout identity.
Remaining installation Nine selected cells, including the full 30-case Windsurf plugin audit and actual Firebase fixture index 6. Keep the synthetic checkout 6510a11… plus PR-head identity.
Published Marketing Kit Six real client lanes on the latest eligible harness source after #1126: head a9e302f959196c672d7e11a57f8315dd91d06fac or merge f60cbdf812b63fa4647728666c547947ec5f1147, tree 8fa8908214521db665939e5494ddb2a015785a64, using published UAP 0.1.116. These are separately identified component results, not an execution on 864829….

Windsurf acceptance requires 25 successful installation lifecycles (21 prepared and four active Skills), five exact verified refusals, and both installation and retained-native acceptance flags. Firebase must complete actual whole-tree custody, repeat and removal with the authenticated source/lock/runtime joins. The measured local 22,054-entry fixture only explains the capacity requirement; actual hosted cache membership may vary. Preserve the installation layer's explicit native_runtime_qualified=false limit.

Marketing's workflow, harness and published CLI pins are unchanged between f60cbdf… and 864829…: that comparison contains only ten Authoring files and the two profile documentation files. #1128 does not automatically create a new Marketing run. Existing eligible six-client runs remain the qualification route; old pre-fix or partial results are not substituted for them.

At 2026-11-27 01:43 UTC, the hosted make test-core job passed on actual checkout 6510a11c2d5621771dad9152ba20e450f120eb68, exact tree eaf1aa1ffd491a4d92abdc852201f9ed0c283834. Staged-hermetic passed on both PR and main-push runs; CodeRabbit passed and review threads were empty. The broader Core workflow, full Required/npm and native matrices were still incomplete. This scope record does not claim those pending gates have passed, and no new dispatch, CI rerun, cancellation, runner change or protection override was used.

Windows snapshot observer follow-up — 2026-11-27

PR #1131 was merged normally at 04:27:27 UTC. Its test-only correction addresses the three replacement-test failures in Windows Authoring job 140287944492: ordinary snapshot opens conflicted with the correctly retained private-stage DELETE guard before the rename attack ran. That job passed both concurrent creation cases and all 14 reader-process publication controls, but remains a failed run overall.

The observer now reads through existing rooted APIs, retaining all paths, modes, bytes and literal link targets. A new Windows regression verifies complete guarded-stage and parent snapshots while ordinary/source-reader opens remain refused. Production guards, lifetime, publication, cleanup, attacks and accepted rename errors are unchanged. Local Scaffold/Skills validation passed 172 tests with zero skips; Windows AMD64 test cross-compilation passed, without claiming native execution. Two independent reviews found no issue.

Head cb03f9c856806039424618fcef4d31de736357bb, synthetic PR commit b9993e7df9d3e5d1c1504f89d8515da19e2f89d5, and main merge f75a1b9ee3d1518c519f74d0f8b9c562c3af3503 share the reviewed tree 9b364c850b8f985a96bcb1ded33e2451b55de31a. Fresh Required, Authoring and Native Client Runtime checks are pending. Existing installation/Marketing component reports retain their original source identities. No CI rerun, cancellation, dispatch, runner change or protection override was used.

Restore the byte-hashed captured profile text after the informational #1121 update changed its public digest. Keep the complete upstream status in the existing clarification notes without changing profile pins, revision, schemas, admission assertions, or hash semantics.

The exact Required pin assertion fails before restoration and passes afterward. Independent full-diff reviews found no issue. Broader hosted qualification remains pending.
@strix-security

Copy link
Copy Markdown

Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here.

So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The draft documentation now records the upstream PR merge, issue closure, and draft 1.1 change. The conformance profiles README no longer contains the status update. Both documents state that the published 1.0 contract and pinned inputs remain unchanged.

Changes: Upstream status documentation

Layer / File(s) Summary
Move upstream status update
docs/AGENTPLUGINS_UPSTREAM_DRAFT.md, install/integrationctl/agentplugins/conformance/profiles/README.md
The draft document adds the upstream status update and describes the draft 1.1 change. The README removes its status update. Both describe the published 1.0 contract and pinned inputs as unchanged.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Merge Risk: Minimal · up to 4e2ac

This change is documentation-only. It restores the embedded profile README to match its established digest pin and moves the upstream status note to the draft document. Merge risk is minimal; hosted checks should confirm.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title is related to the changeset. The PR restores the captured profile README to its pre-change bytes and moves the upstream status notes into docs/AGENTPLUGINS_UPSTREAM_DRAFT.md, so 'preserve ca…
Description check Passed The description covers the required structure in substance. It has a clear Why and Changes section, and it gives detailed validation evidence. It does not use the template headings: Summary, Verificat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title is related to the changeset. The PR restores the captured profile README to its pre-change bytes and moves the upstream status notes into docs/AGENTPLUGINS_UPSTREAM_DRAFT.md, so 'preserve captured profile identity in upstream notes' describes the main change. The title is slightly technical but specific and accurate, and it does not include file lists or vague terms.

Full details: Description check

Explanation

The description covers the required structure in substance. It has a clear Why and Changes section, and it gives detailed validation evidence. It does not use the template headings: Summary, Verification, and Release Impact. The Verification checklist is not present. The Release Impact checklist is not present either, although the author states that no public contract changes. The description meets the content requirements, but the template structure is missing.

Resolution

Restructure the description to follow the repository template. Add the Summary section with what changed and why. Add the Verification checklist with go test ./..., make lint, make vet, make generated-check, and added or updated focused tests, marking each as done or not run. Add the Release Impact checklist and mark the applicable items, such as no public contract change and docs updated.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 472d0b1 and 4e2acd9.

Files selected for processing: 2

  • docs/AGENTPLUGINS_UPSTREAM_DRAFT.md
  • install/integrationctl/agentplugins/conformance/profiles/README.md
Files with no reviewable changes: 1

  • install/integrationctl/agentplugins/conformance/profiles/README.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.38%. Comparing base (f60cbdf) to head (4e2acd9).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1128   +/-   ##
=======================================
  Coverage   64.37%   64.38%           
=======================================
  Files        2352     2353    +1     
  Lines      143065   143080   +15     
=======================================
+ Hits        92104    92118   +14     
+ Misses      37898    37895    -3     
- Partials    13063    13067    +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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