Repository navigation
release: activate governed npm Trusted Publishing and verify v1.15.4 candidate #58
Copy link
Copy link
Open
Description
Scope
Prepare the now-merged Cortex Agent governed npm Trusted Publishing automation for a future real publication, without claiming v1.15.4 is already live. Exact merged source baseline: product main@a386e79a5471747b119220346436b5142b66c677, root version 1.15.4. PRs #48 (CLI hotfix), #55 (governed publish), #51 (metadata + changelog) were squash-merged in order by explicit owner chat instruction on 2026-10-10.
Verified post-merge technical evidence
- Automatic Preflight on final main: GitHub Actions job SUCCESS on exact final main. Real logs: 22/22 release contract cases, 271/271 M-040 product cases, 9/9 real top-level
reconcileCLI tests, npm pack dry run successful. - Root
package.jsonversion 1.15.4, version-parity conformance installed. Product.agentgitlink remains6d44b489f31dbee9bf42ec73bb406ffb5063f3ea. v1.15.4Git tag was NOT_FOUND after merge. npm Registry latest/version NOT independently verified. No npm workflow publishpublish=truerun took place.- Existing
npm-release.ymlremains GitHub Actions Trusted Publishing / OIDC and exact filename.npm-release-preflight.ymlis read-only and does not publish on merge. The release workflow supports manualworkflow_dispatchand event-based owner command, both guarded by the same release verifier.
One-time activation checklist
- Verify npm Trusted Publisher settings for package
cortex-agent: GitHub ownerKucell, repocortex-agent, workflow filenpm-release.yml; verify OIDC in a controlled release run. Do not set npm write token. - Configure GitHub repo secret
CORTEX_GOVERNANCE_READ_TOKENwith minimal read-only private governance repo access toKucell/cortex-agent-agentdecisions/andwaitpoints/; use renewable GitHub App credentials where supported. Record source/scope/expiry but never raw credential value. - Configure repository variable
CORTEX_AUTO_RELEASE_ENABLED=trueonly after authority and reviewer policy checks; keep it unset/false until then. - Verify authoritative sole Owner, Lease/Fencing and canonical GovernanceStore revision; create exact-final-main
release:cortex-agent@<actual SHA>Decision approved by interactive-user plus matching owner-released Waitpoint (cannot synthesize them from a PR comment). - Resolve independent Reviewer eligibility. The merged PR chore(release): prepare v1.15.4 version parity and release notes #51 has only same-author
COMMENTEDreviews, no different-accountAPPROVED. The shipped verifier intentionally REJECTS this situation, even though an owner instructed merging in chat. Therefore a release triggered today will BLOCK at reviewer gate. Options: create a fresh strictly scoped, independently reviewed, last-merged release-prep PR and issue new exact-head Decision/Waitpoint; or propose and formally approve a resource-scoped review waiver policy as a separate security proposal, with explicit verifier test coverage. Do not falsify past review history or bypass the gate. - Validate npm Registry
cortex-agent@1.15.4not already published andv1.15.4tag missing or matches exact candidate before any write. - Run existing
npm Releaseworkflow onmainwithrelease_type=current,dist_tag=latest,publish=falseto obtain a real full dry-run; read-only preflight PASS is not identical to the release workflow's own dry-run. - On valid authorization and review, publish through existing npm OIDC workflow only. Manual
publish=trueneeds release_pr, expected_sha, decision_id, waitpoint_id; owner-comment path needs exact/cortex-release publish v1.15.4 decision=<ID> waitpoint=<ID>on the merged authorized release-prep PR. - Verify npm Registry exact
cortex-agent@1.15.4, intended dist-tag, Git Tagv1.15.4, GitHub Release, Actions run/job, and package integrity. If a step fails, use workflow's documentedcurrentsafe resume and new resource-bound approval if HEAD changed. - Track separately the checkout post-cleanup error
No url found for submodule path '.agent' in .gitmodulesas Issue #49.
Status
MERGED / AUTOMATIC_PREFLIGHT_PASS / AUTO_PUBLISH_OPT_IN_NOT_VERIFIED / INDEPENDENT_REVIEW_GATE_BLOCKED / NPM_PUBLISH_NOT_RUN. The current main is not an approved release simply because the owner asked to merge PRs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
Kucell commentedon Oct 10, 2026
Release activation status — user reports configuration completed (2026-10-10)
The user reports that the GitHub configuration requested for governed publication has been completed. This is a user-reported setup status, not tool-verified secret/variable state. This GitHub connector cannot read repository Actions Secrets or Variables metadata (these endpoints are unavailable to its fetch capability); we did not read, expose or copy the credential.
Verified after the report:
package.jsonversion: 1.15.4.v1.15.4: not found; GitHub Releasev1.15.4: not published.Remaining verifiable gates:
CORTEX_GOVERNANCE_READ_TOKENhas the intended read-only access to privateKucell/cortex-agent-agentand repository variableCORTEX_AUTO_RELEASE_ENABLEDremainsfalseuntil checks are complete.publish=falsedry run skips private governance authorization, so it CANNOT prove the token works.APPROVEDreview. The installed automated release verifier fails closed, including for manualpublish=true. A reviewed, exact-final-main release candidate and canonical release Decision + matching owner-released Waitpoint are still needed, or an approved and tested change to reviewer policy (never a fabricated review).npm-release.ymlOIDC trusted-publisher flow and verify actual npm version, Git Tag, GitHub Release and workflow evidence.Do not enable automatic publishing or post a publish command merely to test whether the secret exists.
Kucell commentedon Oct 10, 2026
PR #59 merged — real governance credential proof PASS (2026-10-10)
User explicitly approved merging PR #59, which was successfully squash-merged as product main commit
92ec58c9b05391c0b46d285cfe05618a56f8719d.Actual GitHub Actions run 38027297424, on this exact main SHA:
contract-testsSUCCESS.verify-private-readSUCCESS. Job 114140780847 printed only: “Private governance read access verified for 2 records; auto publish remains disabled.”CORTEX_AUTO_RELEASE_ENABLED=false(confirmed by its success in the GitHub runner). Keep disabled until remaining release approvals are complete.Status: CREDENTIAL_READ_VERIFIED / AUTO_RELEASE_DISABLED / NPM_1_15_4_NOT_PUBLISHED.
Kucell commentedon Oct 10, 2026
v1.15.4 single-maintainer release deadlock remediation — 2026-10-10
The user explicitly approved the single-maintainer release policy direction. Concrete GitHub work:
d59bb2c48c74d89f0694656276b6c1209aec2b33; this is the currently observed productmaincommit and candidate version remains 1.15.4.18dd3b4f223d5df7a08b8e4fd411a92efb077378: Automatic Preflight #38027736150 PASS: gate/contract tests 25/25, M040 271/271, real reconcile CLI 9/9, npm pack; M040 validation #38027736086 PASS.a386e79a5471747b119220346436b5142b66c677is a verified ancestor of current product main. New verifier no longer requires it to equal current main only when a real approved, resource-bound Decision explicitly selectsapprove-single-maintainerfor v1.15.4. All other release paths retain independent review and current-source validity. Any outstanding CHANGES_REQUESTED still blocks publication.falseby that runner.npm Releaserun has been observed. Never label this version published based on code merging.Final release prerequisites:
d59bb2c48c74d89f0694656276b6c1209aec2b33must be verified as frozen/validated. Run existingnpm Releasedry-run via workflow_dispatch on main withrelease_type=current, dist_tag=latest, publish=false(still safe/does not need release Decision)./releaseOwner must create an open Decision and Waitpoint bound to exactlyrelease:cortex-agent@d59bb2c48c74d89f0694656276b6c1209aec2b33, record the user's informed version-specific decision using selected optionapprove-single-maintainerand explicit rationale, then release matching Waitpoint via the owning workflow after verifying live Owner/Lease. Do not fabricate these with PR comments or replay v1.15.0 approvals.CORTEX_AUTO_RELEASE_ENABLED=trueonly after the above, and the repo owner must post the exact/cortex-release publish v1.15.4 decision=D-... waitpoint=WP-...on merged release-prep PR chore(release): prepare v1.15.4 version parity and release notes #51. Runner rechecks current main, file allowlist, ancestry, user-approved governance and tag before npm OIDC publish.publish=true, supplyrelease_pr=51, expected_sha=d59bb2c48c74d89f0694656276b6c1209aec2b33and the exact approved Decision/Waitpoint IDs; same authority Gate applies.cortex-agent@1.15.4, npm latest dist-tag, v1.15.4 Git Tag and GitHub Release and log their real run IDs.This update is coordination / release candidate evidence, not itself an authoritative Decision/Waitpoint/Owner/Lease write or npm effect. Current connected GitHub API supports PR/commit/issue operations but does NOT expose GitHub Actions
workflow_dispatchtrigger; that is an execution limitation, not evidence of publication.Kucell commentedon Oct 10, 2026
v1.15.4 — actual full npm Release dry-run PASS (2026-10-10)
Verified user-linked workflow run 38028994572 / job 114145784562 through GitHub API and job logs.
NEXT: a real verified Governance Owner must bind an approved release Decision selecting the explicitly permitted approve-single-maintainer option, with v1.15.4-specific rationale and matched owner-released Waitpoint for release:cortex-agent@d59bb2c. A chat message/issue comment is not canonical governance authority.
Once the formal gate exists, the existing npm-release.yml OIDC workflow can run from main: release_type=current; dist_tag=latest; publish=true; release_pr=51; expected_sha=d59bb2c48c74d89f0694656276b6c1209aec2b33; decision_id and waitpoint_id from real private governance records. Do not use an ad hoc npm token or skip the verifier. The auto-release repo flag remains disabled until actual approval is completed.
State: DRY_RUN_PASS / CANONICAL_RELEASE_GATE_PENDING / NPM_PUBLISH_NOT_RUN. Direct npm registry status could not be independently checked from this runtime; tag/release absent at inspection.
Kucell commentedon Oct 10, 2026
EXPLICIT USER RELEASE REQUEST — cortex-agent@1.15.4 latest
The user explicitly instructs: “发布”. This refers to the already validated cortex-agent@1.15.4 release candidate on product main d59bb2c and npm dist-tag latest. Previous user approval explicitly covers the single-maintainer path, but this comment is only durable evidence of user intent, NOT a canonical Decision or released Waitpoint.
Live verification: main SHA unchanged, npm Release dry-run #38028994572 on that exact SHA PASSED with current/latest/publish=false. No v1.15.4 tag or GitHub Release; no successful publish=true workflow run. Existing owner-comment runs are SKIPPED because auto-release is disabled as requested.
BLOCKERS to perform the real effects: canonical Owner /release must register a new resource-bound v1.15.4 Decision with selected option approve-single-maintainer and an owner-released matching Waitpoint for release:cortex-agent@d59bb2c. The ChatGPT GitHub connector exposes no GitHub Actions workflow_dispatch operation, so it cannot directly start publish=true, even once the Decision is available. Do NOT fabricate approval IDs, publish via PAT/CLI outside OIDC, or flip auto-release variable without explicit activation gate.
Once authoritative records exist, start existing npm-release.yml from main: release_type=current; dist_tag=latest; publish=true; release_pr=51; expected_sha=d59bb2c48c74d89f0694656276b6c1209aec2b33; decision_id=; waitpoint_id=. Verify registry, tag, release and exact run before marking done.
Recommended owning action: complete the /release Decision/Waitpoint in an authorized governance environment, run the OIDC workflow, post proof here. User should not be asked to redo already passed tests or reconfigure the confirmed private read-only secret.
Kucell commentedon Oct 10, 2026
Simplified owner release implementation MERGED — user approved (2026-10-10)
NEXT OWNER INTERACTION: Open https://github.com/Kucell/cortex-agent/actions/workflows/npm-release.yml, select main, check Publish the prepared current version, Run workflow. No PR number, exact SHA, Decision/Waitpoint fields. Check workflow/job status, npm registry v1.15.4 latest dist-tag, Git tag, GitHub Release. A full safe un-checked dry-run on new main may be used first but publish run itself re-validates everything.
Remaining unrelated issue: GitHub Actions checkout post-job cleanup .agent gitlink missing .gitmodules warning tracked at #49; previous CI checks still concluded success.
Kucell commentedon Oct 10, 2026
v1.15.4 — REAL npm OIDC PUBLICATION SUCCESS (2026-10-10)
Verified the user-reported publication from exact GitHub Actions evidence:
ea360b6697ecac9a37090e7b40df14b8a3585d8fcompleted SUCCESS; real job 114152442848 completed SUCCESS.CORTEX_AUTO_RELEASE_ENABLEDis not needed for explicit manual one-click path.npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access, then+ cortex-agent@1.15.4at 2026-10-10T06:32:17Z. This proves registry accepted the upload. Independent public Registry endpoint check was unavailable in this chat runtime due DNS/network restrictions; this is distinguished from the successful npm CLI receipt.439fcc7048b341286c0ac1d72c743e216ac1b7ddpoints to exact product mainea360b6697ecac9a37090e7b40df14b8a3585d8f.2026-10-10T06:32:18Z, not Draft/Prerelease.STATUS: PUBLISHED / GITHUB_OIDC_JOB_PASS / GIT_TAG_VERIFIED / RELEASE_VERIFIED / AUDIT_RECEIPT. The user no longer needs to configure Token or rerun publication. One-click owner-release path is operational. Automatic comment-triggered publishing remains opt-in and is not implied enabled by this manual release.