Skip to content

fix(runtime): adopt Core 0.19.10 native ownership - #183

Merged
antoinetoussaint-byte merged 5 commits into
mainfrom
dependabot/go_modules/gomod-83e551e4b9
Oct 28, 2026
Merged

antoinetoussaint-byte merged 5 commits into
mainfrom
dependabot/go_modules/gomod-83e551e4b9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Adopt published Core v0.19.10 so newly built Next.js agents use Core’s authenticated-v2 native ownership and corrected process inspection. Preserve dependency carrier d3dcf8e and merge current main 4d0f9f6, retaining the linked-package fixes and release documentation. The agent version remains 0.0.169; these local bytes are not a published Next.js release.

Classification: fix at the dependency adoption boundary. Core owns the writer, birth checks, process groups and stop/recovery behavior; CLI owns preview/expect recovery. This PR reuses the existing native runner, authenticated manager, network mapping APIs, agent deps/build packaging, and receipt parser. It adds no runtime, registry, recovery framework, process matcher, or production runtime edit. The maintained real-agent test and .claude/skills/verify-changes/SKILL.md document and exercise adoption.

Validation on clean 8c9a44f, darwin/arm64, GOWORK=off (parent results explicitly attributed below):

  • agent deps --pin v0.19.10, standalone build verification, go build ./..., go vet ./..., and go mod tidy -diff: pass.
  • go test -json -skip 'TestNextjsLifecycle_Matrix/(docker|nix)' ./...: pass, 177 passing test events. Default opt-ins skip; separate runs below close the native and manifest cases.
  • Real stale-owner regression: pass; stale birth is rejected before delivery and the original disposable process survives unchanged.
  • Actual installed agent native gate: pass. The test retains the authenticated manager launch identity before workload RPCs and requires the current full identity to match immediately before signaling. Later receipt and sibling checks bind back to the retained births. Real Next.js 16.4.1 Load/Init/Start, HTTP after Start RPC cancellation, ordinary Stop/removal, restart, exact-owner death, authenticated-v2 receipt, CLI recovery with group_dead=true and record_removed=true, independent sibling process births preserved, sibling normal Stop/removal.
  • Retained parent 296d42e full scaffold CODEFLY_TEST_RUNNER=1 TestCreateToRun: pass; production and factory sources are unchanged by the test/docs-only correction.
  • Retained parent 296d42e manifest rendering twice, byte comparison, five Core manifest conformance tests, maintained bundle verifier, and ownership scanner on source/both renders: pass.
  • Supported final packaging emits the clean-source binary and matching SBOM. Binary SHA256: 38983372e1d84b7e4258e9e3cc9847e42903f2e24f02be6dae40ccf0fe587359. Embedded Core v0.19.10 sum: h1:rTeh1vph0xGtpiCCt2Dl1AH2Rz9hzIYt1YGcbv6bLYE=.

Local-run limits: no local Docker slot was used. The later hosted CI below supplies native/Docker lifecycle matrix, effective-input and proto-companion evidence; native-cross packaging remains unverified. Nix was explicitly excluded under the isolated-cache constraint, although its executable exists. No Linux runtime, sandbox/principal admission, full CLI composition, or released Next.js artifact is qualified. The selected reviewed CLI uses its recorded local Core source, not a published-pin CLI. The existing declared Go 0.0.56 source packager was reused for final GOWORK=off packaging; its own writer is not claimed upgraded.

The native proof is bounded to the tracked npm group. Next.js 16.4.1 may briefly spawn a detached telemetry flush helper despite telemetry being disabled. Test teardown retries deletion of its own fixture home; it does not claim or signal detached/foreign processes. Audit reports existing upstream GO-2026-4883 and GO-2026-4887; passing audit is not zero vulnerabilities.

Independent source/artifact review closed the original-owner-before-signal finding at exact 8c9a44f. Original manager registration is retained before workload RPCs, stale selection refuses through the same guard used by the positive test, and the recovery receipt is bound to the original birth. Historical pre-correction passes remain weaker execution evidence. Frozen local manifest: nextjs183-r2-manifest.json; full review: codex-native-next-fastapi-owner-correction-review.md.

Linux CI at 8c9a44f passed build, manifest guard, effective-input and proto companion checks, but the standalone stale-birth test observed the authenticated launch shell before it executed sleep. Descendant 6a02740 fixes only that test readiness and its procedure: wait for the retained original identity, fail changed/absent/unauthenticated birth or cancellation, and preserve the signal guard. The focused stale/readiness/cancellation test passed locally; a fresh independent review accepted the correction for new Linux CI. The actual-agent fixture and production sources are unchanged, and earlier native artifact evidence retains its original revision attribution.

Hosted qualification on exact final head 6a02740: run 40643518440 passed all five jobs: build/vet/tidy, test, sync-conformance, effective-inputs-conformance and manifest guard. Logs identify merge checkout 71327e6 into main 4d0f9f6. The corrected standalone stale-birth test passed in both Linux test and manifest jobs (4.13s each); native/Docker lifecycle matrix and explicit double-render/inventory/ownership checks passed. Seven frozen evidence hashes were reverified by root.

Nix, installed-agent ownership and CreateToRun opt-ins remain skipped in this hosted run. The actual installed-agent native binary and positive owner-death evidence remain attributed to 8c9a44f on Darwin/arm64; the final correction only changes standalone readiness testing and its documentation. Linux installed-agent owner-death, full composition, release publication and consumer adoption remain unqualified. The earlier failed 8c9 CI and all historical artifacts remain preserved.

Bumps the gomod group with 1 update: [github.com/codefly-dev/core](https://github.com/codefly-dev/core).


Updates `github.com/codefly-dev/core` from 0.19.4 to 0.19.5
- [Release notes](https://github.com/codefly-dev/core/releases)
- [Changelog](https://github.com/codefly-dev/core/blob/main/docs/releaseupdate.md)
- [Commits](codefly-dev/core@v0.19.4...v0.19.5)

---
updated-dependencies:
- dependency-name: github.com/codefly-dev/core
  dependency-version: 0.19.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gomod
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 25, 2026
@antoinetoussaint-byte
antoinetoussaint-byte marked this pull request as draft October 28, 2026 06:04
@antoinetoussaint-byte antoinetoussaint-byte changed the title build(deps): bump github.com/codefly-dev/core from 0.19.4 to 0.19.5 in the gomod group fix(runtime): adopt Core 0.19.10 native ownership Oct 28, 2026
@antoinetoussaint-byte
antoinetoussaint-byte marked this pull request as ready for review October 28, 2026 06:43
@antoinetoussaint-byte
antoinetoussaint-byte merged commit e2e9c7b into main Oct 28, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/gomod-83e551e4b9 branch October 28, 2026 06:43
@antoinetoussaint-byte

antoinetoussaint-byte commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

A lazybox agent is working on this. codex (o159 packager’s source confirms that native packaging honors the explicit GOWORK selection. Preparation is complete; the build is waiting only on Core10883’s frozen source and focused-test receipt.

• Build preparation is complete. Core10883 has been asked for the immutable source and focused-test receipt; the authorized native-only build can proceed when they arrive.

The handoff will include the actual private home, installed binary and SBOM paths, hashes, and Core provenance. Old artifacts remain preserved; no Docker or runtime actions.

Worked for 2m 21s • 1:16 PM

› Ask Codex to do anything

GPT-6-Astra · high) started at 2026-10-28 05:17 UTC, last renewed the claim at 2026-10-30 17:24 UTC, and the claim lapses at 2026-10-30 18:24 UTC unless it is renewed again. A claim is an assertion with an expiry, not proof that a process is alive.

claim detail
Lazybox-Claim-Device: effacd542b611010656e
Lazybox-Claim-Session: f570abea0d
Lazybox-Claim-Workspace: github-codefly-dev-service-nextjs-183
Lazybox-Claim-Agent: codex
Lazybox-Claim-Model: o159 packager’s source confirms that native packaging honors the explicit GOWORK selection. Preparation   is complete; the build is waiting only on Core10883’s frozen source and focused-test receipt.

• Build preparation is complete. Core10883 has been asked for the immutable source and focused-test receipt; the          authorized native-only build can proceed when they arrive.

  The handoff will include the actual private home, installed binary and SBOM paths, hashes, and Core provenance. Old     artifacts remain preserved; no Docker or runtime actions.

  Worked for 2m 21s • 1:16 PM                                                                                           

› Ask Codex to do anything

  GPT-6-Astra · high
Lazybox-Claim-Started: 2026-10-28T05:17:10Z
Lazybox-Claim-Heartbeat: 2026-10-30T17:24:13Z
Lazybox-Claim-Expires: 2026-10-30T18:24:13Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant