The workspace and its threads
The agent behaves as one discretionary trader, but it never thinks in one long conversation. A long conversation goes stale: a stop moves, a level is replaced, and the old instruction is still sitting in the conversation, reading as current. So Harness splits what a trader keeps in their head into two parts.
- The workspace is the book, held in one place and kept true: the account, the positions, the watched levels, the notes and the record.
- Threads are the moments of attention: a message from you, a level reached, a timer, an event. Each starts with the context of its own trigger, reads the workspace for everything else, and ends.
The workspace
Section titled “The workspace”| Part | What it holds |
|---|---|
| The account | Equity, margin, leverage, open risk against your caps, recent performance |
| Trades | Each open trade: its levels, its plan, its timer and the event it is watching for |
| Watchers | Each pair of levels being watched, with the plan for either side |
| Themes | The ideas the book is organised around, each with its thesis, what ends it and a budget |
| Market activity | Per market, the last 24 hours: levels that fired, threads that ran, trades opened and closed |
| Threads running now | Every other thread acting on the account at this moment, and what woke it |
| Notes and the regime read | The market read that outlives any one setup |
| Time alerts and event alerts | What wakes the agent when no price will |
| Proposals | What it asked you that still awaits your answer |
| The record | Every closed trade, every watcher and what became of it |
| The board | The skills it trades by: Presets and the board |
Every thread reads the workspace fresh when it starts, and is told during its turn if another thread changed something it is working with — a trade opened, a stop moved, a watcher replaced. Prices are read live by the tools that need them, and checked again when an order is placed.
The threads
Section titled “The threads”| Thread | Woken by | Starts with |
|---|---|---|
| Chat | You | The conversation |
| Watcher | A level reached, its time limit, or an event it named | Both levels, the plan for each, and the trades that plan names |
| Trade | A soft stop or target, the trade’s timer, its event | The trade and its plan |
| Stop check | A stop that may have filled | The trade, to check against the exchange |
| Time alert | A schedule: the hourly scan, a re-read | The instruction the alert carries |
| Event | A release on the calendar | The event, and the plan for it |
A thread is briefed only by its trigger and reads the rest from the workspace. That is the point: the context of a firing is small and exact, and a stale paragraph from an earlier conversation cannot reach it.
Chats are yours: keep several, each on its own subject. Threads woken by a trigger do one job and finish with a summary you can open from the thread list.
Many threads, one trader
Section titled “Many threads, one trader”Threads run at the same time, so each sees the others: the workspace lists every thread running beside it and what woke it, and any of them can be opened and read. Two threads can still reach for the same idea at once; the harness makes sure they cannot together spend the same risk, by booking one new entry at a time per account.
Keeping the workspace true
Section titled “Keeping the workspace true”A workspace is only useful while it is current, so each fact has one home: how the agent trades is the board, a trade’s plan is on the trade, a watcher’s plan is on the watcher, and a note holds only what outlives them. A note that restates a level goes stale the moment the level moves.
Where a plan and the record can disagree, the record wins, and the thread is told so. A watcher’s plan may name a trade — “adds to the silver short” — and the thread it wakes is shown that trade as it stands now: open or closed, its current stop and target.
Themes
Section titled “Themes”A discretionary book is held as a few ideas, each served by several watchers and trades. A theme holds the idea once: its thesis, what would end it, and an optional budget. The workspace shows each theme with what serves it and what that risks against its budget; a thread woken by any of them is briefed with the theme as it stands now; and the record splits results by theme, so it shows which ideas paid. When the idea ends, the theme is retired with why.