Repository navigation
Open
Labels
archetype-retrainArchetype brains have drifted from their trained state (#4100)data-qualitypriority: mediumschemaData schema updates for JSON outputs or SQLite tablesscope:infraCI, tooling, churn/factory, docs infrastructure
Milestone
Description
The archetype brains have fallen out of step with the engine. Labels in DEGRADED levels are still emitted but qualified; INVALID levels are withheld (Unvalidated). This issue is opened, updated and closed by archetype-validation.yml (#4100) -- it closes itself once every level is back to VALIDATED or DRIFTING.
Current state
trained against engine v2.9.1 (44ffeb1, 2026-09-19); last measured at engine 6de7e6e on [email protected]
| Level | State | Agreement | Why |
|---|---|---|---|
| function | DEGRADED | 92.5% | engine changes since training relabelled 7.5% of crucible files (agreement 92.5%) |
| file | UNVALIDATED | -- | brain changed since the validation record was cut (fingerprint 104a9f96499b9010); note: 18/18 labels are unnamed cluster indices (e.g. 'file_cluster_0') -- reports show a cluster number, not an archetype |
| composition_file | DEGRADED | 91.6% | engine changes since training relabelled 8.4% of crucible files (agreement 91.6%); composition_file inputs disagree with the function model's labels: never read ['Annotated & Test Methods', 'Stateful Encapsulated Methods'], never emitted ['Annotated Framework Methods', 'Tests & Verification'] -- those units drop out and those input columns are always 0.0 |
| composition_repo | INVALID (withheld) | -- | not measurable on one corpus; inherits composition_file's measured state; composition_repo reads the composition_file brain labels by name, but none of its 20 inputs (e.g. 'Static: Literature & Documentation') is a label the composition_file brain emits (e.g. 'Annotated Framework Methods Files') -- every input column is 0.0 |
Eroding archetypes (share of trained-state members still assigned):
- function
C Struct Operations: 95.1% retained - function
Callbacks & Closures: 44.4% retained - function
Compute Cores: 95.2% retained - function
Defensive Guards: 94.2% retained - function
Encapsulated Accessors: 85.3% retained - function
Generic / Templated Code: 95.3% retained - function
I/O & Config Routines: 92.4% retained - function
Interface Declarations: 95.9% retained - function
Parameter Forwarders: 89.4% retained - function
State Mutators: 92.9% retained - function
Stateful Encapsulated Methods: 85.0% retained - file
file_cluster_0: 88.9% retained, mostly to 'file_cluster_13' - file
file_cluster_10: 53.0% retained, mostly to 'file_cluster_2' - file
file_cluster_11: 90.6% retained, mostly to 'file_cluster_13' - file
file_cluster_12: 88.3% retained, mostly to 'file_cluster_13' - file
file_cluster_15: 72.6% retained, mostly to 'file_cluster_13' - file
file_cluster_16: 52.8% retained, mostly to 'file_cluster_15' - file
file_cluster_17: 93.5% retained, mostly to 'file_cluster_2' - file
file_cluster_4: 92.0% retained, mostly to 'file_cluster_6' - file
file_cluster_5: 92.3% retained, mostly to 'file_cluster_12' - file
file_cluster_6: 80.0% retained, mostly to 'file_cluster_4' - file
file_cluster_7: 96.2% retained, mostly to 'file_cluster_12' - file
file_cluster_8: 71.0% retained, mostly to 'file_cluster_6' - file
file_cluster_9: 73.1% retained, mostly to 'file_cluster_11' - composition_file
Callbacks & Closures Files: 48.8% retained, mostly to 'Large Core Modules (3)' - composition_file
Compute Cores Files: 92.3% retained, mostly to 'Large Core Modules (3)' - composition_file
Declarative / Non-Code: 95.3% retained, mostly to 'Large Core Modules' - composition_file
Encapsulated Accessors Files: 83.0% retained, mostly to 'Large Core Modules (3)' - composition_file
Generic / Templated Code Files: 89.2% retained, mostly to 'Large Core Modules (2)' - composition_file
Interface Declarations Files: 93.5% retained, mostly to 'Large Core Modules' - composition_file
Large Core Modules: 92.1% retained, mostly to 'Interface Declarations Files' - composition_file
Large Core Modules (2): 93.2% retained, mostly to 'Large Core Modules (3)' - composition_file
Large Core Modules (3): 83.9% retained, mostly to 'Interface Declarations Files' - composition_file
Many-Argument Workhorses Files: 87.1% retained, mostly to 'Large Core Modules (2)' - composition_file
Parameter Forwarders Files: 77.9% retained, mostly to 'Large Core Modules (2)' - composition_file
State Mutators Files: 93.5% retained, mostly to 'Parameter Forwarders Files'
Agreement = share of crucible code files labelled as at training; stability, not accuracy.
Clearing it
- Retrain/refreeze the brains in gitgalaxy-population-analyses on a current fleet scan.
- Land them here with the paired engine review (
EXPECTED_CONTRACT_SHAintests/core_engine/test_archetype_parity.py) and a golden-master re-bless. - Re-anchor the drift baseline on the engine the brains were trained against:
python tests/tools/archetype_drift.py rebaseline --audit <crucible audit> --engine-version vX.Y.Z --engine-commit <sha> --trained-at <date> --corpus <corpus>
Recent measurements
| Date | Engine | function | file | composition_file | composition_repo |
|---|---|---|---|---|---|
| 2026-10-26 | f81ab92c |
96.6% DRIFTING | UNVALIDATED | 96.4% DEGRADED | INVALID |
| 2026-10-30 | 48b56cc2 |
96.6% DRIFTING | UNVALIDATED | 96.3% DEGRADED | INVALID |
| 2026-11-01 | cdfbad5a |
96.6% DRIFTING | UNVALIDATED | 95.7% DEGRADED | INVALID |
| 2026-11-07 | f32857e6 |
96.6% DRIFTING | UNVALIDATED | 95.7% DEGRADED | INVALID |
| 2026-11-21 | 103a1231 |
95.0% DEGRADED | UNVALIDATED | 93.4% DEGRADED | INVALID |
| 2026-11-22 | 3c436c8c |
94.7% DEGRADED | UNVALIDATED | 93.1% DEGRADED | INVALID |
| 2026-11-23 | fcc440b3 |
93.7% DEGRADED | UNVALIDATED | 92.3% DEGRADED | INVALID |
| 2026-11-25 | 584e1ab4 |
93.1% DEGRADED | UNVALIDATED | 92.0% DEGRADED | INVALID |
| 2026-11-25 | b66d14f6 |
92.9% DEGRADED | UNVALIDATED | 91.7% DEGRADED | INVALID |
| 2026-11-26 | 6de7e6ea |
92.5% DEGRADED | UNVALIDATED | 91.6% DEGRADED | INVALID |
Metadata
Metadata
Assignees
Labels
archetype-retrainArchetype brains have drifted from their trained state (#4100)data-qualitypriority: mediumschemaData schema updates for JSON outputs or SQLite tablesscope:infraCI, tooling, churn/factory, docs infrastructure
Activity
Signal names and rule accuracy: display names, brief labels, rule-ove…