Observation
The Algorithm's LEARN phase (phase 7/7 in PAI/Algorithm/LATEST v3.7.0) is the sole writer of structured reflection entries to ${PAI_DIR}/MEMORY/LEARNING/REFLECTIONS/algorithm-reflections.jsonl. That JSONL is the input for MineReflections, AlgorithmUpgrade, and Upgrade workflows — the closed-loop learning mechanism.
Two execution paths bypass LEARN entirely and therefore contribute nothing to the learning signal:
-
NATIVE mode — per CLAUDE.md, NATIVE is selected for "single-step, quick tasks (under 2 minutes of work)". The Algorithm file is never loaded, so no phase runs and no reflection JSONL is appended.
-
FAST-PATH atomic classifier — inside ALGORITHM mode, the FAST-PATH table (LATEST line 196) explicitly says atomic actions "Skip LEARN reflection."
Why this may matter
- The learning loop only sees Standard+ non-atomic ALGORITHM runs.
- The most frequent category of real work — quick tasks and atomic operations — is invisible to reflection mining.
- Systematic patterns in short-task failure modes (wrong-target edits, scope creep on atomic asks, misread intent) are exactly the kind of signal the
scope gate and wrong-target rules were added to address, but those failure events in NATIVE/FAST-PATH paths never reach the JSONL that drives rule evolution.
Questions
- Is this intentional (cost/ceremony tradeoff) or a gap?
- If a gap: should NATIVE and FAST-PATH paths emit a minimal reflection entry (e.g. task + effort=native/atomic + implied_sentiment) so the learning loop sees them?
- Is there a separate signal source covering these paths that I've missed (ratings.jsonl, hook-emitted telemetry)?
Evidence
PAI/Algorithm/LATEST lines 426–447 (LEARN phase + JSONL append)
PAI/Algorithm/LATEST line 196 (FAST-PATH "Skip LEARN reflection")
CLAUDE.md NATIVE mode definition (Algorithm not loaded)
Observation
The Algorithm's LEARN phase (phase 7/7 in
PAI/Algorithm/LATESTv3.7.0) is the sole writer of structured reflection entries to${PAI_DIR}/MEMORY/LEARNING/REFLECTIONS/algorithm-reflections.jsonl. That JSONL is the input forMineReflections,AlgorithmUpgrade, andUpgradeworkflows — the closed-loop learning mechanism.Two execution paths bypass LEARN entirely and therefore contribute nothing to the learning signal:
NATIVE mode — per
CLAUDE.md, NATIVE is selected for "single-step, quick tasks (under 2 minutes of work)". The Algorithm file is never loaded, so no phase runs and no reflection JSONL is appended.FAST-PATH atomic classifier — inside ALGORITHM mode, the FAST-PATH table (
LATESTline 196) explicitly says atomic actions "Skip LEARN reflection."Why this may matter
scope gateandwrong-targetrules were added to address, but those failure events in NATIVE/FAST-PATH paths never reach the JSONL that drives rule evolution.Questions
Evidence
PAI/Algorithm/LATESTlines 426–447 (LEARN phase + JSONL append)PAI/Algorithm/LATESTline 196 (FAST-PATH "Skip LEARN reflection")CLAUDE.mdNATIVE mode definition (Algorithm not loaded)