Finish native migration cleanup and restore whole-tree compilation

This commit is contained in:
2026-11-22 05:37:15 +00:00
parent 4fa437aee8
commit 3ef55f4668
12 changed files with 123 additions and 445 deletions

View File

@@ -31,64 +31,6 @@ License and notices: [LGPL 3.0](licenses/LGPL-3.0.txt) |
[Source](https://forge.maximumdirect.net/base-layer/configkit/src/commit/4a7ae664a6287d71cba20f59c7c5b37b6f05b0a3).
## ConfigKit (old module path)
Selected module: `gitea.maximumdirect.net/eric/ConfigKit` at `v0.5.0`.
Copyright (C) 2026 Eric Rakestraw
SPDX-License-Identifier: LGPL-3.0-or-later
License and notices: [LGPL 3.0](licenses/LGPL-3.0.txt) |
[GPL 3.0](licenses/GPL-3.0.txt) |
[COPYRIGHT](https://gitea.maximumdirect.net/eric/ConfigKit/src/commit/dc09959cca4e105f49ec316c6d4ba585bd2340bd/COPYRIGHT) |
[LICENSE](https://gitea.maximumdirect.net/eric/ConfigKit/src/commit/dc09959cca4e105f49ec316c6d4ba585bd2340bd/LICENSE).
[Source](https://gitea.maximumdirect.net/eric/ConfigKit/src/commit/dc09959cca4e105f49ec316c6d4ba585bd2340bd).
## PromptKit (old module path)
Selected module: `gitea.maximumdirect.net/eric/promptkit` at `v0.12.0`.
Copyright (C) 2026 Eric Rakestraw
SPDX-License-Identifier: LGPL-3.0-or-later
License and notices: [LGPL 3.0](licenses/LGPL-3.0.txt) |
[GPL 3.0](licenses/GPL-3.0.txt) |
[COPYRIGHT](https://gitea.maximumdirect.net/eric/promptkit/src/commit/4b8169da286917fde7875425bb32b799b12c6af3/COPYRIGHT) |
[LICENSE](https://gitea.maximumdirect.net/eric/promptkit/src/commit/4b8169da286917fde7875425bb32b799b12c6af3/LICENSE).
[Source](https://gitea.maximumdirect.net/eric/promptkit/src/commit/4b8169da286917fde7875425bb32b799b12c6af3).
## PromptKit OpenRouter Catalog
Selected module: `gitea.maximumdirect.net/eric/promptkit-backend-openrouter/v3` at `v3.20260930.0`.
Copyright (C) 2026 Eric Rakestraw
SPDX-License-Identifier: MIT
License and notices: [MIT](licenses/MIT.txt) |
[COPYRIGHT](https://gitea.maximumdirect.net/eric/promptkit-backend-openrouter/src/commit/f17d208cb7ad1fb043cda2266cd3011d11b40aa0/COPYRIGHT) |
[LICENSE](https://gitea.maximumdirect.net/eric/promptkit-backend-openrouter/src/commit/f17d208cb7ad1fb043cda2266cd3011d11b40aa0/LICENSE).
[Source](https://gitea.maximumdirect.net/eric/promptkit-backend-openrouter/src/commit/f17d208cb7ad1fb043cda2266cd3011d11b40aa0).
## PromptKit Rakestrawhome Catalog
Selected module: `gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/v3` at `v3.20260930.0`.
Copyright (C) 2026 Eric Rakestraw
SPDX-License-Identifier: MIT
License and notices: [MIT](licenses/MIT.txt) |
[COPYRIGHT](https://gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/src/commit/993443d88c451901f4c917fa00c204fd3b54d28d/COPYRIGHT) |
[LICENSE](https://gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/src/commit/993443d88c451901f4c917fa00c204fd3b54d28d/LICENSE).
[Source](https://gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/src/commit/993443d88c451901f4c917fa00c204fd3b54d28d).
## jsonschema
Selected module: `github.com/santhosh-tekuri/jsonschema/v6` at `v6.0.3`.
@@ -114,27 +56,6 @@ License and notices: [BSD 3-Clause](licenses/BSD-3-Clause.txt) |
[Source](https://github.com/golang/text/commit/6070ac32abcdd1670599eeb3ee4d513c8184a513).
## go-yaml v3
Selected module: `gopkg.in/yaml.v3` at `v3.0.1`.
Copyright (c) 2006-2010 Kirill Simonov
Copyright (c) 2006-2011 Kirill Simonov
Copyright (c) 2011-2019 Canonical Ltd
Copyright 2011-2016 Canonical Ltd.
SPDX-License-Identifier: MIT AND Apache-2.0
License and notices: [MIT](licenses/MIT-Kirill-Simonov.txt) |
[Apache 2.0](licenses/Apache-2.0.txt) |
[LICENSE](https://github.com/go-yaml/yaml/blob/f6f7691b1fdeb513f56608cd2c32c51f8194bf51/LICENSE) |
[NOTICE](https://github.com/go-yaml/yaml/blob/f6f7691b1fdeb513f56608cd2c32c51f8194bf51/NOTICE).
[Source](https://github.com/go-yaml/yaml/commit/f6f7691b1fdeb513f56608cd2c32c51f8194bf51).
## go-yaml v4
Selected module: `go.yaml.in/yaml/v4` at `v4.0.0`.

View File

@@ -1662,94 +1662,46 @@ publication then capture failure, useful exit categories, and no reporting sidec
## Stage 35: Remove Superseded Machinery And Restore Whole-Tree Compilation
**Status:** In progress. Removed the retired LLM wrapper, asset/schema registries,
**Status:** Complete. Removed the retired LLM wrapper, asset/schema registries,
prompt filesystem/mount helpers, copied completion/correction/debug contracts,
old checkpoint/chunk-plan source packages, and reporting-only module fingerprint
methods. No runtime output/cache/debug files were removed. Preserved typed
validation-result checks, intrinsic artifact schemas, domain codecs, reference
compatibility, and source/identity rules. Corrected stale source/JSON fixture
expectations and the configuration NUL/resolved-control assertions.
checkpoint/chunk-plan source packages, manual diagnostic renderer, reporting
models, and reporting-only module fingerprint methods. No runtime output/cache/
debug data was deleted. Production has one native execution path; no compatibility
adapter or empty legacy package remains.
All framework, module (including the complete integration package), and
configuration tests now compile and pass. Migrated retained resolution,
construction, reference materialization, typed handoff, codec, source/annotation
isolation, diagnostics, and session coverage. Cross-family contracts live in the
black-box module integration package and use real production registration and
native provider fakes; the unchanged import-boundary tests pass. Published domain
and evidence files replace retired manifests and intermediate-output ledgers.
Spell, NPC, location, occurrence, combat, and grounded-pipeline fixtures retain
canonical identity, contextual selection, source chronology, scene eligibility,
complete correction/revalidation, and evidence-union behavior. Invalid combat
enums fail at the native structural boundary rather than bypassing its schema.
Removed tests tied solely to superseded outer retries, checkpoint provenance,
manifests, and attempt-debug wrappers; native producer/cache/assessment/capture
tests own the replacement behavior. Complete pipeline and integration repeated
race checks pass, as do framework/integration vet checks.
Migrated retained framework, module integration, and CLI fixtures to real native
loaders, engines, provider requests, typed codecs, and published domain artifacts.
Preserved catalog/registration and validator-chain checks, source/annotation
isolation, contextual identity, chronology, generated-reference compatibility,
catalog semantics, evidence union, scene eligibility, complete assessment and
correction, diagnostics, sessions, and intrinsic codec rejection despite validator
overrides. Cross-family contracts retain their black-box integration boundary.
Removed only superseded retry, checkpoint, manifest/index, synthetic completion,
and reporting-ledger assertions; native producer/cache/assessment/capture tests
own replacement behavior.
The production executable builds. Real executable route and text/JSON/YAML/
fallback checks passed with a local fake HTTP provider after removal of the old
runtime wrapper. Focused native CLI tests pass, but the full CLI suite and
whole-tree compilation remain blocked by legacy CLI fixtures/imports.
Native command/configuration fixtures retain discovery/import/overlay origins,
inheritance, supplied overrides, secret-aware inspection, partial profiles,
offline preflight, and explicit smoke work. Run/state fixtures retain independent
roots, cache modes, group-accessible reuse, narrow identities, collision protection,
selected-data capture, and failure retention without checkpoint/resume machinery.
Maintained-example tests now compile against native commands/reporting; actual
example files are deliberately unchanged until Stage 36.
Migrated the shared production CLI fixture to the real native application loader,
engine, provider requests, version 6 test inputs, and native pipeline validation.
Retained catalog/typed registration, validator-chain replacement, reference
materialization/limits, configured backend selection, scene description profile
selection, source ranges, and published chunk-map provenance. Provider observations
and codec-decoded files replace profile manifests and normalized-output ledgers.
Oversized references prevent model work/publication without requiring the retired
runtime-factory construction order. Removed only tests of deleted asset/fingerprint
factories; native captured-loading tests cover shared configuration ownership.
Focused production CLI tests, vet, and repeated race checks pass. Whole CLI setup now stops at
remaining fixtures importing the removed reporting package, rather than the
legacy ConfigKit YAML import. Remaining CLI test migration, dependency tidy/
old-path removal, notice reconciliation, and whole-tree validation are required
before completion. This stage is not marked finished.
`GOWORK=off go mod tidy`, `go list -m all`, whole-tree test compilation
(`go test ./... -run '^$'`), whole-tree vet, production executable build, and
`git diff --check` pass. Removed old-path kits/catalog dependencies and their
notices; retained notices for actual native/runtime dependencies and the Go
minimum of `1.27.0`, without replacements. Scoped removal searches find no current
legacy consumers; remaining fingerprint terminology concerns intrinsic domain
identity, and old-cache names in tests verify legacy data is left untouched.
Assembled spell tests now exercise the real native extractor and continuation
history rather than a synthetic model-candidate/correction protocol. Retained
merged-cast ordering, canonicalization, evidence, explicit validator overrides,
and process/advisory distinctions. Native catalog correction tests cover selected
turn exhaustion and corrected overlay acceptance; strict terminal rejection
publishes no artifact. Catalog materialization retains raw-reference provenance
and semantic recognition across reordered overlay bytes, and the native CLI
publishes the grounded overlay spell. Deleted only superseded checkpoint-identity/
resume and manifest/sidecar assertions and their helpers. Focused assembled spell/
catalog tests, vet, and repeated race checks pass; remaining CLI fixtures and final
compilation are still required.
Configuration/discovery/inspection fixtures now use native scopes, rooted paths,
overlays, supplied overrides, pipeline validation, and profile inspection.
Retained source-relative discovery, inherited pipeline composition, source
diagnostics, secret-aware configuration views, no implicit provider work, and
presentation failures. Native validation may report failed scopes on stdout;
tests no longer impose the retired application's empty-error-output convention.
Fixed stale fixtures to include bundled profiles and use PromptKit's native
smoke-test kind rather than a command spelling. Focused native command/configuration
tests, vet, and repeated race checks pass. Whole CLI compilation still awaits
the remaining run/state, enemy-event, reference, and example fixture cleanup.
Run/state contracts now use real native execution, domain files, and the unified
accepted-artifact cache rather than a synthetic completion/checkpoint harness.
Retained root independence, all cache modes, group-accessible reuse, narrow run
identities, output/debug collision protection, selected-data capture, failure
retention, discovery, and overlay origins. Reference-selector contracts retain
scope/specificity, unbinding, type variants, and generated-reference protection
without constructing modules. Moved the complete-example selector contract beside
the other example tests; maintained example migration remains Stage 36.
Focused native run/state/reference tests and vet pass; repeated race checks for
the run/state and command/configuration set pass. Remaining enemy-event/example
fixtures, dependency tidy/notices, and whole-tree compilation are still required.
The ordered multi-family CLI fixture now uses a native version 6 test composition
and provider requests, preserving contextual registry identities, independently
grounded occurrences, combat-only enemy work, source-free reference projections,
session routing, and evidence self-references/deduplication. Domain file paths and
the small native completion replace the removed output index. The deterministic
enemy codec contract still rejects an intrinsically invalid range despite explicit
validator overrides. Focused native tests, vet, and repeated race checks pass.
The maintained example configuration files are unchanged and remain assigned to
Stage 36; their remaining test API migration is still required for compilation.
All framework, module/integration, configuration, and non-example CLI tests pass,
including real executable route/format/fallback checks with a local fake HTTP
provider. Focused complete pipeline/integration and CLI run/state/command/domain
race checks pass. The full runtime suite is not claimed passing: maintained
example tests still reject the version 5 files, whose relocation/native migration
belongs to Stage 36. Final assembled and whole-roadmap verification remain required.
**Goal:** delete the old architecture rather than leave dormant alternatives.