Skip to content
Open
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
3 changes: 3 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

export SCITEX_TODO_AGENT_ID="scitex-python"
export SCITEX_TODO_TASKS_YAML_SHARED="$HOME/.scitex/todo/tasks.yaml"
File renamed without changes.
1 change: 1 addition & 0 deletions .worktrees/fix-umbrella-ml-canonical
Submodule fix-umbrella-ml-canonical added at 760528
1 change: 1 addition & 0 deletions .worktrees/full-green
Submodule full-green added at 14c03f
1 change: 1 addition & 0 deletions .worktrees/gen-deprecation-shim
Submodule gen-deprecation-shim added at 1f2960
1 change: 1 addition & 0 deletions .worktrees/gen-deprecation-shim-clean
Submodule gen-deprecation-shim-clean added at 17c68f
1 change: 1 addition & 0 deletions .worktrees/reconcile-pins
Submodule reconcile-pins added at 6820c5
1 change: 1 addition & 0 deletions .worktrees/scitex-python-rel
Submodule scitex-python-rel added at 403dab
1 change: 1 addition & 0 deletions .worktrees/step-c-figrecipe
Submodule step-c-figrecipe added at 423b25
1 change: 1 addition & 0 deletions .worktrees/umbrella-session-reexport
Submodule umbrella-session-reexport added at 41ff63
28 changes: 28 additions & 0 deletions docs/architecture/06_ecosystem_loose_coupling.mmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
%% SciTeX ecosystem — loose coupling (record → read → render).
%% Every edge is a data contract (optional hook / neutral file / JSON export),
%% never a code import. clew = provenance hub; writer = render/UI hub.
%% Producer topology finalized 2026-07-04 (writer/clew/scholar/figrecipe agreed).
flowchart TB
subgraph SUB["record → read → render — no imports across edges"]
direction TB
IO["scitex-io<br/>save / load + record_output hooks"]
SESS["scitex-session<br/>provenance session (@stx.session)"]
STATS["scitex-stats<br/>stat outputs"]
FIG["figrecipe<br/>figures = recipe + data"]
SCH["scitex-scholar<br/>citations / DOI"]
CLEW["scitex-clew<br/>provenance DAG · claims · citations · stat · source-gate<br/>exports JSON — renderer-agnostic"]
WRITER["scitex-writer<br/>compile + editor UI<br/>neutral Hints feed (manuscript-hints/1) + renders marks"]
end

IO -->|"record_output (optional hook)"| CLEW
SESS -->|"session records"| CLEW
STATS -->|"recorded outputs"| CLEW
FIG -->|"tracker files (provenance)"| CLEW
SCH -->|"citations/v1 data"| CLEW
CLEW -->|"claims.json / export_manuscript_hints (JSON)"| WRITER
FIG -->|"figure-quality hints (direct, source:figrecipe)"| WRITER

classDef core fill:#dbeafe,stroke:#1d4ed8,color:#0b1324,stroke-width:2px;
classDef prod fill:#dcfce7,stroke:#166534,color:#0b1324;
class CLEW,WRITER core
class IO,SESS,STATS,FIG,SCH prod
Loading