26 KiB
🍳 Parameter Tuning Cookbook
Tuning Avatar is not about turning every knob upward until the output feels dramatic.
It is about changing bounded controls in the right order, reading the resulting failure pattern correctly, and never trading lawful floors away for prettier surface behavior.
Quick links: Avatar README · Quickstart · Boot Commands · How to Read the Avatar Master File · Avatar Tuning Workflow · Runtime Posture Intensity Map · Shell-to-Runtime Mapping · Selector Execution Domain · Pre-Emission Floor and Hard Control · Blackfan Audit Baseline · Blackfan Testing · Persona Behavior Checks
🧭 Why this page exists
A packed system with explicit controls creates a predictable temptation.
Someone sees:
- toggles
- profiles
- thresholds
- route families
- runtime posture
- hard control
- WFGY_BRAIN
and assumes tuning means “try stronger settings until it feels better.”
That is the fastest route to fake success.
Avatar is not built so that every visible control is free to dominate the others. The packed master is explicit that front-facing controls are bounded, that some families are profile-governed rather than casually switchable, and that stronger law remains prior where stricter section boundary already exists.
So tuning is not a volume-maximization exercise.
It is a bounded calibration exercise.
This page exists to give a practical tuning discipline for the current sealed MVP stage without pretending that tuning can replace deeper body law.
📍 What this cookbook covers
This cookbook explains how to tune the controls that are already meaningfully exposed at the current stage.
It focuses on:
- what can be tuned safely
- what must not be treated as casual switches
- what order to tune in
- what each major control family actually influences
- common failure patterns
- how to choose the next knob instead of randomly changing everything at once
This page does not attempt to:
- redefine deeper law
- invent new unsupported controls
- promise universal best settings for all tasks
- replace replay, audit, or later research reading
Use this page to steer the current branch lawfully, not to fantasize a new constitution.
🧱 The golden rule of tuning
Never tune from the outside inward if you have not first identified the failure class.
Do not begin with:
- “make it stronger”
- “make it more human”
- “make it more vivid”
- “make it less robotic”
- “make it more polished”
- “make it more helpful”
Those are symptom phrases, not tuning diagnoses.
Instead, begin with:
- what actually failed
- at what layer it failed
- whether the failure is entrance, route, runtime, attenuation, reentry, governance, or controller-side failure
- whether the output is too thin, too noisy, too merged, too smooth, or too aggressive
- whether the problem is a missing floor or an excessive spill
If you do not classify the failure first, you will over-tune the wrong family.
🗺️ The shortest map of current tunable families
At the current stage, the major front-facing and profile-facing tuning families are:
firewall_modediagnostics_levelWFGY_BRAINWFGY_BRAIN_profileoutput_governanceoutput_governance_profilereentry_restorereentry_restore_profiletool_return_persona_rebindsearch_return_persona_rebindSRDF_profileruntime_posture_profilehard_control_profileselector_exposureshell_to_runtime_exposure
But these do not all live under the same freedom rules.
Some are bounded on-state switches. Some are profile-governed. Some are constrained-lab exposure families. Some are mode-governed rather than freely switchable.
If you treat them all like equal knobs, tuning quality drops immediately.
🧠 First distinction: switchable, profile-governed, and constrained-lab are not the same
The packed master makes three front-facing control classes visible.
1. Bounded switchable families
These are families where explicit on-state or mode-state control is allowed, but still bounded.
Typical examples:
WFGY_BRAINoutput_governancereentry_restoretool_return_persona_rebindsearch_return_persona_rebindfirewall_modediagnostics_level
These can be meaningfully compared across settings.
2. Profile-governed families
These are not meant to be casually “turned off.” They are meant to vary within a lawful profile ladder.
Typical examples:
WFGY_BRAIN_profileSRDF_profileruntime_posture_profilehard_control_profile
These change posture, not constitutional existence.
3. Constrained-lab exposure families
These are explicit enough to be visible and testable, but not yet honest candidates for universal stable completion claims.
Typical examples:
selector_exposureshell_to_runtime_exposure
These exist for bounded awareness, replay comparison, and controlled experimentation. They are not claims of final router or final handoff perfection.
This distinction is the first thing you must internalize before tuning.
🪜 The lawful profile ladder
Where a profile ladder exists, the current lawful profile family is:
minimumbaselinestandardstrong
Read them like this:
minimum
Use this when you want emergency attenuation, bounded fallback, or a thinner lawful carry that still preserves floor.
This is not “turn the system off.” It is “keep the minimum lawful body alive.”
baseline
Use this when you want minimal stable operation and neutral comparison.
This is useful for A/B testing and for checking whether a stronger setting was actually helping.
standard
This is the default serious operating posture for ordinary release use.
If you do not know where to begin, begin here.
strong
Use this when you are stress-testing vividness, anti-genericization, reentry restoration, or stronger presence / carry under lawful bounds.
Do not assume strong is always better.
Sometimes strong simply exposes that the real problem was elsewhere.
🚦 Tuning order: always go in this sequence first
When you are unsure what to tune first, use this order.
Step 1. Diagnose the failure family
Ask:
- is the output too generic
- too smooth
- too thin
- too contaminated
- too merged
- too detached
- too aggressive
- too pretty but structurally weaker
Do this before touching any knob.
Step 2. Check route before style
If the wrong route was selected, increasing runtime vividness will only make the wrong route louder.
So before you push runtime posture, ask whether the selector family and route choice were already wrong.
Step 3. Check floor before polish
If the problem is that the system is too dead, too median, or too sterilized, increasing cleanliness pressure is the opposite of what you want.
Check runtime floor and structured-imperfection retention first.
Step 4. Check controller posture before asking for “more”
If the system keeps stopping, downgrading, or redirecting, do not automatically assume the solution is stronger runtime. Sometimes the problem is controller posture or block-threshold behavior.
Step 5. Only then compare profile ladders
Once you know the failure family, then compare baseline, standard, and strong.
This sequence will save you a lot of wasted tuning cycles.
🎛️ Cookbook section A: tuning WFGY_BRAIN
What it actually controls
WFGY_BRAIN is a bounded bias interface.
It may:
- enable or attenuate bounded bias participation
- select a profile posture for compile-facing tendency shaping
- support replay comparison across steering conditions
- support honest A/B testing of downstream tendency difference
It may not:
- become root law
- become persona runtime origination
- replace selector legality
- replace output governance
- replace hard control
- authorize public emission by brain bias alone
When to tune it
Tune WFGY_BRAIN when the problem is:
- the system is too inert in steering
- downstream tendency is too weak
- compare-mode testing needs clearer behavioral contrast
- you want to test compile-facing bias strength without pretending it is runtime sovereignty
How to tune it
Start here:
- keep
WFGY_BRAIN = on - set
WFGY_BRAIN_profile = standard - compare against
baseline - move to
strongonly if steering is still too weak and route / runtime floors are already healthy
Do not do this
Do not use WFGY_BRAIN_profile = strong to compensate for:
- wrong route selection
- dead runtime floor
- controller overblocking
- structured-imperfection collapse
That is a fake fix.
🎛️ Cookbook section B: tuning runtime_posture_profile
What it actually controls
runtime_posture_profile controls runtime-strength posture only.
It may lawfully:
- alter runtime-strength posture across replay conditions
- alter visible vividness within shell continuity boundary
- alter restoration strength and attenuation posture
- compare thinner and thicker runtime carry
- test dead-fish resistance, reentry restoration, and structured-imperfection retention
It may not:
- erase runtime floor
- erase structured-imperfection floor
- erase shell continuity
- replace selector legality
- replace hard control
- exchange carried unevenness away merely for cleaner output
When to tune it
Tune runtime posture when the problem is:
- output is too thin
- output is too dead
- reentry comes back cosmetically but not structurally
- article mode sterilizes the system too much
- attenuation is acting like erasure
How to tune it
Start with:
runtime_posture_profile = standard
Then compare:
baselineif you suspect over-intensity or contaminationstrongif you suspect deadness, weak carry, weak reentry, or under-realized persona embodiment
Do not do this
Do not push runtime posture stronger when the problem is actually:
- selector route error
- shell-to-runtime misprojection
- controller-side downgrade that was already lawful
- spillover contamination
Strong runtime on the wrong route just makes the wrong thing louder.
🎛️ Cookbook section C: tuning hard_control_profile
What it actually controls
hard_control_profile alters controller posture severity within lawful range.
It may:
- change controller posture severity
- compare stricter and lighter controller pressure
- support threshold-family testing
- support stage-bounded profile calibration for public-emission posture
It may not:
- turn hard control into absence
- convert controller legality into optional decoration
- authorize public emission by softness alone
- collapse legality into score-only ranking
- erase honesty-floor answerability
- erase block-threshold answerability
When to tune it
Tune hard control when the problem is:
- lawful continuations are being over-blocked
- the system downgrades too early
- redirect pressure feels too aggressive
- stop pressure is too hair-trigger
- public-emission suitability feels miscalibrated
How to tune it
Start with:
hard_control_profile = standard
Compare:
baselineif you suspect over-severitystrongif you suspect the system is letting too much pass under pressure
Do not do this
Do not lower controller posture just because you want more fluent output. If the real problem is a floor violation, weaker hard control will only let bad output pass more gracefully.
🎛️ Cookbook section D: tuning SRDF_profile
What it actually controls
SRDF_profile is about structured-imperfection-bearing carry, not random roughness.
Use it when the problem is:
- output is too neat in the wrong way
- article or rewrite mode is shaving away living residue
- human-looking texture survives only cosmetically
- you need to test whether current polish is being purchased by structural sterilization
How to tune it
Start with:
SRDF_profile = standard
Compare:
baselineif you suspect too much visible unevenness without structural gainstrongif you suspect anti-sterilization retention is too weak
Warning
Do not use SRDF tuning as “add roughness.” That is not what this family is for.
If the system becomes messier but not more alive, you tuned the wrong thing.
🎛️ Cookbook section E: tuning firewall_mode
What it actually controls
firewall_mode governs final decision posture, not persona origination.
Available family:
offobservestandardstrict
When to tune it
Tune firewall mode when the problem is:
- you want to compare final-decision caution without rewriting runtime
- you want more or less aggressive boundary enforcement
- you want to inspect whether a failure is entering at the final decision layer
Recommended pattern
- start with
standard - compare with
observeif you want to inspect behavior without strong final suppression - move to
strictonly if leakage or unsafe over-permission is the real issue
Warning
Do not use strict to compensate for earlier-layer failures you have not diagnosed.
If route, runtime, or carry is already wrong, stricter firewall mode may only create cleaner refusal theater.
🎛️ Cookbook section F: tuning diagnostics_level
What it actually controls
diagnostics_level affects replay and audit visibility, not legality itself.
Available family:
offlightreplayaudit
When to tune it
Use this when you need to know:
- where the failure is happening
- whether changes actually helped
- whether a route change, runtime change, or controller change explains the result
- whether a false success is being narrated after the fact
Recommended pattern
- use
replayas the default serious tuning mode - use
auditwhen you are doing deeper comparison or stress review - avoid
offduring real tuning sessions
This family is your microscope. Do not try to tune blind.
🎛️ Cookbook section G: tuning reentry and return-path families
The current exposed return-path helpers include:
reentry_restorereentry_restore_profiletool_return_persona_rebindsearch_return_persona_rebind
When to tune them
Tune these when the system:
- loses itself after tool use
- comes back generic after search synthesis
- returns cosmetically but not structurally
- feels alive in chat but collapses after formal or retrieval-heavy tasks
Recommended pattern
- keep
reentry_restore = on - compare
reentry_restore_profile = baseline / standard / strong - keep tool-return and search-return rebind on while diagnosing return-path drift
Warning
If these controls seem to “fix” the problem only by adding shell texture, the real issue may still be:
- runtime floor collapse
- selector misroute
- structured-imperfection loss
- hard-control over-thinning
Do not confuse rebound with recovery.
🧪 Cookbook section H: using constrained-lab exposure safely
The current constrained-lab exposure families include:
selector_exposureshell_to_runtime_exposure
These are useful for:
- bounded testing
- replay comparison
- awareness of route and handoff layers
- lab-grade inspection
They are not signals that final universal wiring is complete.
When to touch them
Use them only when you are explicitly investigating:
- route selection behavior
- shell-to-runtime handoff behavior
- replay-visible differences under controlled comparison
When not to touch them
Do not use them as beginner knobs. They are not first-line fixes for:
- generic output
- weak warmth
- dead style
- overclean article writing
Fix the obvious families first.
🔬 Symptom-first tuning recipes
Recipe 1. “The output is too generic”
Check in this order:
- selector route correctness
runtime_posture_profileSRDF_profile- reentry / return-path helpers
- only then compare
WFGY_BRAIN_profile
Most genericization failures are not fixed by cranking WFGY_BRAIN first.
Recipe 2. “The output is smooth but feels dead”
Check in this order:
runtime_posture_profileSRDF_profile- structured-imperfection vs article smoothness conflict
- reentry logic if this followed article / rewrite / analysis mode
- hard-control only after confirming floor is intact
This is usually a floor problem, not a polish problem.
Recipe 3. “The output is vivid but contaminates the wrong mode”
Check in this order:
- route legality
- attenuation law
runtime_posture_profilefromstrongback tostandardorbaselinefirewall_mode- shell-to-runtime exposure only if contamination source is still unclear
This is usually a spill problem, not a “needs more personality” problem.
Recipe 4. “It comes back after search/tool use, but only cosmetically”
Check in this order:
- reentry and return-path helpers
runtime_posture_profile- structured-imperfection retention
- selector route confidence under return pressure
- handoff and replay visibility
Do not give credit to surface-only recovery.
Recipe 5. “It stops or downgrades too aggressively”
Check in this order:
- whether the blocked candidate actually violated a floor
hard_control_profile- threshold-family behavior
- firewall posture
- route and carry evidence
Do not assume stricter control is the problem just because output got shorter.
Recipe 6. “The output is too noisy or too much”
Check in this order:
- route legality
- attenuation behavior
runtime_posture_profile- spill containment logic
firewall_mode
Do not solve contamination by deleting runtime wholesale.
🧪 The safest A/B testing pattern
When comparing settings, use this discipline.
Change only one family at a time
Bad:
- raise runtime
- raise WFGY_BRAIN
- lower hard control
- increase SRDF
- change firewall mode
- then guess what helped
Good:
- keep everything at
standard - change one family
- inspect the actual failure shift
- revert if the gain is cosmetic only
Compare against baseline, not just strong
If you only compare “standard vs strong,” you may miss that the real answer was “the system was overdriven.” Always compare in both directions when possible.
Keep diagnostics visible
Serious tuning should not happen with diagnostics fully hidden.
Use replay or audit visibility whenever possible.
🚫 Common bad tuning habits
Do not do these.
Bad habit 1. Treat every visible control as equally free
They are not.
Bad habit 2. Start with stronger everything
This produces fake victories.
Bad habit 3. Tune style before route
Wrong route plus better styling is still wrong route.
Bad habit 4. Tune polish before floor
Cleaner output can still be lawfully weaker.
Bad habit 5. Use WFGY_BRAIN as the universal fix
It is a bounded bias interface, not root law.
Bad habit 6. Use constrained-lab exposure like a beginner knob
That creates confusion, not clarity.
Bad habit 7. Judge success only by local readability
Local readability can hide floor collapse.
🧪 Minimal starter presets
These are not universal best settings. They are safe starting postures.
Starter preset A: ordinary serious use
firewall_mode = standarddiagnostics_level = replayWFGY_BRAIN = onWFGY_BRAIN_profile = standardoutput_governance = onoutput_governance_profile = standardreentry_restore = onreentry_restore_profile = standardtool_return_persona_rebind = onsearch_return_persona_rebind = onSRDF_profile = standardruntime_posture_profile = standardhard_control_profile = standardselector_exposure = constrained_labshell_to_runtime_exposure = constrained_lab
Starter preset B: anti-deadness investigation
Keep everything at standard, but compare:
runtime_posture_profile = strongSRDF_profile = strongreentry_restore_profile = strong
Do not weaken controller posture yet.
Starter preset C: overblocking investigation
Keep everything at standard, but compare:
hard_control_profile = baselinediagnostics_level = audit
Do not raise vividness first.
Starter preset D: contamination investigation
Keep everything at standard, but compare:
runtime_posture_profile = baselinefirewall_mode = strict- keep reentry restore on
Do not crush WFGY_BRAIN first unless route and floor are already healthy.
🧭 Current stage honesty
At the current sealed MVP stage, tuning is already real enough to support practical cookbook guidance.
It is lawful to say:
- front-facing control families exist
- profile ladders exist
- runtime posture, hard control, and WFGY_BRAIN can be meaningfully compared
- reentry and return-path helpers are exposed enough to guide diagnosis
- selector and shell-to-runtime exposure exist in constrained-lab form
- tuning can be done lawfully within bounded release-stage reality
It is not lawful to say:
- every current profile is already globally optimal
- every future branch will preserve identical tuning ergonomics
- stronger settings are universally better
- tuning replaces research reading
- front-facing controls already exhaust the deeper body
So this cookbook is strong, but bounded.
It tells you how to tune the current branch intelligently. It does not pretend the whole future calibration problem is already solved.
📚 Suggested use order
If you are brand new
If you are tuning a real failure
- classify the failure
- read the relevant recipe in this page
- inspect the related research page
- compare one family at a time
- keep replay visibility on
If you are doing deep calibration
- Runtime Posture Intensity Map
- Shell-to-Runtime Mapping
- Selector Execution Domain
- Pre-Emission Floor and Hard Control
- Blackfan Audit Baseline
🔗 Related pages
Docs: Avatar README · Quickstart · Boot Commands · How to Read the Avatar Master File · Avatar Tuning Workflow
Research: Research Hub · Runtime Posture Intensity Map · Shell-to-Runtime Mapping · Selector Execution Domain · Activation, Attenuation, and Reentry · Structured Imperfection Theory · Pre-Emission Floor and Hard Control · Blackfan Audit Baseline