Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
95671c7
Add interaction lifecycle observer
murphys7017 Jul 12, 2026
273396e
Separate interaction routing from persona output
murphys7017 Jul 12, 2026
12a9b5b
Update interaction architecture documentation
murphys7017 Jul 12, 2026
a52e15a
Add persona prompt size diagnostics
murphys7017 Jul 13, 2026
1d01ae6
Restore core fallback provider handling
murphys7017 Jul 13, 2026
53f4102
Isolate optional prompt memory failures
murphys7017 Jul 13, 2026
fffd0fc
Define Persona Runtime route contract
murphys7017 Jul 13, 2026
26cf616
Plan Persona Runtime evolution
murphys7017 Jul 14, 2026
717aeb3
Update Persona Runtime execution flow
murphys7017 Jul 14, 2026
a3171f0
Align Yakumo docs with Persona routes
murphys7017 Jul 14, 2026
847cebd
Unify prompt context pipeline
murphys7017 Jul 14, 2026
be6c643
Refactor prompt assembly into canonical pipeline
murphys7017 Jul 14, 2026
a7e0b7f
Use OpenAI prompt renderer for DeepSeek
murphys7017 Jul 14, 2026
bf2ff09
Preserve official prompt hook compatibility
murphys7017 Jul 14, 2026
f36f09c
Respect DeepSeek thinking mode tool contracts
murphys7017 Jul 14, 2026
516f1bb
Include session context in interaction routing
murphys7017 Jul 14, 2026
3608ad0
Scope persona effects to current events
murphys7017 Jul 14, 2026
61edc13
Update interaction and persona effect documentation
murphys7017 Jul 14, 2026
09cf7f7
Unify canonical prompt context projection
murphys7017 Jul 15, 2026
a7edd0e
Replace interaction decision agent with core planner
murphys7017 Jul 15, 2026
82eb24e
Document canonical prompt and planner flow
murphys7017 Jul 15, 2026
0171bac
Separate prompt render profiles from context collection
murphys7017 Jul 16, 2026
1602be9
Document prompt pipeline boundaries
murphys7017 Jul 16, 2026
67caa59
Fix prompt boundaries and hybrid startup
murphys7017 Jul 16, 2026
f6e9b0f
Run router and persona concurrently
murphys7017 Jul 16, 2026
ffaab1e
Clarify Core and Persona response roles
murphys7017 Jul 17, 2026
b9dbfb6
Prepare native execution boundary review
murphys7017 Jul 17, 2026
2c91ebd
Prioritize Personal Runtime transition cleanup
murphys7017 Jul 17, 2026
f91cc1f
Document Personal Runtime transition inventory
murphys7017 Jul 17, 2026
617d498
Remove legacy interaction inbound path
murphys7017 Jul 18, 2026
5530dd3
Establish Personal Runtime turn ownership
murphys7017 Jul 18, 2026
4fdda62
Document efficient validation practices
murphys7017 Jul 18, 2026
d8248c5
Unify TTS output segment lifecycle
murphys7017 Jul 18, 2026
76d0b94
Temporarily disable silent router label
murphys7017 Jul 18, 2026
8382f65
Use configured fallback model for expression failures
murphys7017 Jul 18, 2026
9e2b081
Adopt minimal input output test policy
murphys7017 Jul 18, 2026
b604fdc
Remove implementation-coupled interaction tests
murphys7017 Jul 18, 2026
8b4ff3b
Remove obsolete interaction transition assets
murphys7017 Jul 18, 2026
00ae6a4
Add target-aware persona expression tool loop
murphys7017 Jul 18, 2026
762362b
Separate interaction base and core prompt collection
murphys7017 Jul 18, 2026
73ce1a1
Establish core execution preparation boundary
murphys7017 Jul 20, 2026
f7acfc0
Separate core execution spec from native rendering
murphys7017 Jul 20, 2026
1bc644e
Break execution ledger import cycle
murphys7017 Jul 20, 2026
ffa8df5
Own event pipeline shutdown lifecycle
murphys7017 Jul 20, 2026
5d33435
Establish runtime observation admission boundary
murphys7017 Jul 21, 2026
e1c8332
Complete runtime observation output lifecycle
murphys7017 Jul 21, 2026
1ce660b
Enforce canonical interaction delivery completion
murphys7017 Jul 21, 2026
be90f3a
Update source-derived runtime architecture flow
murphys7017 Jul 21, 2026
85656bf
Refine personal runtime ownership and output arbitration
murphys7017 Jul 21, 2026
5982d01
Add default proactive message target
murphys7017 Jul 21, 2026
ae7c082
Document autonomous persona runtime plan
murphys7017 Jul 21, 2026
fd567d2
Add persistent personal runtime state boundary
murphys7017 Jul 23, 2026
dc94799
Wire runtime completion feedback
murphys7017 Jul 23, 2026
08f6255
fix: handle Windows image URIs across providers
murphys7017 Jul 23, 2026
fce52af
Add bounded runtime observation intake
murphys7017 Jul 23, 2026
6e3785b
Add deterministic runtime observation gate
murphys7017 Jul 23, 2026
8304ac2
Add shadow personal policy evaluation
murphys7017 Jul 23, 2026
98d2fd6
Add persistent personal runtime heartbeat controls
murphys7017 Jul 24, 2026
036b4c6
Activate controlled personal policy actions
murphys7017 Jul 24, 2026
067d969
Add controlled ambient group observations
murphys7017 Jul 24, 2026
7513022
Add plugin runtime observation sensors
murphys7017 Jul 24, 2026
3df8e08
Add controlled personal runtime execution
murphys7017 Jul 24, 2026
0987bbe
Isolate core execution preparation snapshots
murphys7017 Jul 24, 2026
5027973
Move core delegation into turn state
murphys7017 Jul 24, 2026
9221ae2
Remove unused interaction prompt extras
murphys7017 Jul 24, 2026
5be492c
Consolidate interaction stream state
murphys7017 Jul 24, 2026
7b66685
Remove interaction turn state mirrors
murphys7017 Jul 24, 2026
3a7bb67
Constrain personal runtime to proactive expression
murphys7017 Jul 24, 2026
73227ea
Add multi-target personal runtime observation
murphys7017 Jul 25, 2026
9aac113
Unify runtime observation target scope
murphys7017 Jul 25, 2026
5049f59
Fix Personal Runtime heartbeat and conversation continuity
murphys7017 Jul 25, 2026
b06ac39
Require explicit Personal Runtime support
murphys7017 Jul 26, 2026
20301e3
Fix Personal Runtime proactive compatibility
murphys7017 Jul 26, 2026
631cbd4
Fix Personal Runtime delivery accounting
murphys7017 Jul 26, 2026
f1efa78
Fix Personal Runtime delivery regressions
murphys7017 Jul 26, 2026
49d155b
Fix Personal Runtime repetition and continuation
murphys7017 Jul 26, 2026
5f94a03
Fix Personal Runtime repeated proactive replies
murphys7017 Jul 27, 2026
5d93fb5
Fix Personal Runtime batch ownership
murphys7017 Jul 27, 2026
ae4006b
Fix persistent autonomous expression deduplication
murphys7017 Jul 27, 2026
10ec7a0
Fix assistant-only memory feedback
murphys7017 Jul 27, 2026
74845bd
docs: document Personal Runtime boundaries
murphys7017 Jul 27, 2026
f811963
Unify group context and provider image handling
murphys7017 Jul 28, 2026
5b2f27d
Fix Personal Runtime multi-config targets
murphys7017 Jul 28, 2026
d340c87
feat: route plugins through persona expression by default
murphys7017 Jul 31, 2026
06cab89
docs: clarify persona tool hook lifecycle
murphys7017 Jul 31, 2026
4a38cb7
feat: preserve legacy plugins in persona expression
murphys7017 Jul 31, 2026
619e340
fix: harden persona plugin compatibility
murphys7017 Aug 1, 2026
cf00bae
fix: streamline persona plugin expression flow
murphys7017 Aug 2, 2026
d437802
refactor: sync TTS provider media handling
murphys7017 Aug 2, 2026
2c2d143
fix: update default MiMo TTS model
murphys7017 Aug 2, 2026
85e4eca
refactor: shorten WebChat media paths
murphys7017 Aug 2, 2026
f3712f5
fix: absorb v4.27 compatibility updates
murphys7017 Aug 2, 2026
510a019
docs: record v4.27 sync decisions
murphys7017 Aug 2, 2026
994d165
fix: harden plugin reload lifecycle
murphys7017 Aug 2, 2026
f17452d
fix: absorb v4.27 stability updates
murphys7017 Aug 2, 2026
328bd71
docs: record v4.27 stability sync decisions
murphys7017 Aug 2, 2026
79b9628
fix: absorb v4.27 compatibility guards
murphys7017 Aug 2, 2026
b420eb2
docs: record v4.27 compatibility guard sync
murphys7017 Aug 2, 2026
5d5320d
fix: absorb v4.27 scheduler and provider updates
murphys7017 Aug 2, 2026
41806db
docs: record v4.27 scheduler sync
murphys7017 Aug 2, 2026
1fd4bbb
fix: align Bailian rerank protocol
murphys7017 Aug 2, 2026
802e289
docs: record Bailian rerank sync
murphys7017 Aug 2, 2026
5eced66
test: support Python 3.14 search fallback coverage
murphys7017 Aug 2, 2026
fea4612
fix: align persona plugin lifecycle boundaries
murphys7017 Aug 2, 2026
7926459
feat: default plugin tools to core
murphys7017 Aug 2, 2026
f8a90cd
feat: add plugin target configuration editor
murphys7017 Aug 2, 2026
47ab9b6
Update README.md
murphys7017 Aug 2, 2026
565aee7
fix: clarify plugin target configuration semantics
murphys7017 Aug 2, 2026
0527838
Merge branch 'codex/unify-prompt-context-pipeline' of github.com:murp…
murphys7017 Aug 3, 2026
d70de88
fix: gate plugin group replies through router
murphys7017 Aug 3, 2026
ec4a591
config: extend persona history to 50 turns
murphys7017 Aug 3, 2026
f5fee0f
fix: harden interaction routing and media boundaries
murphys7017 Aug 3, 2026
5aa319c
fix: make personal turn generator cleanup context-safe
murphys7017 Aug 3, 2026
45e0422
refactor: consolidate output lifecycle
murphys7017 Aug 3, 2026
ef389bc
docs: plan runtime function unification
murphys7017 Aug 3, 2026
2debb1e
refactor: unify Persona tool execution
murphys7017 Aug 3, 2026
f670994
refactor: unify runtime capability snapshots
murphys7017 Aug 4, 2026
df319c0
refactor: unify prompt target budgets
murphys7017 Aug 4, 2026
d62ac82
refactor: unify agent request lifecycle
murphys7017 Aug 4, 2026
16bbd4d
refactor: unify turn deadlines and recovery
murphys7017 Aug 4, 2026
ee341cd
fix: restore Router and Persona concurrency
murphys7017 Aug 4, 2026
0deb299
fix: audit personal runtime and plugin boundaries
murphys7017 Aug 4, 2026
fbb68ab
fix: isolate plugin targets from control plane
murphys7017 Aug 5, 2026
d2436e7
feat: add parallel plugin interaction runtime
murphys7017 Aug 7, 2026
f8dd0c8
feat(provider): add native Ollama chat adapter
murphys7017 Aug 8, 2026
7b38889
feat(memory): prewarm vector indexes at startup
murphys7017 Aug 8, 2026
e4a3eef
config: expose Ollama and memory runtime settings
murphys7017 Aug 8, 2026
38d6248
fix(interaction): skip stale busy group candidates
murphys7017 Aug 8, 2026
1e9b19e
refactor(config): centralize message session routing
murphys7017 Aug 8, 2026
f1ffb7a
docs(ai): record Phase 5B review closure
murphys7017 Aug 8, 2026
ec6f4bf
fix: reduce personal context latency
murphys7017 Aug 8, 2026
cd08675
fix(memory): serialize first-use store initialization
murphys7017 Aug 8, 2026
488307b
docs: clarify interaction and Ollama configuration
murphys7017 Aug 8, 2026
8a8d172
docs: clarify plugin interaction paths
murphys7017 Aug 9, 2026
e137179
feat(personal): make proactive policy more expressive
murphys7017 Aug 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .ai/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ Escalate when uncertain.
7. Review for regressions, scope drift, and missing tests.
8. Report validation status and residual risk.

## Validation Efficiency

- Do not add or expand automated tests by default. Add a test only when the user explicitly requests it or when one basic public input-output case is necessary to establish that the primary boundary works.
- Keep tests at observable boundaries: provide representative input through a public entry point and assert the resulting output, serialized contract, or externally visible state.
- Do not test private methods, internal call counts or order, temporary orchestration state, or behavior that has been replaced by a mock. Coverage percentage is not a reason to add a test.
- Prefer direct acceptance checks, static checks, and one minimal input-output smoke case over large mocked unit suites.
- Do not rerun an unchanged test suite. Run only the smallest relevant check after a meaningful change, and report intentionally skipped validation.
- Preserve upstream tests unless they directly conflict with the current architecture. Clean project-added transition tests when they only lock in obsolete implementation details.

## Checklists

- implementation: scoped, style preserved, assumptions visible, unrelated files untouched
Expand Down
341 changes: 327 additions & 14 deletions .ai/state.yaml

Large diffs are not rendered by default.

151 changes: 123 additions & 28 deletions README.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions astrbot/api/event/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
ResultContentType,
)
from astrbot.core.platform import AstrMessageEvent
from astrbot.core.platform.group_reply_candidate import request_group_reply_candidate
from astrbot.core.voice import TTSState

__all__ = [
"AstrMessageEvent",
Expand All @@ -14,4 +16,6 @@
"MessageChain",
"MessageEventResult",
"ResultContentType",
"TTSState",
"request_group_reply_candidate",
]
4 changes: 4 additions & 0 deletions astrbot/api/event/filter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
from astrbot.core.star.register import register_on_plugin_error as on_plugin_error
from astrbot.core.star.register import register_on_plugin_loaded as on_plugin_loaded
from astrbot.core.star.register import register_on_plugin_unloaded as on_plugin_unloaded
from astrbot.core.star.register import (
register_on_tts_state_changed as on_tts_state_changed,
)
from astrbot.core.star.register import register_on_using_llm_tool as on_using_llm_tool
from astrbot.core.star.register import (
register_on_waiting_llm_request as on_waiting_llm_request,
Expand Down Expand Up @@ -57,6 +60,7 @@
"on_agent_done",
"on_astrbot_loaded",
"on_decorating_result",
"on_tts_state_changed",
"on_llm_request",
"on_llm_response",
"on_plugin_error",
Expand Down
Loading