fix(qqbot): support QQBOT_DATA_DIR environment variable#78253
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 12, 2026, 2:44 AM ET / 06:44 UTC. Summary PR surface: Source +9, Tests +69, Docs +1. Total +79 across 3 files. Reproducibility: yes. at source level: current diagnostics recommend Review metrics: 2 noteworthy metrics.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Close this stale PR as superseded: Use canonical path ownership. Remove the stale variable recommendation rather than adding a second general QQBot storage contract. Do we have a high-confidence way to reproduce the issue? Yes at source level: current diagnostics recommend Is this the best way to solve the issue? No, not as currently framed: calling this general QQBot storage conflicts with current SQLite and media ownership. The narrow maintainable choices are removing the stale promise or approving a validated legacy/download-only override. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6921fb4ce7db. Label changesLabel justifications:
Evidence reviewedPR surface: Source +9, Tests +69, Docs +1. Total +79 across 3 files. View PR surface stats
Security concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
50e8eaf to
cb6be91
Compare
cb6be91 to
9e46536
Compare
9e46536 to
28d78b3
Compare
4bbb356 to
5ddb021
Compare
Allow users to customize QQBot data directory by setting QQBOT_DATA_DIR environment variable. Falls back to ~/.openclaw/qqbot when not set. Closes [Bug]:openclaw#39461
5ddb021 to
3feef83
Compare
Summary
Allow users to customize QQBot data directory by setting QQBOT_DATA_DIR environment variable. Falls back to ~/.openclaw/qqbot when not set.
Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
Root Cause (if applicable)
For bug fixes or regressions, explain why this happened, not just what changed. Otherwise write
N/A. If the cause is unclear, writeUnknown.Regression Test Plan (if applicable)
For bug fixes or regressions, name the smallest reliable test coverage that should catch this. Otherwise write
N/A.User-visible / Behavior Changes
List user-visible changes (including defaults/config).
If none, write
None.Diagram (if applicable)
For UI changes or non-trivial logic flows, include a small ASCII diagram reviewers can scan quickly. Otherwise write
N/A.Security Impact (required)
Yes/No)Yes/No)Yes/No)Yes/No)Yes/No)Yes, explain risk + mitigation:Repro + Verification
Environment
Steps
Expected
Actual
Evidence
Attach at least one:
Human Verification (required)
What you personally verified (not just CI), and how:
Review Conversations
If a bot review conversation is addressed by this PR, resolve that conversation yourself. Do not leave bot review conversation cleanup for maintainers.
Compatibility / Migration
Yes/No)Yes/No)Yes/No)Risks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write
None.