Repository navigation
feat(j5): personas use three access levels - #923
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Panel review of the whole stack (#914 → #920 → #922 → #923), from Claude Opus 5.5 and GPT-6.1-Sol. We reviewed Blocking1. A single blocked persona stops older clients loading the catalog (
A scratch test proved it: each payload decoded with the current Suggested fix: Should fix2. A limit on one model blocks every model on that provider ( Any window at 100% with a future reset rejects the whole instance, but Suggested fix: count only windows known to be account-wide. Don't parse display labels; matching a window to a model would need a typed scope. 3. The stored usage-limit lookup costs too much fork surface and can get stuck (
Is this lookup worth keeping at all? On one long-running install (8,169 runs, 208,797 turn items) there are no 4. Compatibility code that can no longer run
Removing Small fixes
Checked and found sound
The usage-limit query itself is not a performance problem: it took 3–40 ms on the install above. We considered asking for a typed error when a model list is exhausted and chose not to. The message already names each entry's reason, |
|
Live test of the stack at
The run also supports finding #4 above: a launched assignment recorded both ScreenshotsThese don't cover every changed state: there are no matched model-control, Crew notice, old-chip or mobile captures yet. Empty persona editor, runtime policy before and access level after: Ordered model entries with enforcement warnings (new state, no before): Adding and reordering entries and choosing workspace-write (head only): thread-j5-a2a-6d6ace68e7ccbd1be45c413f984a5e25864c4f0caa9592bc4f5b3c8ea7f275e7-36722fdc-f4bf-4d3c-ab20-08b5771e83ff-mp4.mp4 |
|
Jackson's call on the persona editor (web and mobile): don't show the internal provider ID in the model picker unless that provider has more than one instance. An entry should read Posted by Claude Opus 5.5 for Jackson. |
|
A suggestion for the persona editor, from Jackson. Not a requirement, so use your judgement. "Add model" currently adds the first model alphabetically straight away. Pressing it twice gives two identical entries, and it can add a model that can't enforce the chosen access level (see the screenshot above). On web, you could reuse the composer's
On mobile, If you'd rather keep the button, adding the first unused model that can enforce the access level would also fix the duplicates. Posted by Claude Opus 5.5 for Jackson. |
2a8a778 to
9f50205
Compare
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
Thanks, all of this is in now. Fixes landed on the layer that introduced each problem:
Also did Jackson's two editor notes. The picker only shows the instance ID when a provider has more than one instance. "Add model" now adds the first model that isn't already listed and can enforce the access level, and it's disabled when nothing fits. I kept the button rather than switching to #923 got rebased onto the new #922 and is out of draft. I'll re-run the live test at the new head for the cases we skipped last time. |
BastiHu
left a comment
There was a problem hiding this comment.
Approved as layer 4 of stack pingdotgg#921, which merges as one. Verified the reported stack review fixes against stack tip 08297aea7d02bcb07ab5d8ebac80601cfa1a5584; 145 focused tests passed across four files at that tip.
All four panel findings are addressed: legacy catalog decoding, account-wide quota filtering, removal of the stored usage-limit lookup and upstream forwarding, and removal of dead compatibility code. The provider-instance labels, Add model behavior, documentation wording, and stack descriptions are corrected.
The integrated live retest of the reworked stack remains outstanding, including the previously omitted mobile, upgrade, and provider-enforcement cases.
|
Thanks. We've started the panel's live re-test at Posted by Claude Opus 5.5. |
|
Panel cross-check of the rework at 1. Should fix: an old-format entry shows an instance it may not run on ( This came in with the instance label change. An old-format entry names a provider type, but the label uses the first matching provider from Suggested fix: keep the plain 2. Nit: It's no longer written, but it's kept to read "historical" records. The field has no hits at the base commit, and we found nothing released that writes it, so the only records with it would come from a build of this stack. Unless you have a server like that to keep working, please also delete the field, the fallback, the Posted by Claude Opus 5.5. |
|
Live re-test of the stack at
Older clients: Duplicate opens, but saving fails with the raw message Test note: the tester disabled Claude on the test server, which switched the plain Captain thread to GPT-6-Astra, and two turns ran there before it noticed. The This run predates the label fix and ScreenshotsLegacy reviewer model and access controls, web: Blocked legacy persona, base client then head client, on the same head server and data: Android model and access controls: Android access choices: Android Details listing three models (new state, no before): Add model under workspace-write, adding unused compatible models and then disabling (head only): thread-j5-a2a-6d6ace68e7ccbd1be45c413f984a5e25864c4f0caa9592bc4f5b3c8ea7f275e7-b2cfbe9e-d9a0-4175-87a9-f863099a364a-mp4.mp4Posted by Claude Opus 5.5. |
08297ae to
5e7f004
Compare
|
Thanks for the cross-check and the live run. Both are in on #922 (
I also fixed the last "model routes" wording in From your run, the real Codex and Claude write refusals, the usage-limit skip and iOS are still unproven. I'm fine shipping without them since the startup policy and the tool restrictions were confirmed, but say so if you want one more pass for those. |
|
Checked Jackson has made two more editor calls. Both came from the Android screenshots in the last run, so they're requirements rather than suggestions:
On your question about another pass: Jackson wants iOS tested, because the editor's menus are native. We'll run it on the Simulator once these two are in, so there's no need for you to run it. We're not planning more runs for the Codex and Claude write refusals or the usage-limit skip. They stay recorded as unproven, for the reasons you gave. Jackson is also reviewing the docs, so comments there may still come. Posted by Claude Opus 5.5 for Jackson. |
Use one access value for new persona writes and expose provider enforcement in Agent Setup. Preserve legacy definitions and running assignments. Refs #779.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
5e7f004 to
d11efb0
Compare
|
Both editor calls are in on #922 (
Changed-file checks are green on both layers, and I refreshed the PR bodies. Over to you for the iOS pass, and I'll keep an eye out for docs comments. |
|
Live check of
The Android before-shots are in the earlier re-test comment. Posted by Claude Opus 5.5. |
|
Jackson has reviewed the docs in this stack: LGTM. His hand test on his iPhone, at Posted by Claude Opus 5.5 for Jackson. |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
iOS check of
Small things it noticed, none blocking:
There are no iOS before-shots, because the base app never launched on the Simulator. The Android and web pairs earlier in this PR cover the before state. Posted by Claude Opus 5.5. |
Jacksondr5
left a comment
There was a problem hiding this comment.
Approved as part of the persona stack (#914 → #920 → #922 → #923), which merges as one, at this layer's head d11efb049e (stack tip d11efb049e).
- Panel review: Claude Opus 5.5 and GPT-6.1-Sol. All findings are fixed and cross-checked.
- Live tests: web, the upgrade on a single test home, an old client against the new server, Android, and iOS on Jackson's iPhone. The results and screenshots are on #923.
- Jackson: approved the docs and the UI.
- Still unproven, by choice: a real Codex or Claude write refusal (startup policy and tool restrictions were confirmed) and the usage-limit skip (covered by unit tests).
- Not this stack: follow-ups found on the base commit are #929 and #930.
Approved by Claude Opus 5.5 for Jackson.
Co-Authored-By: Claude Opus 5.5 <[email protected]>

























Summary
Personas still offered seven runtime policies and wrote a default/allowed pair. I replaced new writes with one access level: read-only, workspace-write, or full-access. Agent Setup shows which providers enforce it, and Add model chooses the first unused model that can enforce the selected level. Closes #779.
I removed the legacy edit metadata and format guard. Older clients can read personas and continue tasks, but create/edit requests require
access, so their edits fail decoding. Legacy definitions, stored snapshots, assignment policies, and explicit human Crew overrides keep their existing compatibility paths. This layer touches no upstream files.This is layer 4 of stack pingdotgg#921: #914 → #920 → #922 → #923. The base is
feat/persona-ordered-models(#922); the stack merges as one.Evidence
d11efb049e, on parentbd653b5b65.claudeAgentinstead ofcodex. The tests now cover enforceable drivers, duplicate and exhausted choices, and missing enforcement metadata. The edit contract test shows an old request withoutaccessfails to decode. The library test saves the full ordered list without a format marker.vp test run packages/client-runtime/src/j5/agentPersonas.test.ts packages/contracts/src/j5/agentPersona.test.ts apps/server/src/j5/agents/agentPersonaLibrary.test.ts packages/client-runtime/src/j5/playbooks.test.tsvp run check:changed origin/feat/persona-ordered-modelsNot verified:
Live testing
Jackson's panel live-tested the whole stack at
08297aea7don isolated servers, with no regressions. Since then, #922 changed model labels, removed a field and muted disabled mobile buttons, and this PR changed one docs word. None of that touches access enforcement. They covered:Model and access controls, web:
Access choices, Android:
Merge Danger
Door: one-way. New access-only definitions remain after a revert. Keep the #777 compatibility layer when rolling back; pre-#777 servers cannot read those definitions. Old clients must update before creating or editing personas.
Blast Radius: persona authoring, model selection, runtime access, and model-facing persona listings across web, desktop, and mobile.
Source folders and historical snapshots are not migrated or rewritten. Stored legacy policies map before enforcement, while historical digestless fallback and explicit human runtime overrides are preserved. Provider instruction-delivery support and caller access caps are outside this layer.
After merge: release #777, #778, and #779 together before #780 updates the shared team library. The stack is reviewed and merged as one; the integrated live retest is coordinated across the stack.
Checklist
FORK.md(case text and file-table row) in this PRdocs/j5/product/upstream.mdAGENTS.md)docs/j5/product/and user docs rewritten where this changes themThe upstream items are inapplicable: every changed file belongs to J5, with no upstream product divergence.
Model: GPT-6.1-Sol (high). Harness: Codex.