Align Creatidy Kernel with the shared harness, routing and observability architecture #46
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Creatidy/creatidy-kernel#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Acceptance Criteria
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
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.
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.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.
Documentation Delivery And Final Coverage
PR: #63
Canonical base:
eb4f4a2956Frozen published HEAD:
a90920ae91Branch: 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.
#60 receives the installed composed path, never replaces those implementation tasks.
Actual New Task Register
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, repeatedmake checkPASS (966 tests, 0 typing errors/warnings, import/lint/format/locked deps/secret scan/diff); repeatedmake package-checkPASS (wheel/sdist reproducibility, isolated installed offline CLI replay/export). Focuseduv run --locked pytest tests/test_repository.py tests/test_boundaries.pyPASS, 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.
Final Freeze Supersedes Earlier Delivery SHA
Same PR #63; canonical base remains
eb4f4a2956. Final published HEAD isf3dd9f85e6, replacing the earliera90920afreeze. 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:
f3dd9f85e6: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/actions/runs/80 . Earlier 2197/79 is historicala90920aevidence. 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.
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 ateb4f4a2956.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.