Skip to content

Sync clarion-setup: single-prompt install flow#88

Merged
jingerzz merged 1 commit into
zocomputer:mainfrom
jingerzz:sync-clarion-setup-single-prompt-install
May 19, 2026
Merged

Sync clarion-setup: single-prompt install flow#88
jingerzz merged 1 commit into
zocomputer:mainfrom
jingerzz:sync-clarion-setup-single-prompt-install

Conversation

@jingerzz
Copy link
Copy Markdown
Collaborator

Syncs `External/clarion-setup/SKILL.md` to upstream `jingerzz/clarion-intelligence-system@7430985` (PR #21).

What changes for a new Clarion user

Before: three user prompts (install skill, set up Clarion, paste personas+rules block) + inline pause for the `ZO_API_KEY` secret + a silent placeholder for SEC EDGAR identification (`clarion@example.com` shipped in every install's config).

After: one chat prompt (set up Clarion) + one batched human checkpoint near the end (SEC name+email AND `ZO_API_KEY`). Everything else autonomous.

Enabled by

Zo's agent tools `create_persona`, `list_personas`, `delete_persona`, `create_rule`, `list_rules`, `delete_rule`, and `service_doctor`. Previously persona/rule install required manual paste into Zo Settings → AI; now it's an agent call in the clarion-setup flow.

Idempotency

Step 6's pre-check (sec_user_agent non-placeholder + service_doctor RUNNING) makes clean re-runs fully autonomous — no human checkpoint at all on a re-run where nothing's broken. Persona/rule install steps 4 and 5 use `list_*` first and ask the user before replacing any customized entries.

SEC user-agent fix bundled

Closes a silent gap: previously, every Clarion install shipped `config.json` with `sec_user_agent: "Clarion Intelligence System (clarion@example.com)"` as default. Step 6 now prompts the user for their real name+email, and the agent writes it to config.json before the Step 7b restart picks it up. Per SEC's fair-access policy, every API consumer should identify themselves.

service_doctor correction folded in

Following up on PR #87 (synced from upstream #20): the SKILL.md previously framed `service_doctor` as a shell command. Per the Zo team, it's an agent tool. SKILL.md now calls it as `service_doctor(service="sec-indexer")` and inspects logs via shell separately.

Validation

`bun validate` — clean on `clarion-setup` (the 15 pre-existing warnings on other skills are untouched).

Footprint

Single file: `External/clarion-setup/SKILL.md` (+146/-58 lines). No code, no schema. Frontmatter description updated, so the manifest-regen bot should fire and the registry catalog will reflect the new install behavior.

Upstream PR jingerzz/clarion-intelligence-system#21: restructures the
Clarion install UX so a new user types one chat prompt ("set up Clarion")
and is asked for input exactly once, near the end, batched: SEC EDGAR
name+email AND the ZO_API_KEY secret confirmation. Everything else —
repo clone, library install, data tree, sibling skill auto-install,
service registration, persona install, rule install, config.json update,
service restart, verification — happens autonomously in a continuous flow.

Enabled by Zo's agent tools (create_persona, list_personas, delete_persona,
create_rule, list_rules, delete_rule, service_doctor) — previously the
persona/rule install was a separate manual paste into Zo Settings, now
it's autonomous.

Step 6 pre-check makes clean re-runs fully autonomous: if config.json
has a real sec_user_agent AND service_doctor shows RUNNING, the human
checkpoint is skipped entirely.

Also bundles the SEC user-agent silent-placeholder fix — every Clarion
install was previously hitting SEC EDGAR with clarion@example.com; now
the setup prompts for the user's real identification.

Also folds in the service_doctor correction from PR zocomputer#87/upstream zocomputer#20:
it's an agent tool, not a shell command. SKILL.md now calls it as
service_doctor(service="sec-indexer").

Frontmatter description updated to mention persona/rule install and the
batched human checkpoint, so the registry catalog will reflect the new
behavior after manifest regen.
@jingerzz jingerzz merged commit 351d647 into zocomputer:main May 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant