forked from bai/curriculum-project-hub
feat: make agent roles and skills dynamic
This commit is contained in:
@@ -37,6 +37,16 @@ that cursor is the `result.session_id`; store it in `AgentSession.metadata` as
|
||||
tool surfaces can differ even when the underlying model is the same; `/draft`
|
||||
and `/review` must not resume the same Claude runtime cursor by accident.
|
||||
|
||||
Role definitions are Organization-scoped runtime data. A role bundle selects
|
||||
its default model, system prompt, tool allowlist and installed Agent skill
|
||||
versions. PostgreSQL is authoritative for role composition and skill metadata;
|
||||
skill bytes live in a content-addressed persistent store selected only by the
|
||||
recorded SHA-256 digest. Updating a role or binding skills takes effect without
|
||||
a Hub release or process restart. A change to the role's execution surface
|
||||
(model, prompt, tools, selected skill content) archives its active sessions so
|
||||
the next run cannot resume a provider context created under stale instructions;
|
||||
label and ordering-only changes preserve conversational continuity.
|
||||
|
||||
Environment variables:
|
||||
```
|
||||
ANTHROPIC_BASE_URL=https://openrouter.ai/api
|
||||
|
||||
Reference in New Issue
Block a user