comparison .claude/skills/zenbu-personal-site/SKILL.md @ 260:1f9877b637e9

Add Copilot-powered cyberpunk JRPG chat Integrate the production JRPG chat with Seobeo streaming, Deita persistence, and a Bazel-managed Copilot SDK and LiteLLM inference stack. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <mrjunejune@users.noreply.github.com>
date Wed, 05 Aug 2026 09:19:41 -0700
parents 667156fcd3e3
children b401627fc49e
comparison
equal deleted inserted replaced
259:667156fcd3e3 260:1f9877b637e9
27 - New site CSS uses `--zenbu-sys-*` semantic roles. Do not consume 27 - New site CSS uses `--zenbu-sys-*` semantic roles. Do not consume
28 `--zenbu-ref-color-*` or add new `--zen-*` compatibility-token usage. 28 `--zenbu-ref-color-*` or add new `--zen-*` compatibility-token usage.
29 - `mrjunejune/test/`: integration tests and snapshots. 29 - `mrjunejune/test/`: integration tests and snapshots.
30 - `mrjunejune/BUILD`: Bazel build, bundle, asset movement, and test-visible filegroups. 30 - `mrjunejune/BUILD`: Bazel build, bundle, asset movement, and test-visible filegroups.
31 - `mrjunejune/.config` and `.config.development`: server configuration. Do not commit secrets. 31 - `mrjunejune/.config` and `.config.development`: server configuration. Do not commit secrets.
32 - Experimental pages use the `MRJUNEJUNE_ENABLE_DEV_PAGES` compile-time gate. 32 - The JRPG chat is a production route. Seobeo owns conversation CRUD and POST
33 Their static files belong in `src_files_development`; production 33 SSE, Deita stores turns, and a Bazel-managed Python Copilot SDK sidecar uses a
34 `src_files`, `mrjunejune_server`, and `mrjunejune_server_bundle` must exclude 34 loopback LiteLLM `github_copilot` provider. Never use a virtualenv or pip
35 them. 35 install workflow.
36 36
37 ## How rendering works 37 ## How rendering works
38 38
39 Handlers allocate a response body from `Dowa_Arena`, render an HTML file with `Seobeo_Render_Html_FilePath`, and return a response map: 39 Handlers allocate a response body from `Dowa_Arena`, render an HTML file with `Seobeo_Render_Html_FilePath`, and return a response map:
40 40
72 bazel build //mrjunejune:mrjunejune_server 72 bazel build //mrjunejune:mrjunejune_server
73 bazel build //mrjunejune:mrjunejune_server_bundle 73 bazel build //mrjunejune:mrjunejune_server_bundle
74 bazel test //mrjunejune/test:integration_test 74 bazel test //mrjunejune/test:integration_test
75 ``` 75 ```
76 76
77 Use the development server for experimental pages and debug networking: 77 Run the complete local inference stack with:
78 78
79 ```bash 79 ```bash
80 bazel run //mrjunejune:mrjunejune_server_dev -c dbg 80 export GITHUB_COPILOT_TOKEN_DIR="$HOME/.local/state/mrjunejune/inference/litellm-copilot"
81 bazel run //mrjunejune/inference:litellm_proxy -- \
82 --authenticate \
83 --token-dir "$GITHUB_COPILOT_TOKEN_DIR"
84
85 LITELLM_MASTER_KEY='<local proxy key>' \
86 MRJUNEJUNE_ALLOW_ANONYMOUS_INFERENCE=1 \
87 bazel run //mrjunejune:run_inference_stack
81 ``` 88 ```
82 89
83 ## Production-minded checklist 90 ## Production-minded checklist
84 91
85 - Use Dowa's fixed-width aliases and `boolean`/`TRUE`/`FALSE` in first-party C 92 - Use Dowa's fixed-width aliases and `boolean`/`TRUE`/`FALSE` in first-party C