Skip to content
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
This repository was archived by the owner on Oct 23, 2026. It is now read-only.

refactor: remove dead runtime/domain compatibility state (C2) #440

Closed

Description

@James3014

C2 cleanup following the settled #413 Dev MCP boundary.

Scope:

  • remove production WorkResumeStore initialization and unused server plumbing;
  • remove dead process/Codex Goal coreMutation fields, getters, writer inspection, replay comparisons, and superseded tests;
  • preserve generic process replay/lifecycle behavior;
  • preserve existing DB schema/migrations and historical persisted-state compatibility artifacts.

Explicit exclusions:

  • no C3 public protocol/schema cleanup beyond deleting now-unused internal plumbing;
  • no C4 Carrier/ControlPlane authority changes;
  • no DB migration/history deletion or reinterpretation;
  • no new abstraction/framework.

Completion requires focused process/Codex/server regressions, typecheck/build, exact-main integration evidence, and runtime closeout if main is merged/deployed.

Derived from the remaining cleanup gate under #413.

Activity

  1. github-actions commented on Oct 8, 2026

    @github-actions

    Authority: RESEARCH_OBSERVATION_ONLY / NO_ENGINEERING_AUTHORITY

    Hybrid replication capture receipt
    {
      "body_gzip_base64": "H4sIAAAAAAACA1WTMW/cMAyF9/sVBLrexWiSqd3qCzoFCJqha2SJtonIokNJvnN/fSnZSZtNhqn3Pj5S7S1YjybkGXr2ni8UBkgjQsSUPDr4cv/1Ds64wGP7BB3n4IysN4fDs+UZvx1OIDjxgjALu2wTcYDfLK+/MOYJnxMLAgVKZDz9MfW3CQ5yyFHFI8qCArPPU6fG3//JOTSuaFqMsWnZ4RV+svHwYlXxMacq9QI9oXfxCIPSoujhIqQHtYwzVpqjKs7erGB5mo1Q5KBlhSHmWa+gU46EMcXiPgtWJhUMKGTfEXaRxlOPdtXEoMPRLMTy6RZeKaaS4PkHRDviZJqJBqmwsZqOWsAqrK0Ud/1Cd4raDm6AiTrylFYwkqg3NkXN+uE6e7KUVN/6HItYST4wtHcw585voIkt+2bz/Zhqhyurr0OPlSzw5bSnT0GjCoXkv/yL6D20RoRQNPmQhP2TNwHB5DQqu8LZ0YQB416vzX502WwNrruhjptFw6tWGtM2t/1ewAuYLiYxdVJNL2bCiy6PttxqGLuA4FsmTVgX1FbuT2vR7DskOGhNzeYIadXpj2hfmy6Td0cNTj1Ok6FQu95hARdyGCxuCyE5JJp0EJ4jck5APWxXIkwoA7rG6Rrwik4Jz7ofi9L0wlN9Mbq5Wlwyfs9+KGPVF6N45Rnd/AUoAyqsbQMAAA==",
      "capture_sha256": "0c2f13fda4eb7a1a8398bf61f5b1824c68f4e506f63d3d4e45c8d844fc05562a",
      "captured_at": "2026-10-08T07:31:55Z",
      "contract_sha256": "43241eeea9a6531b64ad57a64322677c013aeaa5f2a4cb039472f41b4fdf9b52",
      "created_at": "2026-10-08T07:31:46Z",
      "default_branch": "main",
      "issue_number": 440,
      "issue_updated_at": "2026-10-08T07:31:46Z",
      "pre_implementation_revision": "0b7c8e0387cc3f02a358eb2693f7a03783e04205",
      "repository": "James3014/devspace",
      "schema": "nexus.hybrid_replication.capture.v1",
      "source_event_id": "actions:37743996443:1",
      "title": "refactor: remove dead runtime/domain compatibility state (C2)"
    }
  2. added 2 commits that reference this issue on Oct 8, 2026
  3. James3014 commented on Oct 8, 2026

    @James3014
    OwnerAuthor

    C2 source integration completed; Issue closeout remains open for runtime evidence.
    Current-main successor PR #449 had exact head 29d4785, 14/14 GitHub checks including Core PASS, and independent reviewer PASS_FOR_REVIEW. Merged as 0706f3b; later current main a3103fa contains this C2 change plus #399. The protected src/work-resume-integration.test.ts now verifies DIRECT write and physical path containment, so deletion_policy stayed FORBID and temporary governance PR #443 was retired without policy weakening.
    Live Dev M5 runtime still b6cd329, not the merged main. Do not claim deployed/close until canonical activation and live current-release/identity readback satisfy runtime closeout. Old PR #441 was closed as superseded, no double merge.

  4. James3014 commented on Oct 9, 2026

    @James3014
    OwnerAuthor

    Live runtime closeout — Dev M5 activated on exact main 668f5df (contains a3103fa)

    Marker: wave1-m5-live-668f5df6-coordination-bound-20261009

    Governed, coordination-bound cutover executed on Dev M5 (devmini.snowskill.app, launchd com.james.devspace-serve) on 2026-10-09T00:08–00:17Z. Owner-approved contract, no legacy HTTP mutation used.

    Item Value
    Source 668f5df6a84bed09f0c8d8e4f715676cf182a64d (current main; a3103fab is an ancestor, 5 commits behind)
    Build devspace-1.0.7-668f5df6, built on M5 itself (~/.devspace/build-ready/668f5df6….json, verifiedBy devspace-build-ready.sh@JamesdeMac-mini, verifiedAt 2026-10-08T23:54:58Z)
    Release releases/release-668f5df6…-953945b05172f7bb, releaseSha256 953945b05172f7bb09ca994342bc662077463426f23cba59b566f982c706cf56
    Cutover 4323d0b3-6fc6-483c-afa5-05ad55790d01, attemptKey wave1-668f5df6-m5-deploy-20261009, carrier carrier_5cdcfd10 (approved via carrier approve, revoked after close)
    Restart exactly one launchd-self restart via cutover restart-bound (old instance e3016da2… → new 92c3db17-9280-409f-aa43-a8f3165a0a2c, pid 54836)
    Finish finishCutover with exact witness pair ws_2a861da43e / agt_c58e7609; phase closed at 2026-10-09T00:17:30.749Z
    Live readback /healthz and /identity on devmini.snowskill.app: source 668f5df6, build devspace-1.0.7-668f5df6, activation_cutover_id 4323d0b3, cutoverMode normal, reconciliationRequired false; capabilityManifestSha256 fabdc962… equals the contract's expectedIdentity (computed from the new build, not predicted)
    Negative HTTP mutation canary POST /api/cutover/{start,drain,restart,finish} on devmini.snowskill.app → 404 on the live runtime; the unbound legacy cutover surface is no longer reachable
    current-release.json sourceCommit 668f5df6, cutoverId 4323d0b3, previousReleasePath = the b6cd329 release (retained for rollback)

    Notes: the owner sidecar's post-activation healthz probe failed once with fetch failed (stale keep-alive after the ~20 s release copy); recovery followed the bound path (carrier rotate-credential → cutover restart-bound → finish-only sidecar). Tracked separately as a sidecar robustness issue.

    🤖 Generated with Claude Code

  5. James3014 commented on Oct 9, 2026

    @James3014
    OwnerAuthor

    Closing: C2 cleanup is live on Dev M5 (668f5df contains 0706f3b and a3103fa); canonical activation and live current-release/identity readback are recorded in the closeout evidence above.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions