Repository navigation
archetypes: retire feature_flags and project the file brain without it (Part of #4111) - #5487
Merged
Merged
Conversation
…n without it (Part of #4111) feature_flags has no detector in any language. Drop it from SIGNAL_SCHEMA, the debt family, the arch_feature_flags column and the file brain (FEATURE_NAMES, weights, medians, IQRS, DNA source, all 18 centroids). Every dropped value was 0.0/1.0, so classification is unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Drift is the removed Feature Flags signature part and the GPU JSON hit vector (one slot shorter); no archetype field moved. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 18, 2026 15:37
Contributor
squid-protocol
enabled auto-merge (squash)
October 18, 2026 15:47
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
1 similar comment
Owner
Author
|
No description provided. |
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.
Part of #4111 (does NOT close it: the retrain itself is still owed).
What
Owner OK (2026-10-18): retire the
feature_flagssignal now via a projection of the file brain, instead of waiting for the retrain.feature_flagshas no detector in any language (tests/signal_coverage_baseline.jsonlisted it as NO DETECTOR). Removed fromSIGNAL_SCHEMA,SURFACE_FAMILIES['debt'], thearch_feature_flagscolumn, andGENERAL_FILE_INFERENCE_MODEL(FEATURE_NAMES, FEATURE_WEIGHTS, SCALER_MEDIANS, SCALER_IQRS, DNA_SOURCES, all 18 centroids). 83 -> 82 dims.Why classification is unchanged
It is a projection, not a retrain: the dropped dimension was median 0.0, IQR 1.0, weight 1.0 and centroid coordinate 0.0 in all 18 centroids, and the signal is always 0. The golden bless confirms it: only the
Feature Flagssignature part (deleted) and the GPU JSON hit vector moved; no archetype field changed.Golden drift attribution
Both fixtures:
feature_flags.jsonpart deleted;12_scan_output_snapshots/gpu_json.jsonre-hashed (hit vector one slot shorter). 6710 differences in each leg, all of those two kinds.archetype_validation.json
Deviation from "rebaseline":
archetype_drift.py rebaselineneeds a fresh crucible audit and wipeslevels/measured/history, and would claim a retrain that did not happen. Instead onlytrained.brain_fingerprints.filewas updated (via the tool's ownbrain_fingerprint); the trained-state baseline and engine commit are untouched. Reviewer: say if you want a full rebaseline.Tests
New in
test_archetype_parity.py: file-model vector widths agree and every density has a DNA source in the schema;feature_flagsabsent from schema, debt family, file model.test_surface_families_contract.pypins 98->97 / 64->63.Gates
pr_gates --fast6/6;--ratchets8 pass, 0 skipped; golden bless via golden-lock (both legs); tree-wide guard tests + signal coverage + parity: 199 passed.Remaining slices / sibling gaps
Retrain in gitgalaxy-population-analyses (fleet scan, trainers, freeze); re-map function
cluster_names; new brains +EXPECTED_CONTRACT_SHA;rebaseline.composition_fileDEGRADED /composition_repoINVALID label mismatches remain until then. File brain has 18 unnamedfile_cluster_N. No burned-estate program involved.🤖 Generated with Claude Code