Align Creatidy Kernel with the shared harness, routing and observability architecture #46

Closed
opened 2026-10-04 22:16:07 +00:00 by kilo · 4 comments
Member

Goal

Align the English product assumptions, authoritative architecture/ADRs, integration contracts, roadmap, security/operator documentation and agent context with the owner's shared system architecture. Register all known actionable Kernel gaps G01-G13 as coherent implementation or bounded research/contract tasks, after deduplication. Deliver one documentation PR to current develop with independently reviewed exact-HEAD evidence; leave integration to the owner.

Owner: Kernel (Creatidy/creatidy-kernel). This documentation/planning mandate is explicitly owner-selected upon registration. It does not select or authorize implementation of the registered functional tasks.

Why

Kernel is the work controller, not a second harness or provider/router stack. The agreed target is Kernel -> harness adapter -> existing harness -> task workspace, with inference harness -> Scarcity Router gateway -> permitted execution source. Model Intelligence owns versioned public evidence; Router consumes that evidence and owns selection/admission/pinning/provider execution; Console only presents owner-served state and forwards authorized commands. A narrow historical vertical proof (#143/#166 target tasks) cannot replace the complete known product backlog.

Source: "Creatidy — wspólna architektura systemu", v1.0, 2026-10-04, filename Creatidy_architektura_systemu_2026-10-04.md, owner-supplied SHA-256 4e64121599ac30896afb77574b2fd16cddfc3420afde37108611715c24b56e92; Kernel sections 1-8, 9.2-9.4, 10-18. The full file was not found in this workspace; the owner's detailed brief is the available source and the supplied digest is a reference, not a locally verified file checksum. Preserve Agreed / Verified at a revision / Proposed clarification / To prove. No invented subsection mapping or missing technical decisions.

Current Evidence

Fresh Git fetch and ls-remote confirm canonical origin https://forgejo.creatidy.com/Creatidy/creatidy-kernel.git and develop eb4f4a2956 (D1-06 PR #45 integrated). Working tree clean. Historical reference SHA is the same at this observation, not a mandated old base or proof of deployment. Forgejo lists no active Kernel PR. All 45 issue/PR records were checked for a matching architecture mandate; existing #30 D1 demonstration, #37 bounded execution, #44 public operator and #15 development-review work do not cover this new shared-architecture mandate. Their open state must not be read as proof of missing merged code.

Scope

  • Maintain a requirement -> owner -> revision/path/test evidence -> docs correction -> existing issue/PR -> missing task matrix throughout work, retaining G01-G13 identifiers.
  • Audit ports/execution, core/execution, task_execution, codex_runtime/codex_stdio, scarcity_router, source_cache, sqlite_store, CLI/profile, tests and authoritative docs. Distinguish integrated code, PR proposals, deployment and live acceptance.
  • Prioritize harness/gateway contract proof, meaningful approved TaskSpec requirements, lifetime/recovery, owner-served state, and workspace threats. Cover intake, durable review/remediation, identity/effort/access-mode evidence, outcome exports, end-to-end budgets, multiple tasks, migration and installation/platform acceptance.
  • Register implementation-grade tasks with Goal/Why/Scope/Acceptance Criteria/Constraints/Links, evidence, producer/consumer ownership, dependency-based priority, measurable negative/recovery scenarios, migration/security/diagnostics and reuse obligations. Missing technical solutions become bounded evidence tasks, not fictitious APIs.
  • Update existing English documents in place and add only an owning architecture/ADR artifact where necessary. Preserve historical ADR decisions while marking superseded current assumptions. Remove private operator/#34 rollout instructions as current product prerequisites, not their history.
  • Read other public products only for producer contracts and counterparts. Modify only Kernel files/issues/PR. Recheck counterparts once before handoff and record genuinely absent producer tasks explicitly.

Acceptance Criteria

  1. README, architecture/ADRs, roadmap, contracts, security/operator guidance and agent rules consistently separate current verified behavior from agreed target, proposed clarification and unproven integration. No invented endpoint/payload/CLI flag/protocol version is presented as approved or implemented.
  2. Every G01-G13 Kernel-owned actionable gap has an actual existing or newly registered Forgejo URL with acceptance-criteria comparison; combined tasks demonstrably cover each constituent. Producer-only work remains with Router/MI/Console, with a Kernel consumer task where required. No unregistered TODO substitutes for an available issue mutation.
  3. Current code deviations are stated separately from documentation approval, with evidence, user consequence, priority, issue link and observable closure condition. Known requirements are not dropped as MVP/demo/later work.
  4. Reuse evidence is honest: current local mechanisms retained unless evidence justifies replacement; ACP, Kilo, Codex, Claude SDK, ZCode, Symphony, sandboxes, Rich/OpenTelemetry are candidates until revision/license/service terms/semantics/negative tests/security/maintenance are proved. No new harness/framework is implicitly approved.
  5. Preserve adapters -> ports -> core, A0, immutable durable identities/state, exact-candidate acceptance, effect journal/claim/receipt/reconciliation, inference-free preflight, no secret leakage and no automatic merge/deploy. Runtime unknowns and trusted-development limits stay explicit.
  6. Repository gates make check and make package-check run and are reported exactly; audit only if dependency/tooling changes require it. Validate document links/index/ADR references and no conflicting agent commands. One focused PR targets current develop.
  7. Fresh independent whole-PR review includes backlog completeness and authority claims, freezes base/HEAD and follows native /deliver-issue routing/dispatch-verification and bounded remediation (max 10). Report substantive verdict separately from persisted Forgejo state; missing review infrastructure is an explicit incomplete result, never approval.
  8. Final report includes canonical base/final/reviewed HEAD, issue/PR URLs, unmerged state, changed docs/statuses, G01-G13 matrix, actual created/updated tasks and dependencies, urgent deviations, cross-product contracts/owner decisions, gates/CI/review/budget and no-product-change/no-inference/no-secrets/no-merge confirmation.

Constraints

Documentation/planning only. No implementation of newly planned features, product schema changes, live task or product inference, secrets/services/cost policy/permission/branch-protection changes, merge/release/deploy or main modification. Only a necessary truthful documentation guard may change, never weaken functional tests. No private creatidy-onprem runtime dependency, duplicate Router model catalog/ranking, direct Console SQL, global exactly-once or deterministic-model-response claim. No Program execution exception. Product and development-session budgets are separate.

Reuse And Integration Order

Reuse the durable local ports/controller/state/effect mechanisms first; evaluate standard/native harness control and separately Router gateway compatibility before implementing adapters. Producer contract proof precedes consumer integration; approved requirements precede admission; isolation/lifetime and uncertainty evidence precede live acceptance. Cross-product decisions remain owned by each producer. Research must conclude feasible reuse, demonstrated gap with justified adaptation, or a specific owner decision, not silent BUILD.

Priority And Permissions

First: architectural alignment exposes blockers before further product/live work. Registration is not execution priority authorization. This session permits local safe checks/docs/issue and one PR publication and authorized documentation review only. Future live harness/gateway/cost/notification/effect acceptance requires separately scoped inference/service/effect authority; numerical budgets or policy changes require the owner.

Non-Goals

No implementation queue execution, replacement harness, new routing policy, Console implementation, deployment/readiness claim or closure of functional gaps merely because documents are accepted.

## Goal Align the English product assumptions, authoritative architecture/ADRs, integration contracts, roadmap, security/operator documentation and agent context with the owner's shared system architecture. Register all known actionable Kernel gaps G01-G13 as coherent implementation or bounded research/contract tasks, after deduplication. Deliver one documentation PR to current develop with independently reviewed exact-HEAD evidence; leave integration to the owner. Owner: Kernel (Creatidy/creatidy-kernel). This documentation/planning mandate is explicitly owner-selected upon registration. It does not select or authorize implementation of the registered functional tasks. ## Why Kernel is the work controller, not a second harness or provider/router stack. The agreed target is Kernel -> harness adapter -> existing harness -> task workspace, with inference harness -> Scarcity Router gateway -> permitted execution source. Model Intelligence owns versioned public evidence; Router consumes that evidence and owns selection/admission/pinning/provider execution; Console only presents owner-served state and forwards authorized commands. A narrow historical vertical proof (#143/#166 target tasks) cannot replace the complete known product backlog. Source: "Creatidy — wspólna architektura systemu", v1.0, 2026-10-04, filename Creatidy_architektura_systemu_2026-10-04.md, owner-supplied SHA-256 4e64121599ac30896afb77574b2fd16cddfc3420afde37108611715c24b56e92; Kernel sections 1-8, 9.2-9.4, 10-18. The full file was not found in this workspace; the owner's detailed brief is the available source and the supplied digest is a reference, not a locally verified file checksum. Preserve Agreed / Verified at a revision / Proposed clarification / To prove. No invented subsection mapping or missing technical decisions. ## Current Evidence Fresh Git fetch and ls-remote confirm canonical origin https://forgejo.creatidy.com/Creatidy/creatidy-kernel.git and develop eb4f4a2956712bfaf39a3271e1523e7f77a91e26 (D1-06 PR #45 integrated). Working tree clean. Historical reference SHA is the same at this observation, not a mandated old base or proof of deployment. Forgejo lists no active Kernel PR. All 45 issue/PR records were checked for a matching architecture mandate; existing #30 D1 demonstration, #37 bounded execution, #44 public operator and #15 development-review work do not cover this new shared-architecture mandate. Their open state must not be read as proof of missing merged code. ## Scope - Maintain a requirement -> owner -> revision/path/test evidence -> docs correction -> existing issue/PR -> missing task matrix throughout work, retaining G01-G13 identifiers. - Audit ports/execution, core/execution, task_execution, codex_runtime/codex_stdio, scarcity_router, source_cache, sqlite_store, CLI/profile, tests and authoritative docs. Distinguish integrated code, PR proposals, deployment and live acceptance. - Prioritize harness/gateway contract proof, meaningful approved TaskSpec requirements, lifetime/recovery, owner-served state, and workspace threats. Cover intake, durable review/remediation, identity/effort/access-mode evidence, outcome exports, end-to-end budgets, multiple tasks, migration and installation/platform acceptance. - Register implementation-grade tasks with Goal/Why/Scope/Acceptance Criteria/Constraints/Links, evidence, producer/consumer ownership, dependency-based priority, measurable negative/recovery scenarios, migration/security/diagnostics and reuse obligations. Missing technical solutions become bounded evidence tasks, not fictitious APIs. - Update existing English documents in place and add only an owning architecture/ADR artifact where necessary. Preserve historical ADR decisions while marking superseded current assumptions. Remove private operator/#34 rollout instructions as current product prerequisites, not their history. - Read other public products only for producer contracts and counterparts. Modify only Kernel files/issues/PR. Recheck counterparts once before handoff and record genuinely absent producer tasks explicitly. ## Acceptance Criteria 1. README, architecture/ADRs, roadmap, contracts, security/operator guidance and agent rules consistently separate current verified behavior from agreed target, proposed clarification and unproven integration. No invented endpoint/payload/CLI flag/protocol version is presented as approved or implemented. 2. Every G01-G13 Kernel-owned actionable gap has an actual existing or newly registered Forgejo URL with acceptance-criteria comparison; combined tasks demonstrably cover each constituent. Producer-only work remains with Router/MI/Console, with a Kernel consumer task where required. No unregistered TODO substitutes for an available issue mutation. 3. Current code deviations are stated separately from documentation approval, with evidence, user consequence, priority, issue link and observable closure condition. Known requirements are not dropped as MVP/demo/later work. 4. Reuse evidence is honest: current local mechanisms retained unless evidence justifies replacement; ACP, Kilo, Codex, Claude SDK, ZCode, Symphony, sandboxes, Rich/OpenTelemetry are candidates until revision/license/service terms/semantics/negative tests/security/maintenance are proved. No new harness/framework is implicitly approved. 5. Preserve adapters -> ports -> core, A0, immutable durable identities/state, exact-candidate acceptance, effect journal/claim/receipt/reconciliation, inference-free preflight, no secret leakage and no automatic merge/deploy. Runtime unknowns and trusted-development limits stay explicit. 6. Repository gates make check and make package-check run and are reported exactly; audit only if dependency/tooling changes require it. Validate document links/index/ADR references and no conflicting agent commands. One focused PR targets current develop. 7. Fresh independent whole-PR review includes backlog completeness and authority claims, freezes base/HEAD and follows native /deliver-issue routing/dispatch-verification and bounded remediation (max 10). Report substantive verdict separately from persisted Forgejo state; missing review infrastructure is an explicit incomplete result, never approval. 8. Final report includes canonical base/final/reviewed HEAD, issue/PR URLs, unmerged state, changed docs/statuses, G01-G13 matrix, actual created/updated tasks and dependencies, urgent deviations, cross-product contracts/owner decisions, gates/CI/review/budget and no-product-change/no-inference/no-secrets/no-merge confirmation. ## Constraints Documentation/planning only. No implementation of newly planned features, product schema changes, live task or product inference, secrets/services/cost policy/permission/branch-protection changes, merge/release/deploy or main modification. Only a necessary truthful documentation guard may change, never weaken functional tests. No private creatidy-onprem runtime dependency, duplicate Router model catalog/ranking, direct Console SQL, global exactly-once or deterministic-model-response claim. No Program execution exception. Product and development-session budgets are separate. ## Reuse And Integration Order Reuse the durable local ports/controller/state/effect mechanisms first; evaluate standard/native harness control and separately Router gateway compatibility before implementing adapters. Producer contract proof precedes consumer integration; approved requirements precede admission; isolation/lifetime and uncertainty evidence precede live acceptance. Cross-product decisions remain owned by each producer. Research must conclude feasible reuse, demonstrated gap with justified adaptation, or a specific owner decision, not silent BUILD. ## Priority And Permissions First: architectural alignment exposes blockers before further product/live work. Registration is not execution priority authorization. This session permits local safe checks/docs/issue and one PR publication and authorized documentation review only. Future live harness/gateway/cost/notification/effect acceptance requires separately scoped inference/service/effect authority; numerical budgets or policy changes require the owner. ## Links - Canonical repository: https://forgejo.creatidy.com/Creatidy/creatidy-kernel - Public operator delivery: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/pulls/45 and issues/44 - Historical demonstration: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/30 - Local authority: docs/architecture/, docs/adr/, AGENTS.md, .kilo/rules/, .kilo/command/deliver-issue.md - Router producer: https://forgejo.creatidy.com/BioMedical-IT/scarcity-router - MI producer: https://forgejo.creatidy.com/Creatidy/model-intelligence ## Non-Goals No implementation queue execution, replacement harness, new routing policy, Console implementation, deployment/readiness claim or closure of functional gaps merely because documents are accepted.
Author
Member

Working Coverage Matrix (Initial Audit)

Source for every row: owner brief for shared architecture v1.0, Kernel sections 1-8, 9.2-9.4, 10-18. Exact subsection attribution awaits the original document; not invented here. Audit base: eb4f4a2956. Rows are questions in progress, not completion claims.

Gap Owner of this slice Existing evidence to compare Documentation destination Missing-result question
G01 Kernel harness control Runtime / K6 (#8, PR #26) Runtime contract, architecture, roadmap Existing harness lifecycle, permission, recovery and process-ownership guarantees?
G02 Kernel intake Frozen TaskSpecs (#31/#42), task application Task contract, roadmap Approved ordinary issue preparation and freshness before admission?
G03 Kernel acceptance K4 (#7, PR #21), development review (#15/#19) Verification contract, roadmap Durable product review/remediation, fresh exact candidate verdict?
G04 Kernel consumer; Router producer K8 (#11, PR #28), single binding Allocator/runtime contracts Real gateway, sticky route and auxiliary-call propagation?
G05 Kernel requirements ResourceRequest/reference translation Task/allocator contracts Approved task-level quality/context/interface requirements instead of L0?
G06 Kernel references; MI/Router producers Producer audit in progress Architecture, allocator contract Publication/reference provenance compatibility, no local ranking?
G07 Kernel evidence export K4 outcome + K7 export Evidence/verification contracts Versioned private full outcome/cost evidence and causal limits?
G08 Kernel state; Console consumer CLI, SQLite K2A/K7 State contract, operator/security Owner-served snapshot/events/reconnect/commands/notifications without Console SQL?
G09 Kernel workspace/tool authority K3/K6 trusted-development Workspace/security contracts Demonstrated sandbox/test/reviewer refusal guarantees?
G10 Kernel identity consumer Allocation/runtime identity K6/K8 Allocator/runtime contracts Preserve distinct identity/access-mode/effort and unknown evidence?
G11 Kernel workspace/cache/state Source cache #44/PR #45, SQLite lock Workspace/state/operator contracts Host identity, locking, manual edit detection, cleanup and many tasks?
G12 Kernel task budget; Router call admission Attempt/effect journal/budget Execution/effect/evidence contracts Whole-path multidimensional cost, bounded hidden retry and enforcement?
G13 Kernel distribution/migration Public package/profile #44, SQLite identities Operator/state/roadmap Real ciphertext/state migration, supported contract/platform lifecycle acceptance?

Registration plan will compare full acceptance criteria, not titles. #44/#37/#15 remain open although associated work is integrated; they are not automatic coverage for broader new results. No functional tasks are executed by this mandate.

Delivery branch: issue-46-shared-architecture, based on fetched origin/develop. Fresh review routing tool scarcity_select is absent from this session's advertised tools/resources; this is a potential review-infrastructure blocker to diagnose separately, not permission to substitute an unrouted reviewer.

## Working Coverage Matrix (Initial Audit) Source for every row: owner brief for shared architecture v1.0, Kernel sections 1-8, 9.2-9.4, 10-18. Exact subsection attribution awaits the original document; not invented here. Audit base: eb4f4a2956712bfaf39a3271e1523e7f77a91e26. Rows are questions in progress, not completion claims. | Gap | Owner of this slice | Existing evidence to compare | Documentation destination | Missing-result question | | --- | --- | --- | --- | --- | | G01 | Kernel harness control | Runtime / K6 (#8, PR #26) | Runtime contract, architecture, roadmap | Existing harness lifecycle, permission, recovery and process-ownership guarantees? | | G02 | Kernel intake | Frozen TaskSpecs (#31/#42), task application | Task contract, roadmap | Approved ordinary issue preparation and freshness before admission? | | G03 | Kernel acceptance | K4 (#7, PR #21), development review (#15/#19) | Verification contract, roadmap | Durable product review/remediation, fresh exact candidate verdict? | | G04 | Kernel consumer; Router producer | K8 (#11, PR #28), single binding | Allocator/runtime contracts | Real gateway, sticky route and auxiliary-call propagation? | | G05 | Kernel requirements | ResourceRequest/reference translation | Task/allocator contracts | Approved task-level quality/context/interface requirements instead of L0? | | G06 | Kernel references; MI/Router producers | Producer audit in progress | Architecture, allocator contract | Publication/reference provenance compatibility, no local ranking? | | G07 | Kernel evidence export | K4 outcome + K7 export | Evidence/verification contracts | Versioned private full outcome/cost evidence and causal limits? | | G08 | Kernel state; Console consumer | CLI, SQLite K2A/K7 | State contract, operator/security | Owner-served snapshot/events/reconnect/commands/notifications without Console SQL? | | G09 | Kernel workspace/tool authority | K3/K6 trusted-development | Workspace/security contracts | Demonstrated sandbox/test/reviewer refusal guarantees? | | G10 | Kernel identity consumer | Allocation/runtime identity K6/K8 | Allocator/runtime contracts | Preserve distinct identity/access-mode/effort and unknown evidence? | | G11 | Kernel workspace/cache/state | Source cache #44/PR #45, SQLite lock | Workspace/state/operator contracts | Host identity, locking, manual edit detection, cleanup and many tasks? | | G12 | Kernel task budget; Router call admission | Attempt/effect journal/budget | Execution/effect/evidence contracts | Whole-path multidimensional cost, bounded hidden retry and enforcement? | | G13 | Kernel distribution/migration | Public package/profile #44, SQLite identities | Operator/state/roadmap | Real ciphertext/state migration, supported contract/platform lifecycle acceptance? | Registration plan will compare full acceptance criteria, not titles. #44/#37/#15 remain open although associated work is integrated; they are not automatic coverage for broader new results. No functional tasks are executed by this mandate. Delivery branch: issue-46-shared-architecture, based on fetched origin/develop. Fresh review routing tool scarcity_select is absent from this session's advertised tools/resources; this is a potential review-infrastructure blocker to diagnose separately, not permission to substitute an unrouted reviewer.
Author
Member

Documentation Delivery And Final Coverage

PR: #63
Canonical base: eb4f4a2956
Frozen published HEAD: a90920ae91
Branch: issue-46-shared-architecture -> develop. OPEN, unmerged. No main/release/deploy changes.

17 English documentation/context files changed, no src/tests/tooling/dependency/workflow modifications. ADR 0007 records shared owner direction and available-brief/unverified-file-digest distinction; ADR 0001/0004/0006 retain historical decisions with explicit extension links. README corrects obsolete private operator/#34 gates, task-vs-reference lifetime/cancel/export claims, L0/single-binding/gateway gap, current verifier/source safety and SQLite concurrent-read limits. Owning architecture files contain agreed targets, revision facts, proposed owner-served/reuse clarification, proof gaps and actual registration/priority/acceptance matrix. Brief agent rules point there; no prose Program executor or Router policy added.

Actual Registered Coverage

These are all real OPEN tasks, not implementation acceptance. Each body contains Goal/Why/Scope/Acceptance Criteria/Constraints/Links, revision/path evidence, bounded negative/recovery results, invariants/non-goals, producer/consumer dependencies, reuse, migration/security/diagnostics and future permissions. Existing #4-#13/#31/#32/#37/#42/#44 provide bounded foundations; their narrower AC are compared in docs/architecture/successor.md, not retrospectively broadened.

Gap Verified subset at base / missing result Actual task
G01 Runtime/Codex native subset; no complete session/events/permissions/resume/supervisor proof #47 feasibility, #48 lifetime repair, #53 adapter
G02 Two frozen TaskSpecs, not ordinary approved intake/freshness #49
G03 Pure exact-subject review/remediation seam, reviewer false in task policy, no product dispatcher #54
G04 Durable /v1/select recommendation, not executable gateway route; Router producer #47/#52; Router #174/#178
G05 Reference/128 -> L0 empty minima, no approved task vector #49/#51; Router #175, MI #14
G06 Context/allocation provenance; no utilized MI publication contract #55; MI #13 -> Router #176 -> Kernel retention
G07 Pure outcome values/richer reference export/thin task export, no whole journey collector #58; optional Router #177; MI #17 privacy decision is not local prerequisite
G08 SQLite EXCLUSIVE and offline CLI, no served replay/state API #57; Router #183/MI #16 are separate owner feeds; Console counterpart not found, no direct SQL
G09 Same-user trusted-development, all checks run before final rejection #50; Router #180 owns native-editing authority conflict
G10 Explicit requested/resolved/unknown native model/provider/effort, missing source/access/version dimensions #52 with #47/#53; Router #179/#181 producers
G11 Cache path-only key, no acquisition lock, partial workspace ownership #61 cache/source/cleanup; #59 multi-task/manual edits
G12 Attempt counts, dispatch/per-command limits, no complete money/quota/tokens/time/attention ledger #48 repair/#56 full accounting; Router #184 call enforcement
G13 Existing versioned codecs/package/profile baseline, no real ciphertext/platform reception #62, #61 cache migration; Router #185/#186 and MI #18 producers

#60 receives the installed composed path, never replaces those implementation tasks.

Actual New Task Register

  • #47: existing harness/control vs backend feasibility, first contract prerequisite.
  • #48: original task lifetime/deadline/cancel/freshness, immediate safety repair.
  • #49: ordinary approved/versioned intake/freshness, admission prerequisite.
  • #50: trusted verifier preconditions and actual sandbox denial, immediate untrusted-execution safety.
  • #51: task requirement preservation, after #49 and producer semantic agreement.
  • #52: executable-route/identity consumer, after #47/#51 and producer route/identity/authority/protocol proofs.
  • #53: proved adapter/session composition, after #47 and accepted lifecycle/security.
  • #54: durable independent review/remediation, after approved spec/harness/isolation/policy.
  • #55: frozen utilized-knowledge references, after MI #13/Router #176 conformance.
  • #56: whole-task costs/budgets/retries/tools, after lifecycle/route/review facts and approved policy.
  • #57: owner-served snapshot/events/commands/CLI/notifications preserving SQLite, alongside lifecycle/correlation/ownership contracts.
  • #58: versioned local/private complete export, after #54/#56 and identity facts.
  • #59: multiple-task controller/workspace/manual edits, after #48/#50/#53/#61 and with #57 view.
  • #60: installed end-to-end positive/negative/live reception, after actual component receipts and separate live authority.
  • #61: host-qualified cache/locking/owned cleanup/shared source validation before dispatch, immediate data/identity safety.
  • #62: public contract/state/ciphertext/install/platform migration, accompanies affected changes and precedes #60.

Updated/supplemented: this #46 working matrix; #57 body corrected to actual returned #59/#61 dependencies; #47/#51/#52 producer links/proof/authority notes; #55 frozen MI evidence-cut semantics; #60/#62 actual remaining migration/producer links. Existing #44 received only a link/integrated-status correction, not new scope: target #143/#166 belong to BioMedical-IT/scarcity-router. No issue was closed. No new work left as unregistered DEFER/TODO.

Urgent Deviations / Closure

Detailed fact/user-impact/closure table is in successor.md and PR body: asynchronous task transport teardown and renewed recovery deadline (#48); verifier executes rejected-scope tooling and no real sandbox (#50); hostless cache/unowned replacement/no acquisition lock and run override bypass (#61); unapproved L0 requirements/no gateway (#49/#51/#47/#52); no product review (#54); incomplete whole-task costs (#56), export (#58) and concurrent owner-served state (#57). Close with specific delayed-turn/recovery/refusal/no-execution/two-host-interleaving/pin-and-call/cold-review/reconnect/usage evidence, not prose approval.

Router D-063's admin-authorized ZCode workspace edits conflict with the new Kernel/harness task owner target. Router #180 owns explicit authority/migration decision before affected integration; no producer implementation was deleted/relabelled. Genuine remaining decisions include proved process/supervisor handoff, security profile, contested identity/publication/event auth/retention where ungoverned and separately approved numerical budget/privacy/effect scopes. Routine defects/provider waits are not Human Gates.

Validation And Review State

At frozen a90920ae91, repeated make check PASS (966 tests, 0 typing errors/warnings, import/lint/format/locked deps/secret scan/diff); repeated make package-check PASS (wheel/sdist reproducibility, isolated installed offline CLI replay/export). Focused uv run --locked pytest tests/test_repository.py tests/test_boundaries.py PASS, 6 tests, including final ADR wording; unchanged command header literal YAML parse PASS. Git staged/branch/full diff/status/history/published base/head inspected; final working tree clean. No required dependency/tooling local make audit trigger; no local audit run claimed.

Canonical CI run 2197 / run number 79: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/actions/runs/79, metadata success for EXACT a90920ae91. Per-job API returned 404; individual job log output was not independently available, so only overall metadata success is claimed.

REVIEW_INFRASTRUCTURE_BLOCKED remains: no advertised scarcity_select tool; general and targeted MCP discovery offered no usable Router routing interface. No fresh route/dispatch/resolution, no independent verdict/reviewed HEAD, no formal Forgejo reviews (verified empty review list), remediation 0/10. Research agents/author gates are not independent review. No REST/config/permission change, guessed model, other-session transcript or self-approval workaround. Exact whole-PR/backlog review must occur in the sanctioned routed environment before owner merge. The native link_pr helper rejects Forgejo URLs; PR creation/readback itself succeeded through canonical MCP.

Final safety boundary: no product implementation/schema/test weakening, real task/product inference, secrets/services/cost-policy/permissions/branch-protection changes, other-product writes, merge/release/deploy or main modification. Documentation and registered work are delivered; independent-review acceptance is incomplete. This is not READY_FOR_LIVE_TASK or product gap closure.

## Documentation Delivery And Final Coverage PR: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/pulls/63 Canonical base: eb4f4a2956712bfaf39a3271e1523e7f77a91e26 Frozen published HEAD: a90920ae91cb6807d7c844f803369a0f03f74d0c Branch: issue-46-shared-architecture -> develop. OPEN, unmerged. No main/release/deploy changes. 17 English documentation/context files changed, no src/tests/tooling/dependency/workflow modifications. ADR 0007 records shared owner direction and available-brief/unverified-file-digest distinction; ADR 0001/0004/0006 retain historical decisions with explicit extension links. README corrects obsolete private operator/#34 gates, task-vs-reference lifetime/cancel/export claims, L0/single-binding/gateway gap, current verifier/source safety and SQLite concurrent-read limits. Owning architecture files contain agreed targets, revision facts, proposed owner-served/reuse clarification, proof gaps and actual registration/priority/acceptance matrix. Brief agent rules point there; no prose Program executor or Router policy added. ## Actual Registered Coverage These are all real OPEN tasks, not implementation acceptance. Each body contains Goal/Why/Scope/Acceptance Criteria/Constraints/Links, revision/path evidence, bounded negative/recovery results, invariants/non-goals, producer/consumer dependencies, reuse, migration/security/diagnostics and future permissions. Existing #4-#13/#31/#32/#37/#42/#44 provide bounded foundations; their narrower AC are compared in docs/architecture/successor.md, not retrospectively broadened. | Gap | Verified subset at base / missing result | Actual task | | --- | --- | --- | | G01 | Runtime/Codex native subset; no complete session/events/permissions/resume/supervisor proof | #47 feasibility, #48 lifetime repair, #53 adapter | | G02 | Two frozen TaskSpecs, not ordinary approved intake/freshness | #49 | | G03 | Pure exact-subject review/remediation seam, reviewer false in task policy, no product dispatcher | #54 | | G04 | Durable /v1/select recommendation, not executable gateway route; Router producer | #47/#52; Router #174/#178 | | G05 | Reference/128 -> L0 empty minima, no approved task vector | #49/#51; Router #175, MI #14 | | G06 | Context/allocation provenance; no utilized MI publication contract | #55; MI #13 -> Router #176 -> Kernel retention | | G07 | Pure outcome values/richer reference export/thin task export, no whole journey collector | #58; optional Router #177; MI #17 privacy decision is not local prerequisite | | G08 | SQLite EXCLUSIVE and offline CLI, no served replay/state API | #57; Router #183/MI #16 are separate owner feeds; Console counterpart not found, no direct SQL | | G09 | Same-user trusted-development, all checks run before final rejection | #50; Router #180 owns native-editing authority conflict | | G10 | Explicit requested/resolved/unknown native model/provider/effort, missing source/access/version dimensions | #52 with #47/#53; Router #179/#181 producers | | G11 | Cache path-only key, no acquisition lock, partial workspace ownership | #61 cache/source/cleanup; #59 multi-task/manual edits | | G12 | Attempt counts, dispatch/per-command limits, no complete money/quota/tokens/time/attention ledger | #48 repair/#56 full accounting; Router #184 call enforcement | | G13 | Existing versioned codecs/package/profile baseline, no real ciphertext/platform reception | #62, #61 cache migration; Router #185/#186 and MI #18 producers | #60 receives the installed composed path, never replaces those implementation tasks. ## Actual New Task Register - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/47: existing harness/control vs backend feasibility, first contract prerequisite. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/48: original task lifetime/deadline/cancel/freshness, immediate safety repair. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/49: ordinary approved/versioned intake/freshness, admission prerequisite. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/50: trusted verifier preconditions and actual sandbox denial, immediate untrusted-execution safety. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/51: task requirement preservation, after #49 and producer semantic agreement. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/52: executable-route/identity consumer, after #47/#51 and producer route/identity/authority/protocol proofs. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/53: proved adapter/session composition, after #47 and accepted lifecycle/security. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/54: durable independent review/remediation, after approved spec/harness/isolation/policy. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/55: frozen utilized-knowledge references, after MI #13/Router #176 conformance. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/56: whole-task costs/budgets/retries/tools, after lifecycle/route/review facts and approved policy. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/57: owner-served snapshot/events/commands/CLI/notifications preserving SQLite, alongside lifecycle/correlation/ownership contracts. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/58: versioned local/private complete export, after #54/#56 and identity facts. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/59: multiple-task controller/workspace/manual edits, after #48/#50/#53/#61 and with #57 view. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/60: installed end-to-end positive/negative/live reception, after actual component receipts and separate live authority. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/61: host-qualified cache/locking/owned cleanup/shared source validation before dispatch, immediate data/identity safety. - https://forgejo.creatidy.com/Creatidy/creatidy-kernel/issues/62: public contract/state/ciphertext/install/platform migration, accompanies affected changes and precedes #60. Updated/supplemented: this #46 working matrix; #57 body corrected to actual returned #59/#61 dependencies; #47/#51/#52 producer links/proof/authority notes; #55 frozen MI evidence-cut semantics; #60/#62 actual remaining migration/producer links. Existing #44 received only a link/integrated-status correction, not new scope: target #143/#166 belong to BioMedical-IT/scarcity-router. No issue was closed. No new work left as unregistered DEFER/TODO. ## Urgent Deviations / Closure Detailed fact/user-impact/closure table is in successor.md and PR body: asynchronous task transport teardown and renewed recovery deadline (#48); verifier executes rejected-scope tooling and no real sandbox (#50); hostless cache/unowned replacement/no acquisition lock and run override bypass (#61); unapproved L0 requirements/no gateway (#49/#51/#47/#52); no product review (#54); incomplete whole-task costs (#56), export (#58) and concurrent owner-served state (#57). Close with specific delayed-turn/recovery/refusal/no-execution/two-host-interleaving/pin-and-call/cold-review/reconnect/usage evidence, not prose approval. Router D-063's admin-authorized ZCode workspace edits conflict with the new Kernel/harness task owner target. Router #180 owns explicit authority/migration decision before affected integration; no producer implementation was deleted/relabelled. Genuine remaining decisions include proved process/supervisor handoff, security profile, contested identity/publication/event auth/retention where ungoverned and separately approved numerical budget/privacy/effect scopes. Routine defects/provider waits are not Human Gates. ## Validation And Review State At frozen a90920ae91cb6807d7c844f803369a0f03f74d0c, repeated `make check` PASS (966 tests, 0 typing errors/warnings, import/lint/format/locked deps/secret scan/diff); repeated `make package-check` PASS (wheel/sdist reproducibility, isolated installed offline CLI replay/export). Focused `uv run --locked pytest tests/test_repository.py tests/test_boundaries.py` PASS, 6 tests, including final ADR wording; unchanged command header literal YAML parse PASS. Git staged/branch/full diff/status/history/published base/head inspected; final working tree clean. No required dependency/tooling local make audit trigger; no local audit run claimed. Canonical CI run 2197 / run number 79: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/actions/runs/79, metadata success for EXACT a90920ae91cb6807d7c844f803369a0f03f74d0c. Per-job API returned 404; individual job log output was not independently available, so only overall metadata success is claimed. REVIEW_INFRASTRUCTURE_BLOCKED remains: no advertised scarcity_select tool; general and targeted MCP discovery offered no usable Router routing interface. No fresh route/dispatch/resolution, no independent verdict/reviewed HEAD, no formal Forgejo reviews (verified empty review list), remediation 0/10. Research agents/author gates are not independent review. No REST/config/permission change, guessed model, other-session transcript or self-approval workaround. Exact whole-PR/backlog review must occur in the sanctioned routed environment before owner merge. The native link_pr helper rejects Forgejo URLs; PR creation/readback itself succeeded through canonical MCP. Final safety boundary: no product implementation/schema/test weakening, real task/product inference, secrets/services/cost-policy/permissions/branch-protection changes, other-product writes, merge/release/deploy or main modification. Documentation and registered work are delivered; independent-review acceptance is incomplete. This is not READY_FOR_LIVE_TASK or product gap closure.
Author
Member

Final Freeze Supersedes Earlier Delivery SHA

Same PR #63; canonical base remains eb4f4a2956. Final published HEAD is f3dd9f85e6, replacing the earlier a90920a freeze. Two focused commits, same 17 documentation/context files, clean worktree, OPEN/unmerged, no main/implementation changes.

Late canonical search discovered public Console and actual bootstrap Creatidy/creatidy-console#1. Full body read: broad docs/gates/backlog registration is not a dedicated G08 snapshot/event/command consumer contract. The roadmap and Kernel #57 comment now link it explicitly; no Console object was modified. This supersedes the earlier counterpart-not-found wording only, not functional acceptance or scope. Actual registered #47-#62, G01-G13 evidence/priority/dependency/closure matrix and safety deviations in prior report remain unchanged. #47 bibliography now contains actual immutable upstream/licence/service evidence; source inspection is not conformance/adoption.

EXACT final-head gates rerun after publication:

  • make check PASS: 966 tests in 116.83s; locked deps, format/lint, basedpyright 0 errors/warnings, inward imports, secret scan no findings, git diff --check.
  • make package-check PASS: wheel/sdist reproducibility and isolated installed offline CLI/replay/export.
  • Final git status/diff/HEAD/base/two-commit history verified clean.
  • Canonical CI run 2198 / number80 SUCCESS for exact f3dd9f85e6: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/actions/runs/80 . Earlier 2197/79 is historical a90920a evidence. Job API returned404, individual CI log output unavailable. No local make audit run claimed (docs-only, no dependency/tooling changes).

Independent review remains REVIEW_INFRASTRUCTURE_BLOCKED / NOT_RUN: required scarcity_select tool unavailable; no fresh selection/Agent Manager reviewer/independent resolution, no substantive verdict, no reviewed HEAD and no formal reviews. Whole final PR + registered-backlog completeness/authority criteria retained. Budget0/10, no reset; author checks/research agents not independent review. Final-head review must occur in sanctioned routed environment before owner merge, not by an unrouted substitute. No owner merge readiness asserted.

No product implementation/schema or functional test weakening, real task/product inference, secret/service/cost-policy/permission/branch-protection changes, other-product writes, merge/release/deploy or main modification by this session. Functional issues remain open for separate selection and acceptance; documentation/backlog delivery is not READY_FOR_LIVE_TASK.

## Final Freeze Supersedes Earlier Delivery SHA Same PR https://forgejo.creatidy.com/Creatidy/creatidy-kernel/pulls/63; canonical base remains eb4f4a2956712bfaf39a3271e1523e7f77a91e26. Final published HEAD is f3dd9f85e620cb9e6c354c3aeb3988ec12f0159b, replacing the earlier a90920a freeze. Two focused commits, same 17 documentation/context files, clean worktree, OPEN/unmerged, no main/implementation changes. Late canonical search discovered public Console and actual bootstrap https://forgejo.creatidy.com/Creatidy/creatidy-console/issues/1. Full body read: broad docs/gates/backlog registration is not a dedicated G08 snapshot/event/command consumer contract. The roadmap and Kernel #57 comment now link it explicitly; no Console object was modified. This supersedes the earlier counterpart-not-found wording only, not functional acceptance or scope. Actual registered #47-#62, G01-G13 evidence/priority/dependency/closure matrix and safety deviations in prior report remain unchanged. #47 bibliography now contains actual immutable upstream/licence/service evidence; source inspection is not conformance/adoption. EXACT final-head gates rerun after publication: - make check PASS: 966 tests in 116.83s; locked deps, format/lint, basedpyright 0 errors/warnings, inward imports, secret scan no findings, git diff --check. - make package-check PASS: wheel/sdist reproducibility and isolated installed offline CLI/replay/export. - Final git status/diff/HEAD/base/two-commit history verified clean. - Canonical CI run 2198 / number80 SUCCESS for exact f3dd9f85e620cb9e6c354c3aeb3988ec12f0159b: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/actions/runs/80 . Earlier 2197/79 is historical a90920a evidence. Job API returned404, individual CI log output unavailable. No local make audit run claimed (docs-only, no dependency/tooling changes). Independent review remains REVIEW_INFRASTRUCTURE_BLOCKED / NOT_RUN: required scarcity_select tool unavailable; no fresh selection/Agent Manager reviewer/independent resolution, no substantive verdict, no reviewed HEAD and no formal reviews. Whole final PR + registered-backlog completeness/authority criteria retained. Budget0/10, no reset; author checks/research agents not independent review. Final-head review must occur in sanctioned routed environment before owner merge, not by an unrouted substitute. No owner merge readiness asserted. No product implementation/schema or functional test weakening, real task/product inference, secret/service/cost-policy/permission/branch-protection changes, other-product writes, merge/release/deploy or main modification by this session. Functional issues remain open for separate selection and acceptance; documentation/backlog delivery is not READY_FOR_LIVE_TASK.
Author
Member

Narrow Terminology Review Remediation

Owner requested a terminology-only correction on existing PR #63 after independent review of f3dd9f85e6. New exact HEAD for independent delta review: 96a3700b2a. PR remains #63, open/unmerged, canonical base unchanged at eb4f4a2956.

Only source change: docs/adr/0007-shared-harness-routing-observability.md product-identity paragraph, four insertions/two deletions. Direct names now state Creatidy Kernel is the orchestration/control-plane product and Scarcity Router the resource-routing product; public repository identifiers are unchanged, no extra router product/repository is introduced and no Kernel rename is implied. The erroneous interpretation was deleted entirely, not retained as a historical note or replaced with another alias.

Owner-required exact-literal Git verification returns zero current-tree matches, no output and expected exit1, including at published HEAD. Mutable audit covered #46/PR#63 current titles/descriptions and all3/2 existing comments; #47-#62 all16 titles/descriptions and all9 comments; and this task's #44 comment14085. No obsolete-name matches in those surfaces, so no existing Forgejo text was edited for terminology. New remediation/validation notes are this comment and PR#63 comment14473. Numbered comment pagination repeated page1; matching per-issue metadata counts and empty terminal since-cursor queries supplied completeness evidence. No unrelated history or immutable Git commits rewritten.

After correction: make check PASS (966 tests, typing0 errors/warnings and all repo gates); make package-check PASS; git diff --check PASS; focused repository/boundary guards6 passed. Canonical CI run2200/number81 SUCCESS for exact new HEAD: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/actions/runs/81 . Clean worktree, one focused new commit appended to existing branch, no force/squash/amend.

One owner-requested remediation cycle, cumulative1/10, no budget reset. No new independent verdict is claimed for this new HEAD. No functional G01-G13 implementation, architecture redesign, test/schema/dependency change, product inference, other-repo mutation, main modification or merge/release/deploy. Functional issue descriptions/acceptance remain unchanged.

## Narrow Terminology Review Remediation Owner requested a terminology-only correction on existing PR #63 after independent review of f3dd9f85e620cb9e6c354c3aeb3988ec12f0159b. New exact HEAD for independent delta review: 96a3700b2a7b0ed4915de6969da973e12f30f177. PR remains https://forgejo.creatidy.com/Creatidy/creatidy-kernel/pulls/63, open/unmerged, canonical base unchanged at eb4f4a2956712bfaf39a3271e1523e7f77a91e26. Only source change: docs/adr/0007-shared-harness-routing-observability.md product-identity paragraph, four insertions/two deletions. Direct names now state Creatidy Kernel is the orchestration/control-plane product and Scarcity Router the resource-routing product; public repository identifiers are unchanged, no extra router product/repository is introduced and no Kernel rename is implied. The erroneous interpretation was deleted entirely, not retained as a historical note or replaced with another alias. Owner-required exact-literal Git verification returns zero current-tree matches, no output and expected exit1, including at published HEAD. Mutable audit covered #46/PR#63 current titles/descriptions and all3/2 existing comments; #47-#62 all16 titles/descriptions and all9 comments; and this task's #44 comment14085. No obsolete-name matches in those surfaces, so no existing Forgejo text was edited for terminology. New remediation/validation notes are this comment and PR#63 comment14473. Numbered comment pagination repeated page1; matching per-issue metadata counts and empty terminal since-cursor queries supplied completeness evidence. No unrelated history or immutable Git commits rewritten. After correction: make check PASS (966 tests, typing0 errors/warnings and all repo gates); make package-check PASS; git diff --check PASS; focused repository/boundary guards6 passed. Canonical CI run2200/number81 SUCCESS for exact new HEAD: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/actions/runs/81 . Clean worktree, one focused new commit appended to existing branch, no force/squash/amend. One owner-requested remediation cycle, cumulative1/10, no budget reset. No new independent verdict is claimed for this new HEAD. No functional G01-G13 implementation, architecture redesign, test/schema/dependency change, product inference, other-repo mutation, main modification or merge/release/deploy. Functional issue descriptions/acceptance remain unchanged.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Creatidy/creatidy-kernel#46
No description provided.