docs(claude): live instance details, migration status, and drift notes#3
docs(claude): live instance details, migration status, and drift notes#3bakerboy448 wants to merge 1 commit into
Conversation
…rift notes
- Document live qui.internal instance (hetzner, port 7476, OIDC-only auth)
- Confirm FILE_MAP IDs in export.sh match live instance (verified 2026-06-21)
- Note bakerboy448/qui-automations is archived; this repo is canonical
- Document two known live-vs-repo drift items:
- HL-remove-limits: intervalSeconds null vs omitted (equivalent, no action)
- Recheck: missing files: live uses old explicit forceRecheck condition;
repo has correct empty-conditions form (live should be updated)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Walkthrough
ChangesLive Instance and Drift Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@CLAUDE.md`:
- Around line 18-25: The Auth line in the Live Instance section uses ambiguous
wording with "no plain API key" which could be misread as "no API keys available
at all." Clarify this line to explicitly state that OIDC authentication is
required first, and then API keys can be generated via the UI Settings after
successful OIDC login. Reword the Auth description to avoid the confusing
phrasing and make it clear that API keys do exist but are UI-generated
post-OIDC-login, not available through built-in login mechanisms.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 89ea3635-3e46-4840-bc63-b07b58a45ac7
📒 Files selected for processing (1)
CLAUDE.md
| ## Live Instance | ||
|
|
||
| - Container: `qui.internal` (ghcr.io/hotio/qui) on hetzner, port 7476 | ||
| - Auth: OIDC-only (`QUI__OIDC_DISABLE_BUILT_IN_LOGIN=true`) — no built-in login, no plain API key | ||
| - Export script (`scripts/export.sh`) requires `QUI_API_KEY`; generate one via qui Settings → API Keys | ||
| - FILE_MAP IDs in export.sh match the live instance (verified 2026-06-21) | ||
| - Predecessor repo `bakerboy448/qui-automations` is archived; this repo is canonical | ||
|
|
There was a problem hiding this comment.
🧹 Nitpick | 🔵 Trivial | 💤 Low value
Clarify API key availability in OIDC-only mode.
Line 21 states "no plain API key," which is technically correct but could be misread as "no API keys at all." In OIDC-only mode, users authenticate via OIDC first, then can generate API keys from the ui Settings. Consider rewording to "OIDC-only authentication required; API keys generated via UI after OIDC login" to avoid confusion.
📝 Proposed clarification
- Auth: OIDC-only (`QUI__OIDC_DISABLE_BUILT_IN_LOGIN=true`) — no built-in login, no plain API key
+ - Auth: OIDC-only (`QUI__OIDC_DISABLE_BUILT_IN_LOGIN=true`); API keys generated via UI after OIDC authentication🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@CLAUDE.md` around lines 18 - 25, The Auth line in the Live Instance section
uses ambiguous wording with "no plain API key" which could be misread as "no API
keys available at all." Clarify this line to explicitly state that OIDC
authentication is required first, and then API keys can be generated via the UI
Settings after successful OIDC login. Reword the Auth description to avoid the
confusing phrasing and make it clear that API keys do exist but are UI-generated
post-OIDC-login, not available through built-in login mechanisms.
Summary
qui.internalinstance details in CLAUDE.md (hetzner, port 7476, OIDC-only auth)scripts/export.shFILE_MAP IDs match the live instance (verified 2026-06-21 via SQLite inspection)bakerboy448/qui-automationsis archived and this repo is canonicalConsolidation audit findings (PART A)
Both
bakerboy448/qui-automations(archived predecessor) andbaker-scripts/qui_workflowshave the same 21 automations with the same names. No unique content existed in the predecessor —qui_workflowswas already the canonical, more advanced version with newer qui schema fields (dryRun,trackerDomains,trackerPattern) and improved logic. No automation JSON migration was needed.bakerboy448/qui-automationswas already archived before this session.Live export findings (PART B)
Exported live automations directly from the qui SQLite DB (
/.config/qui/qui.dbon hetzner) since the live instance uses OIDC-only auth (QUI__OIDC_DISABLE_BUILT_IN_LOGIN=true) and no plain API key was available via sanctioned means.Live instance has 21 automations, last modified 2026-03-09. Comparing to repo (ignoring schema-only fields added in newer qui):
intervalSeconds: nullforceRecheckcondition (STATE = missingFiles)The repo is more correct than live for
Recheck: missing files. The empty-conditions form is the correct newer representation (documented in README: "Built-in qui action — empty conditions is intentional").Test plan
scripts/export.shagainst live instance after generating an API key via qui Settings → API KeysRecheck: missing filesautomation to remove the explicit condition (empty conditions is correct)🤖 Generated with Claude Code
Summary by CodeRabbit