Skip to content

Commit 2581515

Browse files
docs: next-steps.
1 parent 287a4b5 commit 2581515

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

docs/next-steps.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,19 @@ Focused follow-up work for `@knighted/develop`.
1919
- Suggested implementation prompt:
2020
- "Add a deterministic E2E execution mode for `@knighted/develop` that serves pinned runtime artifacts locally (instead of live CDN fetches) and wire it into CI as a required check on every PR. Keep a separate lightweight CDN-smoke E2E check for real-network coverage. Validate with `npm run lint`, deterministic Playwright PR checks, and one CDN-smoke Playwright run."
2121

22-
4. **Issue #18 continuation (resume from Phase 2)**
23-
- Continue the GitHub AI assistant rollout after completed Phases 0-1:
22+
4. **Issue #18 continuation (resume from Phase 3)**
23+
- Current rollout status:
2424
- Phase 0 complete: feature flag + scaffolding.
2525
- Phase 1 complete: BYOT token flow, localStorage persistence, writable repo discovery/filtering.
26-
- Implement the next slice first:
27-
- Phase 2: chat drawer UX with streaming responses first, plus non-streaming fallback.
28-
- Add selected repository state plumbing now so Phase 4 (PR write flow) can reuse it.
29-
- Add README documentation for fine-grained PAT setup (reuse existing screenshots referenced in docs/byot.md).
26+
- Phase 2 complete: separate AI chat drawer UX, streaming-first responses with non-stream fallback, selected repository context plumbing, and README fine-grained PAT setup links.
27+
- Implement the next slice first (Phase 3):
28+
- Add mode-aware recommendation behavior so the assistant strongly adapts suggestions to current render mode and style mode.
29+
- Add an editor update workflow where the assistant can propose structured edits and the user can apply to Component and Styles editors with explicit confirmation.
30+
- Add filename groundwork for upcoming PR flows by allowing user-defined Component and Styles file names, persisted per selected repository.
3031
- Keep behavior and constraints aligned with current implementation:
3132
- Keep everything behind the existing browser-only AI feature flag.
3233
- Preserve BYOT token semantics (localStorage persistence until user deletes).
3334
- Keep CDN-first runtime behavior and existing fallback model.
3435
- Do not add dependencies without explicit approval.
35-
- Suggested implementation prompt:
36-
- "Continue Issue #18 in @knighted/develop from the current Phase 1 baseline. Implement Phase 2 by adding a separate AI chat drawer with streaming response rendering (primary) and a non-streaming fallback path. Wire selected repository state as shared app state for upcoming Phase 4 PR actions. Update README with a concise fine-grained PAT setup section that links to existing BYOT screenshot assets/docs. Keep all AI/BYOT UI and behavior behind the existing browser-only feature flag, preserve current token persistence and repo filtering behavior, and validate with npm run lint plus targeted Playwright coverage for chat drawer visibility, streaming/fallback behavior, and repo-context selection plumbing."
36+
- Phase 3 mini-spec (agent implementation prompt):
37+
- "Continue Issue #18 in @knighted/develop from the current Phase 2 baseline. Implement Phase 3 with three deliverables. (1) Add mode-aware assistant guidance: when collecting AI context, include explicit policy hints derived from render mode and style mode, and ensure recommendations avoid incompatible patterns (for example, avoid React hook/state guidance in DOM mode unless user explicitly asks for React migration). (2) Add assistant-to-editor apply flow: support structured assistant responses that can propose edits for component and/or styles editors; render these as reviewable actions in the chat drawer, require explicit user confirmation to apply, and support a one-step undo for last applied assistant edit per editor. (3) Add PR-prep filename metadata: introduce user-editable fields for Component filename and Styles filename in AI controls, validate simple safe filename format, and persist/reload values scoped to selected repository so Phase 4 PR write flow can reuse them. Keep all AI/BYOT behavior behind the existing browser-only AI feature flag and preserve current token/repo persistence semantics. Do not add dependencies. Validate with npm run lint and targeted Playwright tests covering: mode-aware recommendation constraints, apply/undo editor actions, and repository-scoped filename persistence."

src/styles/layout-shell.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
background: var(--surface-app-header);
88
position: sticky;
99
top: 0;
10-
z-index: 10;
10+
z-index: 200;
1111
backdrop-filter: blur(8px);
1212
}
1313

0 commit comments

Comments
 (0)