Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/shipped-workflow-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ pack_workflow_bundle(
)
```

Point `ABSTRACTGATEWAY_FLOWS_DIR` at that directory, or publish through the
Gateway API, to serve it alongside or instead of the shipped set. Keep your own
Start the gateway with `abstractgateway serve --flows-dir <that directory>`, or
publish through the Gateway API, to serve it alongside or instead of the shipped set. Keep your own
bundle id rather than reusing a shipped one — a version collision on an
immutable id is refused.

Expand Down
4 changes: 2 additions & 2 deletions llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5928,8 +5928,8 @@ pack_workflow_bundle(
)
```

Point `ABSTRACTGATEWAY_FLOWS_DIR` at that directory, or publish through the
Gateway API, to serve it alongside or instead of the shipped set. Keep your own
Start the gateway with `abstractgateway serve --flows-dir <that directory>`, or
publish through the Gateway API, to serve it alongside or instead of the shipped set. Keep your own
bundle id rather than reusing a shipped one — a version collision on an
immutable id is refused.

Expand Down
4 changes: 3 additions & 1 deletion scripts/entity_life_loop_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def make_home(tmp: Path, slug: str = "lifeling") -> Path:
db = home_dir / "memory.sqlite3"
store = SQLiteTripleStore(db)
journal = SQLiteJournal(db)
ms = MemorySystem(store=store, journal=journal)
ms = MemorySystem(store=store, journal=journal, task_queue=True)
assert engram(ms, spark, owner_id=entity_id).created is True
store.close()
journal.close()
Expand Down Expand Up @@ -123,6 +123,7 @@ def main() -> int:
from abstractruntime.core.models import EffectType, RunStatus, WaitReason
from abstractruntime.core.runtime import EffectOutcome
from abstractruntime.identity.entity_runtime import open_entity_runtime
from abstractruntime.identity.lifecycle_fence import LifecycleFence
from abstractruntime.scheduler.registry import WorkflowRegistry
from abstractruntime.visualflow_compiler.compiler import compile_visualflow

Expand Down Expand Up @@ -167,6 +168,7 @@ def scripted_llm(run, effect, default_next_node):
home_dir = make_home(tmp)
ert = open_entity_runtime(
home_dir,
fence=LifecycleFence.admit(home_dir),
extra_handlers={EffectType.LLM_CALL: scripted_llm},
workflow_registry=reg,
)
Expand Down
4 changes: 3 additions & 1 deletion scripts/entity_life_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def make_home(tmp: Path, slug: str = "flowling") -> Path:
db = home_dir / "memory.sqlite3"
store = SQLiteTripleStore(db)
journal = SQLiteJournal(db)
ms = MemorySystem(store=store, journal=journal)
ms = MemorySystem(store=store, journal=journal, task_queue=True)
assert engram(ms, spark, owner_id=entity_id).created is True
store.close()
journal.close()
Expand Down Expand Up @@ -90,6 +90,7 @@ def main() -> int:
from abstractruntime.core.runtime import EffectOutcome
from abstractruntime.identity.diary import DiaryEntry
from abstractruntime.identity.entity_runtime import open_entity_runtime
from abstractruntime.identity.lifecycle_fence import LifecycleFence
from abstractruntime.scheduler.registry import WorkflowRegistry
from abstractruntime.visualflow_compiler.compiler import compile_visualflow

Expand Down Expand Up @@ -123,6 +124,7 @@ def scripted_llm(run, effect, default_next_node):
reg.register(fspec)
ert = open_entity_runtime(
home_dir,
fence=LifecycleFence.admit(home_dir),
extra_handlers={EffectType.LLM_CALL: scripted_llm},
workflow_registry=reg,
)
Expand Down
Loading