Imported from PAMF2/oniro-colab (
oniro/skills/qd-archive-update/SKILL.md). Install upstream withnpx skills add PAMF2/oniro-colab --skill qd-archive-update. Copyright stays with the author.
qd-archive-update
Maintains the Quality-Diversity archive at oniro/archive/.
Procedure
- Compute the variant's descriptor:
(slot_purity, jepa_loss_bucket, action_acc). - Locate the MAP-Elites cell from the descriptor.
- Call
QDArchive.insert(variant):- If gate
ACCEPT: place ascanonical, supersede the prior elite iff fitness strictly higher. - If gate
REJECTbutnovelty(descriptor) > 0.7and the cell is empty: place asprovisional(cannot supersede a parent, may seed mutations). - Otherwise: discard.
- If gate
- Append a line to
oniro/archive/lineage.jsonlrecording the decision.
Output
{
"placed": true,
"cell": [2, 1, 3],
"tier": "canonical",
"reason": "fitness 0.71 > prior elite 0.68"
}