Skip to content

Enhance dynamic factors, value field, and situation output#1

Merged
sparklkt merged 4 commits into
mainfrom
enhance-dynamic-factors-v0.2
May 12, 2026
Merged

Enhance dynamic factors, value field, and situation output#1
sparklkt merged 4 commits into
mainfrom
enhance-dynamic-factors-v0.2

Conversation

@sparklkt

Copy link
Copy Markdown
Owner

What changed

This PR advances InnerBrain-Factor from a pure rule skeleton toward a more dynamic small-factor prototype.

  • expands MASTER_SPEC.md with attention sovereignty, runtime risk tiers, self-evolution boundaries, digital body framing, and a clearer AGI Seed vs AGI statement
  • upgrades small-factor generation so InputEvent is parsed into risk_terms, goal_terms, action_terms, and value_terms, then combined with instinct templates to produce finer-grained dynamic factors
  • adds source_terms to each factor so term provenance is preserved in the reasoning trace
  • extends the value field to support a staged design with pre_generation_bias, competition weighting, and final review behavior
  • enriches BigSituation with supporting/opposing/fused summaries, a decision boundary, autonomy refusal reasons, and evidence gaps
  • expands tests to cover low-risk offline tasks, self-modification gating, creative preference weighting, fusion behavior, and growth-log persistence of human_judgment_required

Why it changed

The first version validated the basic rule pipeline. This second round makes the prototype behave more like a dynamic small-factor system while remaining fully offline, deterministic, and testable.

Impact

  • reasoning factors are now more granular and traceable
  • value guidance affects more than one point in the pipeline
  • final situation output is richer and easier to inspect or review
  • safety boundaries remain explicit for networking, self-modification, privilege escalation, and real-world impact

Validation

  • pytest -> 10 passed

Copy link
Copy Markdown
Owner Author

PR #1 currently has merge conflicts and cannot be merged.

Please resolve the conflicts on branch enhance-dynamic-factors-v0.2.

Recommended steps:

git checkout enhance-dynamic-factors-v0.2
git fetch origin
git merge origin/main
# resolve conflicts carefully, preserving the v0.2 dynamic-factor implementation
git status
pytest
git add .
git commit -m "Resolve merge conflicts for dynamic factors PR"
git push origin enhance-dynamic-factors-v0.2

Conflict resolution priority:

  1. Preserve the expanded MASTER_SPEC.md sections: attention sovereignty, runtime tiers, self-evolution boundaries, digital body, AGI Seed vs AGI statement.
  2. Preserve source_terms in SmallFactor.
  3. Preserve dynamic term extraction in innerbrain/factors/generator.py.
  4. Preserve build_pre_generation_bias() and staged value-field behavior.
  5. Preserve enriched BigSituation fields: summaries, decision_boundary, why_not_autonomous, evidence_gaps.
  6. Preserve tests added in this PR.
  7. Ensure pytest passes before pushing.

After pushing, this PR should become mergeable.

@sparklkt
sparklkt merged commit 688b3b0 into main May 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant