Skip to content

chore: keep superpowers plans local#71530

Merged
BunsDev merged 3 commits intomainfrom
meow/control-ui-setup-guidance-spec
Apr 25, 2026
Merged

chore: keep superpowers plans local#71530
BunsDev merged 3 commits intomainfrom
meow/control-ui-setup-guidance-spec

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 25, 2026

Summary

  • keep superpowers planning artifacts local-only
  • ignore the local .superpowers workspace
  • remove the repo-tracked docs/superpowers design artifact from this branch

Notes

  • no product implementation changes
  • this PR is only about keeping planning artifacts out of the repo

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Apr 25, 2026
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 25, 2026

Greptile Summary

This PR adds a design-only spec for inline setup guidance in the Control UI, covering Skills and Channels surfaces with a shared SetupGuidance data contract, rendering rules, fallback behavior, and a targeted channel adoption strategy. No implementation or schema changes are included.

Confidence Score: 4/5

Design-only doc, safe to merge — only P2 design clarity notes flagged.

No implementation changes; only a spec document is added. Two P2 concerns exist — docsPath type ambiguity and the risk of duplicate type definitions across skills and channels — neither of which blocks merging the design doc itself.

docs/superpowers/specs/2026-04-25-control-ui-setup-guidance-design.md — docsPath field spec and shared type placement warrant clarification before implementation begins.

Prompt To Fix All With AI
This is a comment left during a code review.
Path: docs/superpowers/specs/2026-04-25-control-ui-setup-guidance-design.md
Line: 99-107

Comment:
**`docsPath` type ambiguity**

The field name `docsPath` and its description ("docs path or docs link if present") conflate two distinct shapes: a Mintlify root-relative path (e.g. `/channels/discord`) and a fully-qualified URL. The rendering code will need to know which to expect — root-relative paths require URL construction at the gateway/UI boundary, while full URLs do not. Per `docs/AGENTS.md`, internal doc links are root-relative with no `.md` suffix. Consider splitting the field (e.g. `docsUrl?: string`) or tightening the prose to specify exactly what format is expected.

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: docs/superpowers/specs/2026-04-25-control-ui-setup-guidance-design.md
Line: 110-130

Comment:
**Shared type risks silent drift between skills and channels**

The spec plants the same `SetupGuidance` shape in two separate files — `src/agents/skills-status.ts` and `src/channels/plugins/setup-wizard-types.ts`. If both keep independent copies, the two will silently diverge when one side adds a field (e.g. `priority` or a locale hint). Consider declaring `SetupGuidance` once in a shared types module (e.g. `src/shared/setup-guidance-types.ts` or inside a UI package) and importing it from both sites, so there is a single source of truth for the contract.

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "docs: add control ui setup guidance desi..." | Re-trigger Greptile

Comment on lines +99 to +107
copyText?: string;
details?: string[];
docsPath?: string;
};
```

Rules:

- `summary` is always present when setup guidance exists.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 docsPath type ambiguity

The field name docsPath and its description ("docs path or docs link if present") conflate two distinct shapes: a Mintlify root-relative path (e.g. /channels/discord) and a fully-qualified URL. The rendering code will need to know which to expect — root-relative paths require URL construction at the gateway/UI boundary, while full URLs do not. Per docs/AGENTS.md, internal doc links are root-relative with no .md suffix. Consider splitting the field (e.g. docsUrl?: string) or tightening the prose to specify exactly what format is expected.

Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/superpowers/specs/2026-04-25-control-ui-setup-guidance-design.md
Line: 99-107

Comment:
**`docsPath` type ambiguity**

The field name `docsPath` and its description ("docs path or docs link if present") conflate two distinct shapes: a Mintlify root-relative path (e.g. `/channels/discord`) and a fully-qualified URL. The rendering code will need to know which to expect — root-relative paths require URL construction at the gateway/UI boundary, while full URLs do not. Per `docs/AGENTS.md`, internal doc links are root-relative with no `.md` suffix. Consider splitting the field (e.g. `docsUrl?: string`) or tightening the prose to specify exactly what format is expected.

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines +110 to +130
- `docsPath` is fallback/supporting guidance, not the primary copied action.

## Skills Source Of Truth

Add optional `setupGuidance` to `SkillStatusEntry` in `src/agents/skills-status.ts`.

Build it centrally from existing skill status metadata:

- `install`
- `missing`
- `primaryEnv`
- config checks

Priority for skill `copyText`:

1. installer command/snippet derived from the preferred install option
2. env snippet derived from `primaryEnv`
3. config-path hint when no better command/snippet exists

The UI must not derive commands from labels like `Install ...`. The status layer should provide the explicit copy payload.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Shared type risks silent drift between skills and channels

The spec plants the same SetupGuidance shape in two separate files — src/agents/skills-status.ts and src/channels/plugins/setup-wizard-types.ts. If both keep independent copies, the two will silently diverge when one side adds a field (e.g. priority or a locale hint). Consider declaring SetupGuidance once in a shared types module (e.g. src/shared/setup-guidance-types.ts or inside a UI package) and importing it from both sites, so there is a single source of truth for the contract.

Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/superpowers/specs/2026-04-25-control-ui-setup-guidance-design.md
Line: 110-130

Comment:
**Shared type risks silent drift between skills and channels**

The spec plants the same `SetupGuidance` shape in two separate files — `src/agents/skills-status.ts` and `src/channels/plugins/setup-wizard-types.ts`. If both keep independent copies, the two will silently diverge when one side adds a field (e.g. `priority` or a locale hint). Consider declaring `SetupGuidance` once in a shared types module (e.g. `src/shared/setup-guidance-types.ts` or inside a UI package) and importing it from both sites, so there is a single source of truth for the contract.

How can I resolve this? If you propose a fix, please make it concise.

@BunsDev BunsDev changed the title docs: add Control UI setup guidance design chore: keep superpowers plans local Apr 25, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the docs Improvements or additions to documentation label Apr 25, 2026
@BunsDev BunsDev merged commit 151befb into main Apr 25, 2026
64 checks passed
@BunsDev BunsDev deleted the meow/control-ui-setup-guidance-spec branch April 25, 2026 10:35
Angfr95 pushed a commit to Angfr95/openclaw that referenced this pull request Apr 25, 2026
* docs: add control ui setup guidance design

* chore: keep superpowers plans local
ayesha-aziz123 pushed a commit to ayesha-aziz123/openclaw that referenced this pull request Apr 26, 2026
* docs: add control ui setup guidance design

* chore: keep superpowers plans local
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
* docs: add control ui setup guidance design

* chore: keep superpowers plans local
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
* docs: add control ui setup guidance design

* chore: keep superpowers plans local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant