Mission F0: Factory current-state closure v0.1 — repin to afi-config@9497afc, canonical v1.3.0 official composition, residue scrub - #10
Merged
Conversation
The two files EV3-GOV touched in Factory's closure — pipeline.schema.json and composition-ref.schema.json governance citations now name afi.scored-signal-evidence.v3 as the current evidence contract — are re-vendored byte-identically; MANIFEST sha256 pins, the drift-test pin, and the CI checkout ref all move to the same commit. src/generated is unchanged (codegen embeds descriptions, not $comment citations). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…actory residue (Mission F0) The official artifacts are now BYTE-IDENTICAL copies of the canonical afi-config@9497afc registry records — the registered froggy-trend-pullback v1.3.0 manifest (five provider-instance-backed fail-fast lanes, EV3-GOV D-EV3-5(1)), the canonical analyst-strategy config, and the seven bound plugin records — moved from templates/official/ to official/ with hashes.json re-pinned to the canonical composition hash values. Because provider selection is authored at the manifest layer and afi.pipeline-template.v1 parameterizes values only, the retired v1.0.0 template family (post-merge aiMl augmentation, degrade lanes, 1.0.0 plugins, retired provider/secret capability claims) is deleted, not archived. The bundled-assets operation surface follows: factory.templates.list is replaced by factory.official.list; factory.plugins.list reads the official plugin records. Conformance fixtures re-bind the canonical plugin identities. Docs (README, AGENTS, codex, operator onboarding) describe only the current five-lane provider runtime, and tests/current-state-residue.test.ts guards the single canonical pin, byte-identity, superseded-identifier absence, and Factory's no-evidence-authority boundary. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- src/schemas.ts header no longer hardcodes a (stale) afi-config pin; it defers to MANIFEST.json + the drift test. - the registration fixture's configRef models the canonical afi-config registries path instead of the deleted templates/official/ location. - the residue guard now also trips on shorthand afi-config@<sha> pins that are not a prefix of the canonical pin (the gap that let f91ce446 survive). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
…cans The residue guard scans Factory-authored text only; ci.yml checks the pinned canonical afi-config out at _afi-config inside the workspace, and canonical bytes (Pipehead governance history, example hashes) are not Factory residue. Verified locally by reproducing the CI layout with a decoy _afi-config. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mission F0 — Factory current-state closure v0.1
Owner-authorized cleanup:
afi-factorynow reflects ONLY the current canonical AFI architecture (Evidence V3 era, five-lane provider runtime), ahead of Mission Atlas-0.Pin movement
faa6a8a3d387a573c24f0421c02d806044a22d9e(MANIFEST/CI/drift test) with stalef91ce4465b9c…references still active in README,.afi-codex.json,src/schemas.ts, operator onboarding, and the officialhashes.json— two parallel stale pins.9497afc24bf380b21701bee453c13ebdf8881a26(afi-configmain, EV3-GOV) — ONE pin everywhere: closure MANIFEST, drift test, CI checkout, officialhashes.json, README, codex; guarded bytests/current-state-residue.test.ts(full-length and shorthand pin scans).Vendored closure delta
pipeline.schema.jsonandcomposition-ref.schema.json— their governance citations now nameafi.scored-signal-evidence.v3as the current evidence contract. Other eight files byte-unchanged; MANIFEST sha256 pins refreshed;src/generated/unchanged (codegen embeds descriptions, not$commentcitations).afi-config@9497afc(localcmp+ the drift test's byte-equality pass withAFI_CONFIG_DIR; CI checks out the pinned commit and re-verifies on every run).Official composition refresh (stale pipeline snapshot deleted)
templates/official/froggy-trend-pullback/— the retired v1.0.0 composition (post-mergeaiMlaugmentation, degrade lanes, 1.0.0 plugins, retired provider/secret capability claims, old hashesb8d9b734…/269ae355…/6d54c8b7…). FLPR-GOV D-FLPR-6 removed pipeline v1.0.0 from the canonical registry; Factory still taught it as current.official/froggy-trend-pullback/: byte-identical copies of the canonical afi-config@9497afc registry records — registered manifestfroggy-trend-pullback v1.3.0(five provider-instance-backed fail-fast lanes, EV3-GOV D-EV3-5(1)), canonical analyst-strategy config, the seven bound plugin records (2.0.0lanes / merge1.1.0/ scorer1.0.0) — plushashes.jsonre-pinned to the canonical composition hashes:df3372da…(= canonical config pin), analystConfigHashe34471de…(= canonical registration), pluginSetHash5384e1c0…(= runtime composition provenance).afi.pipeline-template.v1parameterizes values only, the official provider-backed composition is not template-produced; no template claims official identity (guarded). Template authoring remains a fully tested engine capability (self-contained proof template +initscaffold flow).factory.templates.list→factory.official.list(canonical identity + hash pins in the listing);factory.plugins.listreads the official plugin records. 14 operations, registry-projection invariant unchanged.Deleted residue (verified, no archive copies)
Stale V2 citation wording (via re-vendor), the v1.0.0 template family (11 files), both stale pins from all current-facing text, stale conformance-fixture plugin identities, stale operator-onboarding secret-profile example, stale README official-template section, stale
src/schemas.tspin comment, stale test fixturetemplates/officialpath. No compatibility aliases, no archive directories, no migration notes.Guards added
tests/current-state-residue.test.ts: one canonical pin everywhere (40-hex +afi-config@<sha>shorthand scans); noscored-signal-evidence.v1/v2/EvidenceV1/2/evidence.v1/2identifiers in Factory-authored text; no Pipehead / generic-DAG /social-category returns; dependency set exactlyajv/ajv-formats/commanderand norecordHash/replayHash/providerInvocations/store tokens insrc/;templates/may not return; official dirs must carry manifest+config+hashes+plugins and never a template.tests/official-artifacts.test.tsnow byte-compares every official artifact againstAFI_CONFIG_DIR(CI always provides it) and pins the canonical hash literals.Test proof
npm run typecheck— clean.npm run build— clean (pretest).AFI_CONFIG_DIR=<afi-config@9497afc> npm test— 207 passed, 0 failed, 0 skipped (18 files), including the governed-schema drift guard's byte-equality pass, hashing KATs, official-artifact byte-identity + canonical hash pins, and the new residue guards.6ae891b(stalef91ce446comment, stale fixture path, shorthand-pin guard gap).Boundary + scope confirmations
recordHash/replayHash, persists nothing, executes no providers/graph/scoring/UWR — boundary proven by source scan + guard test.AFI_Full_Architecture.md:144enumeratesfactory.templates.listin the Factory operation roster; the current name isfactory.official.list.🤖 Generated with Claude Code