@prplkane/roundtable 0.6.6 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/workflow.md CHANGED
@@ -154,7 +154,7 @@ profile, not once per project. Roundtable has no separate account or login.
154
154
 
155
155
  Setup writes the installed Node and MCP script paths into the assistant's user configuration
156
156
  and copies the workflow skill. On reload, the assistant launches that script and discovers
157
- the 11 tools over stdio. The first tool that needs the board starts it locally in the background
157
+ the tools over stdio. The first tool that needs the board starts it locally in the background
158
158
  on port 4747. Roundtable invokes the provider CLIs with their existing logins only when the
159
159
  requested action needs them. There is no Roundtable cloud connection or API key to enter.
160
160
  Keep the provider CLI executables on the assistant's `PATH`; after changing a Node version or
@@ -230,8 +230,8 @@ claude
230
230
 
231
231
  Inside the program, type `/login`, finish the sign-in in the browser, then exit with `/exit`.
232
232
 
233
- Roundtable reads Claude's remaining quota with `claude -p /usage`, which the CLI answers itself,
234
- with no model call and no conversation. It reads when the server starts, on **Refresh status**,
233
+ For a direct Claude seat, Roundtable reads the remaining quota with `claude -p /usage`, which the CLI answers itself,
234
+ with no model call and no conversation. It reads on **Refresh status**,
235
235
  after each Claude reply and when a debate ends, from an empty folder with a seat's lockdown
236
236
  (no tools, no MCP servers, safe mode) but with slash commands on, which `/usage` needs. Only the session, weekly and per-model weekly limit lines are kept; the activity summary
237
237
  the same answer prints (requests, sessions, skills, MCP servers) is discarded and never saved.
@@ -279,7 +279,7 @@ So nothing is sent to `agy` until you acknowledge this:
279
279
  - **An agent request** must send `options.acknowledgeTermsRisk: true` whenever a seat, the
280
280
  chairman or the searcher is on Antigravity, and only once the person has agreed. An
281
281
  acknowledgment on the board does not answer for an agent; the agent cannot record one
282
- either. `roundtable agent status` shows the notice and its link under `providers[].terms`.
282
+ either. `roundtable agent status` shows the notice and its link under `directProviders[].terms`.
283
283
  Without the option, a live server refuses the request, and the Antigravity adapter refuses
284
284
  any call made without it.
285
285
  - **The diagnostic command** sends nothing to `agy` without `--acknowledge-terms-risk`: no
@@ -389,7 +389,7 @@ take, next to **Open the table**.
389
389
 
390
390
  ### A first live test drive
391
391
 
392
- 1. Run `npm run doctor`, then start the live board and check that its header says **Live**.
392
+ 1. Configure the AgentLink profiles in section 7c, then open the live board.
393
393
  Use **Refresh status** and resolve any login or installation errors first.
394
394
  2. Use a small, non-sensitive decision with two clear options. Choose two seats with different
395
395
  lenses. For the first run, use a provider you have already verified; both seats may use it.
@@ -430,18 +430,17 @@ checked yet).
430
430
 
431
431
  | field | what it does |
432
432
  |---|---|
433
- | Vendor | Claude, Codex or Antigravity, or **API endpoint** (section 7b). Pick the same vendor more than once if you like. Next to it, a tag says what kind of seat it is: `CLI · subscription`, `API · local` or `API · pay-per-token`. |
433
+ | Vendor | Choose a saved AgentLink profile for Codex, Claude or Antigravity. Direct CLI connections and API endpoints are available in the second group. |
434
434
  | Lens | The angle this seat argues from, for example "risk", "cost", "the clinician". Must be unique: it is the only name the other seats ever see. |
435
435
  | Mood | How it argues. `grill` (the default) attacks assumptions and demands evidence. `steelman` states each option at its best first. `builder` judges by what it takes to ship. `contrarian` takes the least popular side. `custom` takes your own sentence. |
436
- | Model | Under the vendor name on the card, with stronger model families first. Names carry only **default** and **lightest** notes; the CLI decides model access. This is a broad capability order, not a benchmark comparison across vendors. Antigravity lists each model once and its effort pips choose the variant. **Custom model ID…** opens a text field and keeps your selection while you edit; enter an ID or choose a listed model before starting. Terra requires Codex CLI 0.159 or later. A retired model is refused with what to use instead. |
437
- | Effort | The thinking level, as pips: click one to set it, click the last filled one again for the CLI's default. Higher thinks longer and draws more. |
438
- | Login profile | Behind "Login profile" on the card. Leave empty to use your normal login; fill in only to seat a second account of the same CLI (step 7). |
436
+ | Model | Leave blank for the profile default. **Load profile models** reads the available IDs. **Refresh profile models** checks again after a provider update. |
437
+ | Effort | Select a reasoning level offered by the chosen model or leave it on the profile default. |
438
+ | Profile | The saved AgentLink name selects the connection. Each profile can be used for several seats. Direct CLI seats have separate login settings. |
439
439
 
440
- First use starts with **two seats and one critique round**: normally two blind replies, two
441
- critique replies and one verdict, before any retries. The first status check prefers ready
442
- default logins; if only one vendor is ready, it fills both seats with different lenses. If no
443
- vendor is known ready, two editable choices remain and their lamps explain the state. Editing
444
- a seat stops this automatic first-use selection. Saved seats are preserved.
440
+ A fresh board starts with two perspectives, one critique round and a chairman using
441
+ the first profile. It prefers configured profiles and reuses a sole configured profile.
442
+ Saved direct drafts with a pinned model, login, budget or resumed session retain those
443
+ choices. To move one, select the corresponding provider under **AgentLink profiles**.
445
444
 
446
445
  Use **+ Add seat** for more. Two or three seats are enough for most questions. Opening a table
447
446
  saves its field notes, seats, limits, memory, chairman choices and budgets in this browser for
@@ -471,6 +470,35 @@ custom text.
471
470
 
472
471
  ### How seats stay independent
473
472
 
473
+ AgentLink seats use fresh ACP sessions and the selected profile's permissions, as described
474
+ in section 7c. Preview checks pinned model IDs and effort levels in a fresh profile session
475
+ without sending a prompt. Unpinned seats follow the profile default.
476
+
477
+ #### Provider chat history
478
+
479
+ The setting applies to the searcher, seats and chairman. Agent clients set
480
+ `options.providerHistory` in the review request.
481
+
482
+ | Setting | Behavior |
483
+ | --- | --- |
484
+ | Keep out of history when possible (`prefer-ephemeral`, default) | Requests a non-saving session. A compatible AgentLink gateway can archive a session after use when the provider only supports archiving. Other providers use their own history settings. |
485
+ | Require a non-saving session (`require-ephemeral`) | Requires stateless memory. Roundtable verifies the installed direct CLI flags and checks every selected AgentLink connection before dispatch. Every new AgentLink session must also confirm non-saving mode before it receives a prompt. An unsupported connection stops setup. |
486
+ | Use provider default (`provider-default`) | Leaves session persistence to the provider. A provider that normally saves chats may show the individual calls in its history. |
487
+
488
+ With AgentLink 0.3.0-beta.4 and earlier, the default preference uses provider-managed history
489
+ and strict mode refuses the profile. AgentLink 0.3.0-beta.5 adds negotiation for each bridge. Stock
490
+ Codex ACP can archive a chat after use, Claude ACP supports non-saving sessions, and
491
+ Antigravity uses provider-managed history. Archiving removes a chat from active history
492
+ and may leave a saved copy.
493
+
494
+ For a non-saving Codex seat today, select direct CLI transport, stateless memory and
495
+ strict history. Roundtable checks `codex exec --help` for `--ephemeral`. Direct Claude
496
+ supports `--no-session-persistence`. **Usage details** counts calls by their reported
497
+ history outcome. Roundtable keeps its review transcript with every setting. Inference billing
498
+ and service data retention follow each provider’s terms.
499
+
500
+ The following behaviours apply to direct CLI seats.
501
+
474
502
  - Every CLI seat has its own session and working folder, `debates/<slug>/seats/<id>/`.
475
503
  Roundtable does not run the seat in the project you are reviewing. CLI-specific discovery
476
504
  of instructions and settings still applies; these controls are not a sandbox.
@@ -482,7 +510,8 @@ custom text.
482
510
  profile, and whatever the vendor applies to every request from your account.
483
511
  - Codex ignores your user configuration, so a default model or effort in that file does not
484
512
  control the seat. Choose both explicitly to reproduce a review. CLI resolution follows PATH
485
- order across native binaries and npm installations, including on Windows.
513
+ order across native binaries and npm installations, including Windows environments
514
+ that spell the variable `Path` rather than `PATH`.
486
515
  - Codex seats use a short decision-review base prompt instead of general coding instructions.
487
516
  Parent Codex app routing/session variables are removed before starting CLIs or reading quota.
488
517
  Login profiles and inherited network restrictions are preserved. This also applies when a
@@ -505,7 +534,10 @@ custom text.
505
534
  - **Memory**: leave on `stateless`. Each round is a fresh call with the field notes, the seat's
506
535
  own last reply and the others' replies. This avoids resending the full conversation, but
507
536
  token use and cost still vary. `resume` retains a conversation and can grow the context each
508
- round. Neither setting controls the provider's logging or retention policy.
537
+ round. Stateless seat prompts put the shared field notes, evidence and reply format before
538
+ the lens. A provider that supports prefix caching can reuse this input across compatible
539
+ calls. The chairman receives each distinct argument in full. A verbatim repeat by the same
540
+ seat can refer to the earlier round. Provider logging and retention follow vendor policy.
509
541
  - **Unattended**, off by default: the table never waits for you. The window after the blind
510
542
  round is skipped, and the seats are told that nobody answers questions, so they state what
511
543
  they would have asked as an assumption instead; the question line leaves their contract, which
@@ -541,8 +573,14 @@ custom text.
541
573
 
542
574
  ### Read the quota picture
543
575
 
544
- The **Quota picture** under the seats starts folded; its title lists each account's projected
545
- tokens. Open it for one card per vendor account: what each seat is likely to draw in this
576
+ **Review estimate and account quota** lists the projected tokens for each provider.
577
+ The board estimates tokens and costs locally, even when a seat is signed out. A signed-out
578
+ account shows that its current quota is unavailable. If the CLI gives an unreadable login
579
+ answer, the board marks sign-in as unconfirmed. When several roles share a sign-in problem,
580
+ **Open the table** lists them together. Sign in using the command shown, then select
581
+ **Refresh status** to recheck the account before opening the review.
582
+
583
+ Open the panel to see what each seat is likely to draw in this
546
584
  debate as one bar segment per seat (seats of one vendor in steps of its colour, the chairman
547
585
  hatched), the vendor's live windows where it reports them, and an optional cap. Antigravity's
548
586
  windows are named by group ("Gemini 5h", "Claude and GPT 7d"), and its card shows the groups its
@@ -837,19 +875,26 @@ What is different from a CLI seat:
837
875
  The chairman can be an endpoint too; its card takes the same fields. The decision record
838
876
  names the endpoint on each seat's line (`API http://localhost:11434/v1`) and on the chairman's.
839
877
 
840
- ## 7c. AgentLink ACP profiles (optional)
878
+ <a id="7c-agentlink-acp-profiles-optional"></a>
841
879
 
842
- [AgentLink](https://github.com/prplkane/agentlink) manages existing agent CLI/ACP
843
- bridges in one place. Configure profiles there once. In Roundtable, choose
844
- **AgentLink (ACP)** on each seat and the chairman, and enter its saved profile name.
845
- The project uses the profile name; it does not install or copy the vendor bridge.
880
+ ## 7c. AgentLink ACP profiles
846
881
 
847
- Install the qualified public beta once:
882
+ Codex, Claude and Antigravity seats and chairmen use saved AgentLink profiles by default.
883
+ Install AgentLink and add the providers you want to use. Existing profiles can be reused.
848
884
 
849
885
  ```sh
850
- npm install -g @prplkane/agentlink@0.3.0-beta.1
886
+ npm install -g @prplkane/agentlink@beta
887
+ agentlink add codex --provider codex
888
+ agentlink add claude --provider claude
889
+ agentlink add agy --provider antigravity
851
890
  ```
852
891
 
892
+ In review JSON, `vendor` values `codex`, `claude` and `agy` select the matching profile.
893
+ Roundtable prefers its conventional name, then a sole matching provider profile. When
894
+ several accounts match, specify `vendor: "acp"` and the exact `account`. To use a direct
895
+ CLI with its own model catalogue and login settings, set `transport: "cli"` on that
896
+ seat or chairman. The optional web searcher uses the selected vendor's direct CLI.
897
+
853
898
  With AgentLink installed globally, Roundtable launches `agentlink acp PROFILE`.
854
899
  On Windows it resolves the npm script through Node, without a shell. For source
855
900
  checkouts, set the absolute path once in the shell that starts Roundtable:
@@ -895,25 +940,42 @@ The initial integration deliberately has these limits:
895
940
  or terminal capabilities, supplies no MCP servers, denies permission requests,
896
941
  and stops a seat on reported tool calls. ACP is not a sandbox and cannot disable
897
942
  tools or customizations inside the agent. Use a trusted profile configured with
898
- its own tools disabled. The board shows this limit; JSON clients must explicitly
943
+ its own tools disabled. Opening a live table accepts the profile permissions and billing shown on the board; JSON clients must explicitly
899
944
  accept it with `allowLimitedIsolation`. Check the selected vendor's applicable
900
945
  terms separately. The direct adapters' vendor-specific restrictions do not apply
901
946
  to an arbitrary ACP profile. Profile environment settings can select API billing.
902
- - **Agent defaults remain defaults.** Leave Model empty, or supply a model ID
903
- advertised in the session's standard model configuration options. Unadvertised
904
- model overrides fail before a prompt. Reasoning preferences stay with the profile;
905
- Roundtable does not guess effort flags or a safe mode from their names.
947
+ - **Agent defaults remain defaults.** Leave Model and Effort empty, or supply values
948
+ the agent advertises in the session's standard configuration options: the model
949
+ option for Model, the reasoning-level option (ACP category `thought_level`) for
950
+ Effort. Roundtable sets them through `session/set_config_option` before the prompt
951
+ and fails before prompting when the agent did not advertise the value. It does not
952
+ guess effort flags or a safe mode from their names; the JSON API accepts any
953
+ identifier as an ACP effort and the agent decides.
906
954
  - **Usage is optional.** Roundtable reads the existing experimental
907
955
  [end-turn usage field](https://docs.rs/agent-client-protocol/latest/agent_client_protocol/schema/v1/struct.PromptResponse.html#structfield.usage)
908
956
  only when its counters and total agree. Missing/invalid usage remains unknown,
909
957
  and the existing seat cap blocks that seat's next call, including a repair or
910
958
  critique. The chairman may still summarize usable replies. ACP context occupancy
911
959
  is not spending. No live subscription quota is inferred; dollar caps are refused.
912
- An explicit `acp` token budget covers all ACP profiles in the review.
960
+ An explicit `acp` token budget covers all ACP profiles in the review; `acp@PROFILE`
961
+ caps that one profile, and both may be set together.
913
962
  - **Login stays with the agent.** Sign in through the vendor's own flow. Authentication
914
963
  errors identify that step; Roundtable does not open a login terminal automatically.
915
- The readiness lamp checks the launcher only. Use `agentlink check PROFILE` to
964
+ Refresh status checks whether the named profile is saved. Use `agentlink check PROFILE` to
916
965
  check initialization; a successful check does not prove task compatibility.
966
+ - Choose **Load profile models** on a seat or the chairman to read a trusted profile’s
967
+ current model and effort names from `agentlink models PROFILE`. The picker shows the
968
+ advertised display names and keeps their IDs for requests. Selecting a model reads its reasoning levels. **Refresh profile
969
+ models** checks again after an adapter or vendor update. These actions open a temporary
970
+ session without sending a prompt. Leaving the model and effort blank follows the profile
971
+ defaults on every new turn. Set shared choices with
972
+ `agentlink defaults PROFILE --model MODEL_ID --effort EFFORT_ID`. An omitted flag
973
+ keeps its saved setting. Use `--clear-model --clear-effort` to follow vendor defaults.
974
+ If a saved ID disappears, discovery still lists replacements. Update the profile in
975
+ AgentLink for all its clients. A seat override applies only to that session.
976
+ AgentLink beta.2 uses the older ACP discovery path. For the CLI, use `roundtable agent models --input profile.json`
977
+ with `{"account":"codex","allowLimitedIsolation":true}` and an optional `model`.
978
+ The `roundtable_models` MCP tool accepts the same fields.
917
979
  - **Updates are central.** An explicit `agentlink bridge update NAME` changes new
918
980
  connections, including the next Roundtable turn. In-flight connections retain
919
981
  their AgentLink lease. There is no automatic update during connection startup.
@@ -923,7 +985,9 @@ checkouts, run `node scripts/test-roundtable.mjs /absolute/path/to/roundtable`
923
985
  **from AgentLink** for the real gateway integration. It starts an isolated local
924
986
  Roundtable server with vendor discovery disabled, creates temporary managed fake
925
987
  bridges, completes a two-round review and chairman verdict, updates the bridge,
926
- and tests cancellation and missing usage. It never uses a real vendor account.
988
+ and tests cancellation and missing usage. It also installs AgentLink into a temporary
989
+ npm prefix offline and checks that a seat finds the installed launcher through the
990
+ executable search path. All checks use scripted agents.
927
991
 
928
992
  ## 8. Run a debate without the browser
929
993
 
@@ -934,7 +998,7 @@ Press **+ Add searcher** under the seats to add its card, next to the chairman's
934
998
  By default its visible **Query** follows your question and candidate options. It investigates
935
999
  facts for and against them; it does not recommend an answer. Choose **Custom query** to edit
936
1000
  the draft or enter an exact question. A custom query stays unchanged when you edit the review.
937
- Only the displayed query goes to the searcher: other context and discussion answers are excluded.
1001
+ The searcher receives the displayed query and any allowed source URLs. Other field notes stay with the panel.
938
1002
  Review it for private details. The same decision question is useful when you need outside
939
1003
  evidence; leave the searcher off when you already have the facts you want the seats to reason from.
940
1004
  The card has its own vendor,
@@ -955,7 +1019,7 @@ divided by three as an additive token estimate, including resumed conversations
955
1019
  Measured dollar baselines are adjusted for that extra input. These are conservative planning
956
1020
  allowances, not exact token counts or guaranteed spending limits.
957
1021
 
958
- Set its **Limits**: searches (1–8 reported operations) and time (30–600 seconds). An operation
1022
+ Set the search and time limits (1–8 reported operations and 30–600 seconds). Antigravity defaults to two searches and is asked to plan independent queries together. Codex and Claude default to four. Local estimates use measured research calls with the same search count, preferring the selected model. The board shows how many samples it has. A token cap covers input, cache reads and writes, and output for that provider. Usage details show the CLI total separately when available. A completed model step can supply a lower bound if Antigravity stops before reporting final usage. A partial measurement still blocks new calls under that provider’s token cap. Startup rebuilds research statistics from retained transcripts. Older numeric summaries whose transcripts were deleted cannot recover the original role or search count. A separately funded panel can proceed when it has usable evidence. An operation
959
1023
  can contain several queries or page visits, and can begin before the CLI reports it. A Codex
960
1024
  searcher is asked to make one operation carrying up to that many queries, and another only
961
1025
  when the first returned nothing usable: each further operation resends everything gathered so
@@ -971,20 +1035,7 @@ excerpts are shorter than Codex's. Local commands, files, MCP and delegation rem
971
1035
  While the searcher works, the review state reads **Searcher at work** and the sources panel
972
1036
  shows its eye moving down a column of results (still, with reduced motion).
973
1037
 
974
- The board saves up to eight sources with URLs, excerpts, publication dates where reported,
975
- and the time the bundle was gathered. A date that is not a real `YYYY-MM-DD` date (a month
976
- only, a year only, "unknown") is saved as not reported; the source itself is kept. Citations and excerpts are supplied by the searcher's provider, not
977
- independently verified by Roundtable. Every seat and the chairman gets the identical saved
978
- bundle, with tools disabled during discussion. The source panel, agent state, field-notes
979
- file and Markdown export include it. Its spending appears as the **searcher** row in Usage
980
- details and a **searcher** segment in the quota picture.
981
-
982
- If the searcher repeats a URL, Roundtable keeps one citation in first-seen order. The first
983
- title and publication date are kept; distinct excerpts are appended only when the complete
984
- combined text fits 1,200 characters. All entries must still pass validation, including
985
- duplicates, and the response must contain at most eight entries before deduplication.
986
- Different query strings and fragments remain distinct URLs. This cleanup is local and makes
987
- no extra model call; repeated sources do not discard an otherwise usable search result.
1038
+ Roundtable opens public HTTPS pages, follows bounded redirects and saves up to eight distinct resolved URLs with their page titles, matching passages and collection time. Unconfirmed publication dates are left empty. **Allowed source URLs** (agent field `sourceScopes`) accepts up to eight HTTPS hosts or path prefixes. For official or versioned documentation, enter the required document or directory. If search supplies no usable citation, Roundtable can check a specific document URL you provided without another model call. It never crawls a directory. All discussion participants receive the same saved passages. A match establishes what the page says. Reviewers still need to judge whether it supports their conclusion. Empty evidence stops discussion. Older saved bundles retain their provider-supplied excerpts and provenance. The board, agent state and Markdown record include the evidence and the counts of omitted candidates.
988
1039
 
989
1040
  A Codex search can stop making progress in two ways. Most often one of its requests, the search
990
1041
  or the answer after it, streams nothing: at low effort (the searcher's default) Codex reconnects
@@ -994,11 +1045,11 @@ more arrives while its process remains open, so no silence limit fires. Roundtab
994
1045
  searcher call that makes no progress for 40 seconds (a "Reconnecting" notice counts as progress,
995
1046
  since those reconnects are bounded) and starts it once more if at least 30 seconds of the
996
1047
  searcher's time limit remain; a call whose reconnects were all used up is started once more the
997
- same way. This recovery does not identify or fix the cause of the stall. Both attempts share one
998
- limit, both are
999
- recorded, and the stalled one's usage stays unknown, since Codex reports none for it. The retry
1000
- is a fresh call with its own search limit, so one research step can run up to twice the
1001
- configured number of searches; each attempt's row in the record says how many it ran. A stall
1048
+ same way. Both attempts share the time and search limits. Roundtable subtracts the operations
1049
+ already observed and gives the retry the remaining allowance. If the first attempt used the
1050
+ allowance or its search count is unknown, research stops. The record keeps each attempt's count
1051
+ and usage. The evidence panel shows their combined observed searches. Missing token usage stays
1052
+ unknown. A stall
1002
1053
  is noticed after 40 seconds and a retry needs 30 more, so a time limit under about 75 seconds
1003
1054
  leaves no room for one. A Codex token cap can also refuse the retry, since the stalled attempt's
1004
1055
  spending is unknown.
@@ -1137,7 +1188,7 @@ The client reads the launch token from the loopback page and holds it in memory,
1137
1188
  `ROUNDTABLE_TOKEN` when supplied. It never prints or stores the token. `--input -` accepts JSON
1138
1189
  on stdin. Keep real request and answer files outside a public repository.
1139
1190
 
1140
- `review.json` uses the same shape as the board. Select providers reported ready by `status`:
1191
+ `review.json` uses the same shape as the board. Choose configured profiles from `status`. The example assumes the person has accepted their limited isolation.
1141
1192
 
1142
1193
  ```json
1143
1194
  {
@@ -1147,11 +1198,11 @@ on stdin. Keep real request and answer files outside a public repository.
1147
1198
  "constraints": "One developer, three months."
1148
1199
  },
1149
1200
  "seats": [
1150
- { "vendor": "claude", "lens": "risk", "mood": { "preset": "grill" }, "model": "sonnet", "effort": "low" },
1151
- { "vendor": "claude", "lens": "cost", "mood": { "preset": "builder" }, "model": "sonnet", "effort": "low" }
1201
+ { "vendor": "claude", "lens": "risk", "mood": { "preset": "grill" } },
1202
+ { "vendor": "claude", "lens": "cost", "mood": { "preset": "builder" } }
1152
1203
  ],
1153
- "chairman": { "vendor": "claude", "model": "sonnet", "effort": "medium" },
1154
- "options": { "critiqueRounds": 1, "memory": "stateless", "budget": { "claude": { "tokens": 120000 } } }
1204
+ "chairman": { "vendor": "claude" },
1205
+ "options": { "critiqueRounds": 1, "memory": "stateless", "allowLimitedIsolation": true, "budget": { "claude": { "tokens": 120000 } } }
1155
1206
  }
1156
1207
  ```
1157
1208
 
@@ -1177,10 +1228,8 @@ costs far more than one more sentence of context. `agent --help` repeats this re
1177
1228
  - **Moods.** Pair one sceptical seat (`grill`) with one practical seat (`builder`). Use
1178
1229
  `steelman` when the user already leans one way, and `contrarian` when the seats would
1179
1230
  otherwise agree too early.
1180
- - **Effort and model.** `effort` low and the lightest model that `status` lists for the seats.
1181
- Give the chairman one effort step more than the seats (medium when they run low): it judges
1182
- the arguments rather than counting them, and at low effort it tends to dismiss the hardest
1183
- objection in a word. Raise one seat, not all, when the decision is hard to reverse.
1231
+ - **Effort and model.** Leave both empty to follow the selected profile. Use
1232
+ `roundtable_models` or `roundtable agent models` before pinning an advertised ID or level.
1184
1233
  - **Context.** `constraints`, `known`, `assumed`, `reversibility` and `deadline` go into every
1185
1234
  prompt. Fill them only with facts the user stated. A guess belongs under `assumed`, never
1186
1235
  under `known`, and an empty field is better than an invented one.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prplkane/roundtable",
3
- "version": "0.6.6",
4
- "description": "Local decision reviews with coding-agent CLIs, human input, budget checks and Markdown records.",
3
+ "version": "0.8.0",
4
+ "description": "Run decision reviews with multiple AI agents and export the outcome as Markdown.",
5
5
  "keywords": [
6
6
  "claude",
7
7
  "codex",
package/scripts/agent.mjs CHANGED
@@ -30,8 +30,8 @@ try {
30
30
  }
31
31
  try { return JSON.parse(text.replace(/^\uFEFF/, '')); } catch { throw new Error('Input must contain valid JSON.'); }
32
32
  }
33
- const body = ['check', 'start', 'answer', 'hold', 'finish', 'stop', 'resume', 'verdict'].includes(command)
34
- ? await input(['check', 'start', 'answer', 'hold'].includes(command)) : undefined;
33
+ const body = ['models', 'check', 'start', 'answer', 'hold', 'finish', 'stop', 'resume', 'verdict'].includes(command)
34
+ ? await input(['models', 'check', 'start', 'answer', 'hold'].includes(command)) : undefined;
35
35
  console.log(JSON.stringify(await runAgent(command, flags, body)));
36
36
  }
37
37
  } catch (error) {
package/scripts/mcp.mjs CHANGED
@@ -17,10 +17,11 @@ const review = { type: 'object', required: ['fieldNotes', 'seats'], additionalPr
17
17
  constraints: text(LIMITS.field), known: text(LIMITS.field), assumed: text(LIMITS.field), reversibility: text(LIMITS.field), deadline: text(LIMITS.field),
18
18
  }, additionalProperties: false },
19
19
  seats: { type: 'array', minItems: LIMITS.seats[0], maxItems: LIMITS.seats[1], items: { type: 'object', required: ['vendor', 'lens'],
20
- properties: { vendor: text(LIMITS.seatField), lens: text(LIMITS.seatField), model: text(LIMITS.seatField), effort: text(LIMITS.seatField) }, additionalProperties: true } },
21
- chairman: { type: 'object', properties: { vendor: text(LIMITS.seatField), model: text(LIMITS.seatField), effort: text(LIMITS.seatField) }, additionalProperties: true },
20
+ properties: { vendor: text(LIMITS.seatField, 'codex, claude and agy use AgentLink by default. acp selects an exact profile.'), account: text(64), transport: { type: 'string', enum: ['agentlink', 'cli'] }, lens: text(LIMITS.seatField), model: text(LIMITS.seatField), effort: text(LIMITS.seatField) }, additionalProperties: true } },
21
+ chairman: { type: 'object', properties: { vendor: text(LIMITS.seatField), account: text(64), transport: { type: 'string', enum: ['agentlink', 'cli'] }, model: text(LIMITS.seatField), effort: text(LIMITS.seatField) }, additionalProperties: true },
22
22
  options: { type: 'object', properties: {
23
23
  critiqueRounds: { ...round, description: 'Default 1. Use 0 for a quick comparison; 2 for deeper examination within agreed limits. Consensus can stop early.' },
24
+ providerHistory: { type: 'string', enum: ['prefer-ephemeral', 'require-ephemeral', 'provider-default'], description: 'Defaults to prefer-ephemeral. Require checks every selected provider before any review prompt.' },
24
25
  unattended: { type: 'boolean', description: 'True only when nobody will answer. Attended reviews auto-continue after the answer window.' },
25
26
  questionWaitMs: integer(LIMITS.questionWaitMs),
26
27
  autoContinueMs: integer(LIMITS.autoContinueMs),
@@ -30,6 +31,7 @@ const review = { type: 'object', required: ['fieldNotes', 'seats'], additionalPr
30
31
  const descriptors = [
31
32
  ['guide', 'Read the Roundtable workflow, request recipe and question/completion rules. No model calls.', object(), true],
32
33
  ['status', 'Check provider setup, or read a review by id. Starts the local board if needed. refresh checks free provider status; no model call.', object({ id, refresh: { type: 'boolean' } }), true],
34
+ ['models', 'Read model and reasoning choices with their display names, wire IDs and saved AgentLink defaults. Opens a new session without sending a prompt. Requires acceptance of profile-owned permissions.', object({ account: text(64), model: text(LIMITS.seatField), allowLimitedIsolation: { type: 'boolean' } }, ['account', 'allowLimitedIsolation']), false],
33
35
  ['check', 'Validate a proposed review and estimate its calls/tokens before starting. Makes no model call.', object({ review }, ['review']), true],
34
36
  ['start', 'Start the requested Roundtable review after check. Makes model calls within its limits. Returns an id, NOT a recommendation; keep calling wait through the chairman.', object({ review }, ['review']), false],
35
37
  ['wait', 'Wait up to 25 seconds for questions or completion. A wait timeout is progress, not completion. After showing questions, pass afterRound to await the next step without repeating them.', object({ id, seconds: integer(LIMITS.waitSeconds), afterRound: round }, ['id']), true],
@@ -103,6 +105,7 @@ async function serve(config) {
103
105
  const flags = { port: config.port, id: input.id, refresh: input.refresh, seconds: input.seconds, 'after-round': input.afterRound };
104
106
  let body;
105
107
  if (['start', 'check'].includes(command)) body = input.review;
108
+ else if (command === 'models') body = input;
106
109
  else if (['answer', 'hold', 'finish', 'stop', 'resume', 'verdict'].includes(command)) { body = { ...input }; delete body.id; }
107
110
  const result = { service: 'roundtable', transport: 'mcp', ok: true, ...await runAgent(command, flags, body, signal) };
108
111
  if (result.id) {
@@ -26,6 +26,12 @@ one-time `roundtable setup --client codex` (or `claude` / `agy`) step.
26
26
  comparison can use zero critique rounds; say that the seats will not respond to each other.
27
27
  A deep review or several consequential trade-offs can justify two critique rounds within
28
28
  the user's limits. Consensus may end early. Missing facts stay unknown or labelled assumptions.
29
+ Use saved AgentLink profiles for Codex, Claude and Antigravity seats and the chairman.
30
+ When the user requires unsaved provider chats, set `options.providerHistory` to
31
+ `require-ephemeral` with stateless memory. If a profile cannot meet that requirement,
32
+ report which one failed. Direct Codex and Claude CLI seats can also run non-saving sessions.
33
+ Leave model and effort empty for profile defaults. Use `roundtable_models` when the
34
+ person wants a specific model or reasoning level. Show its display name and send its advertised ID. Use `acp@PROFILE` for a profile cap.
29
35
  Follow the guide's provider consent requirements; connecting an assistant does not grant
30
36
  permission to use that assistant as a review provider.
31
37
  3. Validate with `roundtable_check`, inspect its errors and projected calls, then start only