sidequestor 0.2.2__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. {sidequestor-0.2.2/src/sidequestor.egg-info → sidequestor-0.2.4}/PKG-INFO +134 -18
  2. {sidequestor-0.2.2 → sidequestor-0.2.4}/README.md +132 -17
  3. {sidequestor-0.2.2 → sidequestor-0.2.4}/pyproject.toml +2 -2
  4. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/__init__.py +1 -1
  5. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/cli.py +60 -23
  6. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/launchd.py +4 -4
  7. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/onboarding.py +5 -1
  8. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/package_data/env.example +22 -4
  9. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/quest_terminal.py +8 -1
  10. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/dashboard.html +33 -14
  11. sidequestor-0.2.4/src/sidequestor/runtime/yaas-triage/dashboard_settings.py +165 -0
  12. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/dispatch/dispatch-agent.sh +19 -5
  13. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/dispatch/slack-read-health.py +53 -7
  14. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ops/dashboard-server.py +61 -13
  15. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ops/doctor.sh +10 -0
  16. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/reaction_config.py +5 -5
  17. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/reaction_lifecycle.py +23 -5
  18. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-gdoc-anchored-comments/gdoc-comment.py +1 -0
  19. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-onboarding/SKILL.md +163 -4
  20. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-ops/SKILL.md +56 -13
  21. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-reactions/SKILL.md +3 -1
  22. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/client.py +9 -5
  23. sidequestor-0.2.4/src/sidequestor/runtime/yaas-triage/surfaces/native_tls.py +10 -0
  24. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/notion-call.py +5 -1
  25. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/react-lifecycle.py +19 -3
  26. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/x-call.py +2 -1
  27. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/x-send.py +2 -1
  28. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/x_credentials.py +2 -1
  29. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/tick.py +37 -20
  30. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/setup.py +17 -15
  31. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/setup_worker.py +32 -74
  32. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/update_check.py +6 -1
  33. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/upgrade.py +47 -13
  34. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/worker_readiness.py +116 -28
  35. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/workspace.py +22 -3
  36. {sidequestor-0.2.2 → sidequestor-0.2.4/src/sidequestor.egg-info}/PKG-INFO +134 -18
  37. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor.egg-info/SOURCES.txt +9 -0
  38. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor.egg-info/requires.txt +1 -0
  39. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/dashboard_review_preview.cjs +5 -1
  40. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_connector_policy.py +23 -0
  41. sidequestor-0.2.4/tests/test_dashboard_app_links.py +13 -0
  42. sidequestor-0.2.4/tests/test_dashboard_settings.py +194 -0
  43. sidequestor-0.2.4/tests/test_dispatch_agent.py +80 -0
  44. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_gdoc_comment.py +14 -0
  45. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_install_script.py +1 -1
  46. sidequestor-0.2.4/tests/test_instance_registry.py +240 -0
  47. sidequestor-0.2.4/tests/test_multi_instance_operations.py +290 -0
  48. sidequestor-0.2.4/tests/test_native_tls.py +94 -0
  49. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_onboarding.py +22 -0
  50. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_quest_terminal.py +46 -4
  51. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_reaction_config.py +16 -2
  52. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_reaction_lifecycle.py +54 -0
  53. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_runtime_config.py +4 -3
  54. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_runtime_docs.py +12 -1
  55. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_setup.py +17 -4
  56. sidequestor-0.2.4/tests/test_slack_worker_health.py +172 -0
  57. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_update_check.py +46 -1
  58. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_upgrade.py +86 -3
  59. sidequestor-0.2.4/tests/test_worker_readiness.py +277 -0
  60. sidequestor-0.2.2/tests/test_worker_readiness.py +0 -135
  61. {sidequestor-0.2.2 → sidequestor-0.2.4}/LICENSE +0 -0
  62. {sidequestor-0.2.2 → sidequestor-0.2.4}/MANIFEST.in +0 -0
  63. {sidequestor-0.2.2 → sidequestor-0.2.4}/setup.cfg +0 -0
  64. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/__main__.py +0 -0
  65. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/build_info.py +0 -0
  66. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/credential_setup.py +0 -0
  67. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/dashboard.py +0 -0
  68. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/isolated.py +0 -0
  69. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/job_path.py +0 -0
  70. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/migrations.py +0 -0
  71. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/native.py +0 -0
  72. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/package_data/OPERATING.md +0 -0
  73. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/package_data/settings.json.example +0 -0
  74. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/resources.py +0 -0
  75. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/approval_state.py +0 -0
  76. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/approval_store.py +0 -0
  77. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/assets/sidequestor-knows-its-pretty-thank-you.png +0 -0
  78. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/assets/sidequestor-mark.png +0 -0
  79. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/approval.py +0 -0
  80. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/approval.watch.json +0 -0
  81. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/cron-due.py +0 -0
  82. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/email.lag +0 -0
  83. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/email.py +0 -0
  84. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/email.watch.json +0 -0
  85. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/github.py +0 -0
  86. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/github_issue.lag +0 -0
  87. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/github_issue.py +0 -0
  88. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/github_issue.watch.json +0 -0
  89. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/github_pr.lag +0 -0
  90. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/github_pr.py +0 -0
  91. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/github_pr.watch.json +0 -0
  92. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/health_issue.py +0 -0
  93. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/health_issue.watch.json +0 -0
  94. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/jira.lag +0 -0
  95. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/jira.py +0 -0
  96. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/jira.watch.json +0 -0
  97. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/notion.py +0 -0
  98. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/notion_comments.py +0 -0
  99. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/notion_comments.watch.json +0 -0
  100. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/notion_data_source.py +0 -0
  101. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/notion_data_source.watch.json +0 -0
  102. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/notion_page.py +0 -0
  103. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/notion_page.watch.json +0 -0
  104. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/notion_store.py +0 -0
  105. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/notion_tree.py +0 -0
  106. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/reactions.py +0 -0
  107. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/result.py +0 -0
  108. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/schedule.py +0 -0
  109. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/schedule.watch.json +0 -0
  110. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/slack_channel.py +0 -0
  111. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/slack_channel.watch.json +0 -0
  112. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/slack_dm.py +0 -0
  113. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/slack_dm.watch.json +0 -0
  114. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/slack_mention.lag +0 -0
  115. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/slack_mention.py +0 -0
  116. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/slack_mention.watch.json +0 -0
  117. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/slack_thread.py +0 -0
  118. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/slack_thread.watch.json +0 -0
  119. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/slack_utils.py +0 -0
  120. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/telegram.py +0 -0
  121. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/telegram_chat.lag +0 -0
  122. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/telegram_chat.py +0 -0
  123. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/telegram_chat.watch.json +0 -0
  124. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/telegram_search.lag +0 -0
  125. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/telegram_search.py +0 -0
  126. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/telegram_search.watch.json +0 -0
  127. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x.py +0 -0
  128. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_dm.lag +0 -0
  129. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_dm.py +0 -0
  130. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_dm.watch.json +0 -0
  131. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_home.lag +0 -0
  132. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_home.py +0 -0
  133. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_home.watch.json +0 -0
  134. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_mentions.lag +0 -0
  135. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_mentions.py +0 -0
  136. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_mentions.watch.json +0 -0
  137. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_search.lag +0 -0
  138. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_search.py +0 -0
  139. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_search.watch.json +0 -0
  140. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_user_posts.lag +0 -0
  141. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_user_posts.py +0 -0
  142. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/checkers/x_user_posts.watch.json +0 -0
  143. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/dispatch/extract-tokens.py +0 -0
  144. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/dispatch/fake-worker.py +0 -0
  145. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/dispatch/format-stream.py +0 -0
  146. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/dispatch/plan.py +0 -0
  147. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/dispatch/run-agent.py +0 -0
  148. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/dispatch/spend-window.py +0 -0
  149. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/dispatch/translate-stream.py +0 -0
  150. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/dispatch/worker.mcp.json +0 -0
  151. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/inbox.py +0 -0
  152. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ledger/ack-watch.py +0 -0
  153. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ledger/add-watch.py +0 -0
  154. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ledger/approval-helper.py +0 -0
  155. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ledger/checker-health.py +0 -0
  156. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ledger/commit.py +0 -0
  157. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ledger/ensure-watch-ids.py +0 -0
  158. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ledger/housekeep.py +0 -0
  159. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ledger/watch-guard.py +0 -0
  160. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ops/dashboard-start.sh +0 -0
  161. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ops/health-monitor.py +0 -0
  162. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ops/heartbeat-loop.sh +0 -0
  163. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ops/notify.py +0 -0
  164. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ops/rotate-logs.py +0 -0
  165. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/ops/sync-yaas-v2.sh +0 -0
  166. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/setup/com.yaas.dashboard.plist.template +0 -0
  167. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/setup/com.yaas.heartbeat.plist.template +0 -0
  168. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/setup/com.yaas.triage.plist.template +0 -0
  169. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/setup/init-yaas-v2-tracking.sh +0 -0
  170. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/setup/install-launchd-common.sh +0 -0
  171. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/setup/install-launchd-dashboard.sh +0 -0
  172. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/setup/install-launchd-heartbeat.sh +0 -0
  173. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/setup/install-launchd.sh +0 -0
  174. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/setup/setup.sh +0 -0
  175. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/setup/yaas-app-config.json +0 -0
  176. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-action-closure/SKILL.md +0 -0
  177. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-answering-quality/SKILL.md +0 -0
  178. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-checker-authoring/SKILL.md +0 -0
  179. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-draft-readiness/SKILL.md +0 -0
  180. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-gdoc-anchored-comments/SKILL.md +0 -0
  181. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/SKILL.md +0 -0
  182. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/gmail-reply.py +0 -0
  183. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/gmail_policy.py +0 -0
  184. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/send_fresh.py +0 -0
  185. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-quest-creation/SKILL.md +0 -0
  186. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-quest-creation/new-quest.py +0 -0
  187. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-quest-dispatch/SKILL.md +0 -0
  188. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-slack-channel/SKILL.md +0 -0
  189. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-slack-file/SKILL.md +0 -0
  190. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/skills/yaas-slack-interface/SKILL.md +0 -0
  191. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/credential_store.py +0 -0
  192. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/jira-call.sh +0 -0
  193. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/keychain-helper.c +0 -0
  194. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/log-event.py +0 -0
  195. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/mcp-call.sh +0 -0
  196. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/notion-state.py +0 -0
  197. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/slack-channel.py +0 -0
  198. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/slack-expand.py +0 -0
  199. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/slack-file.py +0 -0
  200. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/slack-react.sh +0 -0
  201. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/slack-send.py +0 -0
  202. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/slack_credentials.py +0 -0
  203. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/slack_files.py +0 -0
  204. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/telegram-call.py +0 -0
  205. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/telegram-send.py +0 -0
  206. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/telegram_credentials.py +0 -0
  207. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/surfaces/timeline_io.py +0 -0
  208. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/system_health.py +0 -0
  209. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/tick_check.py +0 -0
  210. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/tick_dispatch.py +0 -0
  211. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/tick_state.py +0 -0
  212. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/runtime/yaas-triage/triage-loop.sh +0 -0
  213. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor/upgrade_job.py +0 -0
  214. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor.egg-info/dependency_links.txt +0 -0
  215. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor.egg-info/entry_points.txt +0 -0
  216. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/sidequestor.egg-info/top_level.txt +0 -0
  217. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/yaas_triage/__init__.py +0 -0
  218. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/yaas_triage/__main__.py +0 -0
  219. {sidequestor-0.2.2 → sidequestor-0.2.4}/src/yaas_triage/cli.py +0 -0
  220. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_approval_failure.py +0 -0
  221. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_build_info.py +0 -0
  222. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_checker_connector_gates.py +0 -0
  223. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_cli_lifecycle.py +0 -0
  224. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_credential_setup.py +0 -0
  225. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_credential_state_root.py +0 -0
  226. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_dashboard_composer_persistence.py +0 -0
  227. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_dashboard_ports.py +0 -0
  228. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_dashboard_review_preview.py +0 -0
  229. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_default_workspace.py +0 -0
  230. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_dispatch_manifest.py +0 -0
  231. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_gmail_reply.py +0 -0
  232. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_gmail_send.py +0 -0
  233. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_initial_run_gate.py +0 -0
  234. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_jira_checker.py +0 -0
  235. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_job_path.py +0 -0
  236. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_launchd_lifecycle.py +0 -0
  237. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_notion_checkers.py +0 -0
  238. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_notion_tree.py +0 -0
  239. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_quest_creation_handoff.py +0 -0
  240. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_reaction_pending.py +0 -0
  241. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_runtime_imports.py +0 -0
  242. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_slack_channel.py +0 -0
  243. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_slack_expand.py +0 -0
  244. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_slack_file.py +0 -0
  245. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_slack_parser.py +0 -0
  246. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_slack_search.py +0 -0
  247. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_slack_send.py +0 -0
  248. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_system_health.py +0 -0
  249. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_telegram_send.py +0 -0
  250. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_telegram_x_checkers.py +0 -0
  251. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_triage_liveness.py +0 -0
  252. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_unacked_prune.py +0 -0
  253. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_upgrade_job.py +0 -0
  254. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_version.py +0 -0
  255. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_watch_activity.py +0 -0
  256. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_watcher_status_dashboard.py +0 -0
  257. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_x_send.py +0 -0
  258. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_x_user_auth.py +0 -0
  259. {sidequestor-0.2.2 → sidequestor-0.2.4}/tests/test_x_user_checkers.py +0 -0
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sidequestor
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: Sidequestor workspace and triage command shell
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.11
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
+ Requires-Dist: truststore<1,>=0.10
9
10
  Provides-Extra: telegram
10
11
  Requires-Dist: Telethon<2,>=1.44; extra == "telegram"
11
12
  Dynamic: license-file
@@ -39,6 +40,12 @@ Telegram user-session watches require the optional `sidequestor[telegram]` extra
39
40
  script checks the command-line tools it needs before it runs, and
40
41
  `yaas-triage/ops/doctor.sh` checks the rest.
41
42
 
43
+ Update checks and the Jira, Notion, and X HTTPS helpers use the operating system's
44
+ certificate trust through the installed `truststore` dependency. On macOS this
45
+ includes corporate certificates trusted by the system, without pinning a certificate
46
+ bundle in `.env`. TLS verification remains enabled. Slack and Telegram use their
47
+ existing transports.
48
+
42
49
  ## How do I install it?
43
50
 
44
51
  ```bash
@@ -56,11 +63,19 @@ sidequestor init .
56
63
  # Save the ready-to-paste Slack YAML manifest.
57
64
  sq setup --manifest > slack-app-manifest.yaml
58
65
  # Run interactive onboarding; bypassPermissions is the default worker permission mode.
59
- sq setup
66
+ sq --workspace . setup
60
67
  # Start triage, heartbeat, and the dashboard and print the dashboard URL.
61
- sq start
68
+ sq --workspace . start
62
69
  ```
63
70
 
71
+ Always target the folder explicitly when setting up a new or additional workspace.
72
+ `cd` and `sidequestor init .` do not override an existing saved default or an exported
73
+ workspace variable. `sq init` prints the exact next setup command for its folder,
74
+ including safe quoting for paths with spaces. Use that command or `sq --workspace . setup`
75
+ from inside the intended workspace.
76
+ Setup saves its selected workspace as the default; initializing an additional
77
+ folder alone does not replace an existing default.
78
+
64
79
  The repository also includes `install.sh` for a fresh macOS install. It installs the
65
80
  PyPI package with uv when needed, creates `~/sidequestor` only when no workspace is
66
81
  registered, runs `sq setup`, and opens the dashboard. A separate `install-circle.sh.in`
@@ -81,7 +96,20 @@ only while that environment is active, or by full path such as `.venv/bin/sq`.
81
96
 
82
97
  `sq start`, `sq stop`, and `sq dashboard` use your saved default workspace from any terminal directory. The first sole valid workspace is adopted automatically in the existing `~/.config/yaas/instances.json` registry (or the configured config home); no files are moved. With multiple workspaces, run `sq setup --select-workspace` once. Explicit `--workspace PATH` or `--instance ID` overrides the default. The selected workspace path is printed on lifecycle commands. `sq status` shows its path, saved dashboard address, and connection issues. `sq dashboard` opens the running dashboard; `sq dashboard url` prints its URL for scripts.
83
98
 
84
- The dashboard defaults to **http://localhost:8877**. Its port is saved in `.yaas/instance.json`; existing published addresses are retained on upgrade. Starting again reuses running jobs. A port conflict is reported without silently choosing 8878 or 8879. Stop Sidequestor before explicitly changing its port with `sq start --dashboard-port PORT`. Missing AI login or confirmed Claude MCP authentication failures pause affected dispatches without adding quest no-progress backoff; rerun `sq setup` to verify and resume.
99
+ Targeting precedence is an explicit `--workspace PATH` or `--instance ID`, then
100
+ `SIDEQUESTOR_WORKSPACE` (or legacy `YAAS_WORKSPACE`), then the saved default. The
101
+ current directory is used only when no environment workspace or registered default
102
+ is selected. This also applies to `sq setup`. Combining `--workspace` and `--instance`
103
+ is rejected before any action.
104
+ Explicitly empty `--workspace` or `--instance` values are also rejected. An unset
105
+ shell variable passed as a selector cannot silently fall back to the default.
106
+ The default picker offers only registrations whose
107
+ folders still have the expected identity, shows their IDs, and rechecks the chosen
108
+ identity before saving. Inspect skipped stale/missing registrations with
109
+ `sq instances list --all`; refresh a folder with
110
+ `sq --workspace /path/to/workspace instances register`.
111
+
112
+ The dashboard defaults to **http://localhost:8877**. Its port is saved in `.yaas/instance.json`; existing published addresses are retained on upgrade. Starting again reuses running jobs. A port conflict is reported without silently choosing 8878 or 8879. Stop Sidequestor before explicitly changing its port with `sq start --dashboard-port PORT`. Missing AI login or confirmed Claude MCP authentication failures pause affected dispatches without adding quest no-progress backoff; rerun `sq --workspace /path/to/workspace setup` to verify and resume.
85
113
 
86
114
  Background jobs record the PATH of the terminal that runs `sq start`, with the installation's own
87
115
  `bin` first, and `sq start` prints the agent CLI they will use. If it reports the CLI as missing,
@@ -96,24 +124,28 @@ Commands use your saved default workspace. Explicit `--workspace PATH`, `--insta
96
124
  2. Choose the workspace and Install to Workspace; an administrator may need to approve it.
97
125
  3. Confirm that **Agents → Slack Model Context Protocol (MCP) Server** is enabled. The manifest requests this automatically; enable it there manually only if Slack or workspace policy leaves it off.
98
126
  4. In **OAuth and Permissions → User Token Scopes**, verify the user scopes listed in the generated manifest. There are no bot scopes. `reactions:read` may need workspace-admin approval; without it reaction monitoring silently finds nothing. `reactions:write` is required or lifecycle transitions fail with `missing_scope`.
99
- 5. If you grant a scope later, reinstall the app and run `sq setup` again.
127
+ 5. If you grant a scope later, reinstall the app and run `sq --workspace /path/to/workspace setup` again.
100
128
  6. In Basic Information, copy the App ID and Client ID into `.env`, then complete OAuth.
101
129
 
102
130
  For an existing app, generate the updated manifest with `sq setup --manifest`, add the newly
103
- requested user scopes in the app's OAuth settings, reinstall the app, and run `sq setup` again to
131
+ requested user scopes in the app's OAuth settings, reinstall the app, and run `sq --workspace /path/to/workspace setup` again to
104
132
  re-authorize the token. The manifest and OAuth flow use the same scope list in
105
133
  `setup/yaas-app-config.json`. It includes `channels:write` and `channels:write.invites`
106
134
  for public-channel management/invitations; these are not needed to create the private
107
135
  onboarding interface. Sidequestor's channel-creation helper still creates private channels
108
136
  only. File uploads need `files:write`; attachment downloads need `files:read`.
109
137
 
110
- The wizard never overwrites real values. It fills only blank or placeholder settings, and `sq setup --instructions` never edits files. The selected backend is `codex` by default; the default Codex model is `gpt-6.1-sol` at `high` effort. Setup checks both the Codex and Claude Code CLIs and offers an npm installation for either missing CLI when Codex or Claude is selected. It checks `cursor-agent` when Cursor is selected. npm installation requires Node.js; the Claude Code npm package requires Node.js 22 or later. Installation is optional, but the selected worker CLI must be available before setup starts jobs. Setup guides CLI login, verifies the selected model, and checks the Slack connection used by workers. Claude’s native Slack MCP authorization is separate from Sidequestor Slack OAuth; setup verifies both. Rerun `sq setup` to reconnect after credentials expire. Setup offers a CLI update; startup checks only advise and never install updates. You can select `cursor` to use the authenticated `cursor-agent` CLI; leave `SIDEQUESTOR_CURSOR_MODEL` unset to use Cursor's default model, or set it to pin a model.
138
+ The wizard never overwrites real values. It fills only blank or placeholder settings, and `sq setup --instructions` never edits files. The selected backend is `codex` by default; the default Codex model is `gpt-6.1-sol` at `high` effort. Setup checks both the Codex and Claude Code CLIs and offers an npm installation for either missing CLI when Codex or Claude is selected. It checks `cursor-agent` when Cursor is selected. npm installation requires Node.js; the Claude Code npm package requires Node.js 22 or later. Installation is optional, but the selected worker CLI must be available before setup starts jobs. Setup guides CLI login, verifies the selected model, and checks the Slack connection used by workers. Claude’s native Slack MCP authorization is separate from Sidequestor Slack OAuth; setup verifies the supported Sidequestor helper used by workers. Rerun `sq --workspace /path/to/workspace setup` to reconnect after credentials expire. Setup offers a CLI update; startup checks only advise and never install updates. You can select `cursor` to use the authenticated `cursor-agent` CLI; leave `SIDEQUESTOR_CURSOR_MODEL` unset to use Cursor's default model, or set it to pin a model.
111
139
 
112
140
  ## How do I get guided onboarding?
113
141
 
114
142
  At the end of `sq setup`, choose `slack`, `terminal`, or `later`. Choosing Slack or terminal creates
115
143
  one onboarding quest for the workspace; `later` postpones it. The quest reviews what you already have, checks your connections, drafts
116
- your AGENTS.md and skills, proposes quests, and checks in until day 30. It asks before each change.
144
+ your AGENTS.md and skills, proposes quests, offers personalized hands-on reaction practice, and checks in until day 30.
145
+ Early on, it asks whether dashboard launch buttons should use Codex, Claude Desktop, Cursor,
146
+ or Terminal, independently of your background worker harness, and remembers your choice
147
+ when you resume or switch onboarding channels. You can keep the current choice or defer.
148
+ It asks before each change.
117
149
 
118
150
  ```bash
119
151
  # Start or resume onboarding in your Slack DM.
@@ -135,6 +167,8 @@ Text-send permissions stay limited to your verified DM and approved interface ch
135
167
  (`allow_send_channels`); other actions retain their normal approvals. Slack must be
136
168
  configured before choosing it. Without Slack, background check-ins are recorded for your next
137
169
  terminal session. Channel preferences live separately from progress so a worker cannot undo a switch.
170
+ The optional reactions practice uses examples researched from your role and recent work, sent as separate messages in your private onboarding conversation. You choose the reactions to try: answer, draft, save, follow a thread, and expand your own message. It uses your configured emoji names and records progress so resuming onboarding does not resend the exercise.
171
+
138
172
  The agent selects a verified, granted and watched channel with `sq onboard --slack-channel CHANNEL_ID`;
139
173
  this selection does not create channels or grant new permissions. `sq onboard --slack-dm`
140
174
  returns onboarding to the verified owner DM if the channel becomes unavailable.
@@ -142,7 +176,7 @@ returns onboarding to the verified owner DM if the channel becomes unavailable.
142
176
  ## How do I create a private Slack channel?
143
177
 
144
178
  After upgrading, add `groups:write`, `groups:write.invites`, and `groups:write.topic` to
145
- **User Token Scopes**, reinstall the Slack app, and run `sq setup` again to authorize them.
179
+ **User Token Scopes**, reinstall the Slack app, and run `sq --workspace /path/to/workspace setup` again to authorize them.
146
180
  The generated manifest includes these scopes.
147
181
 
148
182
  ```bash
@@ -161,13 +195,15 @@ inspect Slack before retrying. No channel is created by upgrading or running set
161
195
 
162
196
  ## What permissions does the worker need?
163
197
 
164
- For unattended work, `sq setup` defaults to `bypassPermissions` for Codex and Claude. Press Enter to accept it if a blank permission setting prompts you, or enter another supported permission mode. Claude's bypass mode disables its permission checks; Codex's bypass mode disables approvals and its sandbox, allowing filesystem, shell, and network actions without per-action approval. Cursor uses its own CLI execution mode and Sidequestor auto-approves its MCP calls. Use unattended backends only in a workspace where that behavior is acceptable. Existing nonempty permission settings are preserved. If a permission setting is removed entirely, the runtime's own fallback is `acceptEdits` for Claude or `workspace-write` for Codex.
198
+ For unattended work, `sq setup` defaults to `bypassPermissions` for Claude, Codex, and Cursor. Press Enter to accept it if a blank permission setting prompts you, or enter another supported mode. Claude's bypass mode disables its permission checks; Codex's bypass mode disables approvals and its sandbox. Cursor's bypass mode passes `--force --sandbox disabled`, disabling Cursor's command approvals and sandbox. Use unattended backends only in a workspace where that behavior is acceptable. Existing nonempty permission settings are preserved. If a permission setting is removed entirely, the runtime fallback is `acceptEdits` for Claude, `workspace-write` for Codex, and `default` for Cursor. Cursor's `default` mode passes `--trust` and `--approve-mcps` but not `--force` or `--sandbox`, so command approval and sandboxing follow the user's own Cursor CLI configuration (`approvalMode` and `sandbox` in `~/.cursor/cli-config.json`); with stock Cursor settings, unattended shell or network commands may be refused.
165
199
 
166
200
  ```bash
167
201
  # Allow Claude workers to execute unattended tool actions.
168
202
  SIDEQUESTOR_CLAUDE_PERMISSION_MODE=bypassPermissions
169
203
  # Allow Codex workers to execute unattended tool actions.
170
204
  SIDEQUESTOR_CODEX_PERMISSION_MODE=bypassPermissions
205
+ # Allow Cursor workers to execute without command approvals or the sandbox.
206
+ SIDEQUESTOR_CURSOR_PERMISSION_MODE=bypassPermissions
171
207
  ```
172
208
 
173
209
  The optional instruction block targets `CLAUDE.md` for Claude and `AGENTS.md` for every other backend. Neither file is ever created or edited by Sidequestor.
@@ -407,14 +443,19 @@ items because dirty watermarks are committed only after successful acknowledgeme
407
443
  `tick --isolated --fake-worker` to acknowledge them safely, then confirm a final dry run is clean.
408
444
 
409
445
  ```bash
446
+ # These examples target the initialized workspace in the current directory.
410
447
  # Print the optional block without changing any files.
411
- sq setup --instructions
448
+ sq --workspace . setup --instructions
412
449
  # Use defaults without OAuth.
413
- sq setup --non-interactive
450
+ sq --workspace . setup --non-interactive
414
451
  # Use the lower-level launchd operations when needed.
415
- sq setup --render-only|install|status|uninstall
452
+ sq --workspace . setup --render-only
453
+ sq --workspace . setup status
454
+ # Shadow install/uninstall remain available without loading production jobs.
455
+ sq --workspace . setup install
456
+ sq --workspace . setup uninstall
416
457
  # Install the production launchd jobs.
417
- sq setup --production install
458
+ sq --workspace . setup --production install
418
459
  ```
419
460
 
420
461
  ## How do I run and inspect it?
@@ -443,6 +484,13 @@ sq stop INSTANCE_ID
443
484
  sq --version
444
485
  ```
445
486
 
487
+ An instance ID must still match the identity in its registered folder. If a folder
488
+ has been recreated or rekeyed, commands reject its old ID rather than acting on the
489
+ new instance. `sq instances list --all` marks these entries `STALE`; they are excluded
490
+ from the running list. Run `sq --workspace /path/to/workspace instances register`
491
+ to refresh that folder's registration and remove its old IDs. Registration and
492
+ rekeying preserve the folder's default-workspace selection.
493
+
446
494
  `sq pause` stops triage, heartbeat, and the dashboard using the same verified lifecycle
447
495
  as `sq stop`. It can interrupt an active worker; it does not wait for that worker to
448
496
  finish. Quests, watermarks, history, and approval state are preserved. The managed jobs
@@ -467,9 +515,69 @@ agent to save a Markdown briefing with a `# Title` in `state/briefs/`. Files the
467
515
  appear automatically in the Briefings archive. Saving a local brief does not authorize
468
516
  posting or emailing it.
469
517
 
518
+ ## How do I open a workspace or quest in my chosen app?
519
+
520
+ Set `SIDEQUESTOR_OPEN_IN=codex` (the default), `claude`, `cursor`, or `terminal` in the
521
+ workspace's `.env`. This preference is independent of the worker harness and is
522
+ reflected on the next dashboard refresh. The quest launch button and the button
523
+ beside **New quest**, the alternative inside the **New quest** dialog, and the
524
+ settings dialog's edit button all follow it. Onboarding offers this choice early;
525
+ you can change it later in `.env`.
526
+
527
+ Codex and Claude open a new chat in the workspace with a short editable prompt.
528
+ The default workspace prompt is “Within this Sidequestor workspace, I'd like to”.
529
+ The default creation prompt is “I'd like to create a new quest in this Sidequestor
530
+ workspace for .... ”; an existing creation draft, title and non-default priority
531
+ are preserved. The quest-level prompt is “Within this Sidequestor workspace, for
532
+ quest `"<quest-id>"`, I'd like to”.
533
+ Complete the prompt and press Send in the app. Claude Code also asks you to confirm
534
+ the folder. Cursor opens the workspace without a prompt. With `terminal`, the quest button retains its persistent session and
535
+ the top button opens a terminal at the workspace folder.
536
+
537
+ The buttons use the documented [Codex chat links](https://learn.chatgpt.com/docs/app/commands#chats)
538
+ and [Claude Code desktop links](https://support.claude.com/en/articles/14729294-open-claude-desktop-with-a-link).
539
+ They require the respective desktop app; the dashboard cannot confirm that a browser
540
+ successfully handed a link to an installed app.
541
+
542
+ ## Where can I see my configuration?
543
+
544
+ Use the small settings button in the dashboard header. The searchable dialog lists
545
+ settings written in your workspace's `.env` first, followed by the remaining
546
+ documented settings and their runtime defaults. It shows when an exported process
547
+ variable takes precedence. Setup examples can differ from runtime defaults.
548
+
549
+ Defaults are not all stored in one place. The numeric and switch defaults live
550
+ in `tick_state.py`, emoji defaults in `reaction_config.py`, and the settings view
551
+ also maintains display copies of other runtime fallbacks in `dashboard_settings.py`.
552
+ Those other defaults still live with their runtime consumers; for example, the Codex
553
+ launch default also appears in the dashboard server and browser launch fallback.
554
+ This duplication is accepted for the current stabilization work. When adding or
555
+ changing a variable, follow the [configuration maintenance checklist](docs/architecture-decisions/0006-ACCEPTED-CONFIG-DEFAULT-DUPLICATION.md)
556
+ to keep runtime consumers, display defaults, setup values and documentation aligned.
557
+
558
+ The shipped `env.example` provides the setting catalog and descriptions; setup
559
+ examples are not automatically treated as runtime defaults. The view uses the shared
560
+ environment loader: exported dashboard process values override `.env`, which overrides
561
+ an absent value's runtime fallback. Explicit empty values remain visibly empty because
562
+ they can disable a feature or be invalid, rather than always meaning “use the default”.
563
+ In the Python loader used by this view, canonical `SIDEQUESTOR_*` names win over
564
+ legacy `YAAS_*` names within `.env`, and the first duplicate assignment wins. Avoid
565
+ duplicate assignments: sourcing the file in a shell can use the last one instead. Values written in `.env` are listed first, even if
566
+ an exported variable overrides them.
567
+
568
+ Credential values and unrecognized custom values are hidden before being sent to
569
+ the browser. The dialog never writes configuration or reads Keychain secrets.
570
+
571
+ Use its edit button to open the workspace in `SIDEQUESTOR_OPEN_IN` (Codex by
572
+ default). Codex and Claude receive an editable request to work on `.env`; Cursor
573
+ opens the folder without a prompt. Terminal mode opens a terminal at the workspace.
574
+ Save `.env`, then refresh the dialog to see the new values. Loop interval changes
575
+ require `sq stop` followed by `sq start`; exported settings and existing terminal
576
+ sessions can also require a restart. This preference does not change the worker harness.
577
+
470
578
  ## How do I work on one quest in a terminal?
471
579
 
472
- Select a quest in the dashboard and choose **Open in terminal**. Sidequestor opens a Terminal
580
+ Set `SIDEQUESTOR_OPEN_IN=terminal`, select a quest in the dashboard and choose **Open in terminal**. Sidequestor opens a Terminal
473
581
  window attached to that quest's own session. The session keeps running after you close the
474
582
  window, and opening it again joins the same session instead of starting another. Sessions are
475
583
  named `sq-<instance>-<quest-id>`, so the same quest ID in two workspaces never shares one.
@@ -593,8 +701,16 @@ Inbox is permanent and is restored automatically, including outstanding review w
593
701
  Reaction actions, source/result links where available, and outcomes are recorded in Inbox.
594
702
 
595
703
  One uv or pipx installation is shared by every workspace, so `sq upgrade` restarts only the
596
- workspace it runs in and lists any other running workspaces that need `sq --workspace PATH start`
597
- to pick up the new version.
704
+ workspace it runs in and lists any other running workspaces whose long-running jobs
705
+ and launchd settings need refreshing. Package-only upgrades list these workspaces too.
706
+ Wait for their active workers to finish, then use the printed refresh commands. They
707
+ name the upgraded installation's exact Python, avoiding an older workspace-local
708
+ `sq` earlier on PATH. A normal start detects changed plists and rewrites/reloads them
709
+ on the saved dashboard port; `launchctl kickstart` alone does not rewrite a plist.
710
+
711
+ The dashboard reports the running package's build identity ahead of inherited
712
+ launchd version labels. An existing Python process can still have the old build
713
+ loaded until it restarts; a freshly launched process uses the installed build.
598
714
 
599
715
  The first upgrade to the stable per-user Slack Keychain helper can show one macOS password prompt.
600
716
  Choose **Always Allow** so background refreshes can use that same helper identity without prompting
@@ -609,7 +725,7 @@ If the installed command itself is broken, upgrade with the installing tool dire
609
725
 
610
726
  `.env`, `settings.json`, `state/`, `logs/`, and your personal `skills/` survive. `.yaas/engine/current/` is wiped and rebuilt every sync; hand-edits there are intentionally lost. An existing `.env` never gains newly added knobs because `provision_env` fills only placeholders, so diff it against `.env.example` after upgrading. Plists embed the installation’s absolute interpreter path: upgrading in place is fine, but recreating the environment (for example `uv tool install --force` with a different Python, or a new venv) means running `sq start` again.
611
727
 
612
- Reaction defaults use standard names: `robot_face`, `hourglass_flowing_sand`, and `white_check_mark`. Pickup is queued before harness launch; durable status delivery retries Slack failures without repeating completed actions. Blocked work shows `warning` (configurable with `SIDEQUESTOR_REACTION_BLOCKED_EMOJI`); exhausted retries create an Inbox review. Conscious no-action outcomes show done. Save reactions remain silent. Existing historical loading-only orphans are not automatically replayed. To retain a custom set, pin `SIDEQUESTOR_REACTION_PROCESS_EMOJI`, `SIDEQUESTOR_REACTION_LOADING_EMOJI`, and `SIDEQUESTOR_REACTION_DONE_EMOJI`.
728
+ Reaction defaults use standard names: `robot_face`, `hourglass_flowing_sand`, and `white_check_mark`. Pickup is queued before harness launch; durable status delivery retries Slack failures without repeating completed actions. Work retained for retry or input shows 🕒 (`clock3`, configurable with `SIDEQUESTOR_REACTION_BLOCKED_EMOJI`); exhausted retries create an Inbox review. Conscious no-action outcomes show done. Save reactions remain silent. Existing historical loading-only orphans are not automatically replayed. To retain a custom set, pin `SIDEQUESTOR_REACTION_PROCESS_EMOJI`, `SIDEQUESTOR_REACTION_LOADING_EMOJI`, and `SIDEQUESTOR_REACTION_DONE_EMOJI`.
613
729
 
614
730
  The configurable `expand` reaction defaults to 🪄 (`magic_wand`). Its first scan leaves pre-existing wand reactions alone, so upgrading does not turn old reactions into edit requests. It expands your own Slack message in place, then carries out its explicit requests or creates a quest for ongoing work. It uses the same processing/done/blocked lifecycle as other action reactions. The edit helper verifies ownership, checks for intervening edits, and retains a separate edit receipt so retries do not expand a completed edit again. Set `SIDEQUESTOR_REACTION_EXPAND_EMOJI` to choose another trigger.
615
731
 
@@ -27,6 +27,12 @@ Telegram user-session watches require the optional `sidequestor[telegram]` extra
27
27
  script checks the command-line tools it needs before it runs, and
28
28
  `yaas-triage/ops/doctor.sh` checks the rest.
29
29
 
30
+ Update checks and the Jira, Notion, and X HTTPS helpers use the operating system's
31
+ certificate trust through the installed `truststore` dependency. On macOS this
32
+ includes corporate certificates trusted by the system, without pinning a certificate
33
+ bundle in `.env`. TLS verification remains enabled. Slack and Telegram use their
34
+ existing transports.
35
+
30
36
  ## How do I install it?
31
37
 
32
38
  ```bash
@@ -44,11 +50,19 @@ sidequestor init .
44
50
  # Save the ready-to-paste Slack YAML manifest.
45
51
  sq setup --manifest > slack-app-manifest.yaml
46
52
  # Run interactive onboarding; bypassPermissions is the default worker permission mode.
47
- sq setup
53
+ sq --workspace . setup
48
54
  # Start triage, heartbeat, and the dashboard and print the dashboard URL.
49
- sq start
55
+ sq --workspace . start
50
56
  ```
51
57
 
58
+ Always target the folder explicitly when setting up a new or additional workspace.
59
+ `cd` and `sidequestor init .` do not override an existing saved default or an exported
60
+ workspace variable. `sq init` prints the exact next setup command for its folder,
61
+ including safe quoting for paths with spaces. Use that command or `sq --workspace . setup`
62
+ from inside the intended workspace.
63
+ Setup saves its selected workspace as the default; initializing an additional
64
+ folder alone does not replace an existing default.
65
+
52
66
  The repository also includes `install.sh` for a fresh macOS install. It installs the
53
67
  PyPI package with uv when needed, creates `~/sidequestor` only when no workspace is
54
68
  registered, runs `sq setup`, and opens the dashboard. A separate `install-circle.sh.in`
@@ -69,7 +83,20 @@ only while that environment is active, or by full path such as `.venv/bin/sq`.
69
83
 
70
84
  `sq start`, `sq stop`, and `sq dashboard` use your saved default workspace from any terminal directory. The first sole valid workspace is adopted automatically in the existing `~/.config/yaas/instances.json` registry (or the configured config home); no files are moved. With multiple workspaces, run `sq setup --select-workspace` once. Explicit `--workspace PATH` or `--instance ID` overrides the default. The selected workspace path is printed on lifecycle commands. `sq status` shows its path, saved dashboard address, and connection issues. `sq dashboard` opens the running dashboard; `sq dashboard url` prints its URL for scripts.
71
85
 
72
- The dashboard defaults to **http://localhost:8877**. Its port is saved in `.yaas/instance.json`; existing published addresses are retained on upgrade. Starting again reuses running jobs. A port conflict is reported without silently choosing 8878 or 8879. Stop Sidequestor before explicitly changing its port with `sq start --dashboard-port PORT`. Missing AI login or confirmed Claude MCP authentication failures pause affected dispatches without adding quest no-progress backoff; rerun `sq setup` to verify and resume.
86
+ Targeting precedence is an explicit `--workspace PATH` or `--instance ID`, then
87
+ `SIDEQUESTOR_WORKSPACE` (or legacy `YAAS_WORKSPACE`), then the saved default. The
88
+ current directory is used only when no environment workspace or registered default
89
+ is selected. This also applies to `sq setup`. Combining `--workspace` and `--instance`
90
+ is rejected before any action.
91
+ Explicitly empty `--workspace` or `--instance` values are also rejected. An unset
92
+ shell variable passed as a selector cannot silently fall back to the default.
93
+ The default picker offers only registrations whose
94
+ folders still have the expected identity, shows their IDs, and rechecks the chosen
95
+ identity before saving. Inspect skipped stale/missing registrations with
96
+ `sq instances list --all`; refresh a folder with
97
+ `sq --workspace /path/to/workspace instances register`.
98
+
99
+ The dashboard defaults to **http://localhost:8877**. Its port is saved in `.yaas/instance.json`; existing published addresses are retained on upgrade. Starting again reuses running jobs. A port conflict is reported without silently choosing 8878 or 8879. Stop Sidequestor before explicitly changing its port with `sq start --dashboard-port PORT`. Missing AI login or confirmed Claude MCP authentication failures pause affected dispatches without adding quest no-progress backoff; rerun `sq --workspace /path/to/workspace setup` to verify and resume.
73
100
 
74
101
  Background jobs record the PATH of the terminal that runs `sq start`, with the installation's own
75
102
  `bin` first, and `sq start` prints the agent CLI they will use. If it reports the CLI as missing,
@@ -84,24 +111,28 @@ Commands use your saved default workspace. Explicit `--workspace PATH`, `--insta
84
111
  2. Choose the workspace and Install to Workspace; an administrator may need to approve it.
85
112
  3. Confirm that **Agents → Slack Model Context Protocol (MCP) Server** is enabled. The manifest requests this automatically; enable it there manually only if Slack or workspace policy leaves it off.
86
113
  4. In **OAuth and Permissions → User Token Scopes**, verify the user scopes listed in the generated manifest. There are no bot scopes. `reactions:read` may need workspace-admin approval; without it reaction monitoring silently finds nothing. `reactions:write` is required or lifecycle transitions fail with `missing_scope`.
87
- 5. If you grant a scope later, reinstall the app and run `sq setup` again.
114
+ 5. If you grant a scope later, reinstall the app and run `sq --workspace /path/to/workspace setup` again.
88
115
  6. In Basic Information, copy the App ID and Client ID into `.env`, then complete OAuth.
89
116
 
90
117
  For an existing app, generate the updated manifest with `sq setup --manifest`, add the newly
91
- requested user scopes in the app's OAuth settings, reinstall the app, and run `sq setup` again to
118
+ requested user scopes in the app's OAuth settings, reinstall the app, and run `sq --workspace /path/to/workspace setup` again to
92
119
  re-authorize the token. The manifest and OAuth flow use the same scope list in
93
120
  `setup/yaas-app-config.json`. It includes `channels:write` and `channels:write.invites`
94
121
  for public-channel management/invitations; these are not needed to create the private
95
122
  onboarding interface. Sidequestor's channel-creation helper still creates private channels
96
123
  only. File uploads need `files:write`; attachment downloads need `files:read`.
97
124
 
98
- The wizard never overwrites real values. It fills only blank or placeholder settings, and `sq setup --instructions` never edits files. The selected backend is `codex` by default; the default Codex model is `gpt-6.1-sol` at `high` effort. Setup checks both the Codex and Claude Code CLIs and offers an npm installation for either missing CLI when Codex or Claude is selected. It checks `cursor-agent` when Cursor is selected. npm installation requires Node.js; the Claude Code npm package requires Node.js 22 or later. Installation is optional, but the selected worker CLI must be available before setup starts jobs. Setup guides CLI login, verifies the selected model, and checks the Slack connection used by workers. Claude’s native Slack MCP authorization is separate from Sidequestor Slack OAuth; setup verifies both. Rerun `sq setup` to reconnect after credentials expire. Setup offers a CLI update; startup checks only advise and never install updates. You can select `cursor` to use the authenticated `cursor-agent` CLI; leave `SIDEQUESTOR_CURSOR_MODEL` unset to use Cursor's default model, or set it to pin a model.
125
+ The wizard never overwrites real values. It fills only blank or placeholder settings, and `sq setup --instructions` never edits files. The selected backend is `codex` by default; the default Codex model is `gpt-6.1-sol` at `high` effort. Setup checks both the Codex and Claude Code CLIs and offers an npm installation for either missing CLI when Codex or Claude is selected. It checks `cursor-agent` when Cursor is selected. npm installation requires Node.js; the Claude Code npm package requires Node.js 22 or later. Installation is optional, but the selected worker CLI must be available before setup starts jobs. Setup guides CLI login, verifies the selected model, and checks the Slack connection used by workers. Claude’s native Slack MCP authorization is separate from Sidequestor Slack OAuth; setup verifies the supported Sidequestor helper used by workers. Rerun `sq --workspace /path/to/workspace setup` to reconnect after credentials expire. Setup offers a CLI update; startup checks only advise and never install updates. You can select `cursor` to use the authenticated `cursor-agent` CLI; leave `SIDEQUESTOR_CURSOR_MODEL` unset to use Cursor's default model, or set it to pin a model.
99
126
 
100
127
  ## How do I get guided onboarding?
101
128
 
102
129
  At the end of `sq setup`, choose `slack`, `terminal`, or `later`. Choosing Slack or terminal creates
103
130
  one onboarding quest for the workspace; `later` postpones it. The quest reviews what you already have, checks your connections, drafts
104
- your AGENTS.md and skills, proposes quests, and checks in until day 30. It asks before each change.
131
+ your AGENTS.md and skills, proposes quests, offers personalized hands-on reaction practice, and checks in until day 30.
132
+ Early on, it asks whether dashboard launch buttons should use Codex, Claude Desktop, Cursor,
133
+ or Terminal, independently of your background worker harness, and remembers your choice
134
+ when you resume or switch onboarding channels. You can keep the current choice or defer.
135
+ It asks before each change.
105
136
 
106
137
  ```bash
107
138
  # Start or resume onboarding in your Slack DM.
@@ -123,6 +154,8 @@ Text-send permissions stay limited to your verified DM and approved interface ch
123
154
  (`allow_send_channels`); other actions retain their normal approvals. Slack must be
124
155
  configured before choosing it. Without Slack, background check-ins are recorded for your next
125
156
  terminal session. Channel preferences live separately from progress so a worker cannot undo a switch.
157
+ The optional reactions practice uses examples researched from your role and recent work, sent as separate messages in your private onboarding conversation. You choose the reactions to try: answer, draft, save, follow a thread, and expand your own message. It uses your configured emoji names and records progress so resuming onboarding does not resend the exercise.
158
+
126
159
  The agent selects a verified, granted and watched channel with `sq onboard --slack-channel CHANNEL_ID`;
127
160
  this selection does not create channels or grant new permissions. `sq onboard --slack-dm`
128
161
  returns onboarding to the verified owner DM if the channel becomes unavailable.
@@ -130,7 +163,7 @@ returns onboarding to the verified owner DM if the channel becomes unavailable.
130
163
  ## How do I create a private Slack channel?
131
164
 
132
165
  After upgrading, add `groups:write`, `groups:write.invites`, and `groups:write.topic` to
133
- **User Token Scopes**, reinstall the Slack app, and run `sq setup` again to authorize them.
166
+ **User Token Scopes**, reinstall the Slack app, and run `sq --workspace /path/to/workspace setup` again to authorize them.
134
167
  The generated manifest includes these scopes.
135
168
 
136
169
  ```bash
@@ -149,13 +182,15 @@ inspect Slack before retrying. No channel is created by upgrading or running set
149
182
 
150
183
  ## What permissions does the worker need?
151
184
 
152
- For unattended work, `sq setup` defaults to `bypassPermissions` for Codex and Claude. Press Enter to accept it if a blank permission setting prompts you, or enter another supported permission mode. Claude's bypass mode disables its permission checks; Codex's bypass mode disables approvals and its sandbox, allowing filesystem, shell, and network actions without per-action approval. Cursor uses its own CLI execution mode and Sidequestor auto-approves its MCP calls. Use unattended backends only in a workspace where that behavior is acceptable. Existing nonempty permission settings are preserved. If a permission setting is removed entirely, the runtime's own fallback is `acceptEdits` for Claude or `workspace-write` for Codex.
185
+ For unattended work, `sq setup` defaults to `bypassPermissions` for Claude, Codex, and Cursor. Press Enter to accept it if a blank permission setting prompts you, or enter another supported mode. Claude's bypass mode disables its permission checks; Codex's bypass mode disables approvals and its sandbox. Cursor's bypass mode passes `--force --sandbox disabled`, disabling Cursor's command approvals and sandbox. Use unattended backends only in a workspace where that behavior is acceptable. Existing nonempty permission settings are preserved. If a permission setting is removed entirely, the runtime fallback is `acceptEdits` for Claude, `workspace-write` for Codex, and `default` for Cursor. Cursor's `default` mode passes `--trust` and `--approve-mcps` but not `--force` or `--sandbox`, so command approval and sandboxing follow the user's own Cursor CLI configuration (`approvalMode` and `sandbox` in `~/.cursor/cli-config.json`); with stock Cursor settings, unattended shell or network commands may be refused.
153
186
 
154
187
  ```bash
155
188
  # Allow Claude workers to execute unattended tool actions.
156
189
  SIDEQUESTOR_CLAUDE_PERMISSION_MODE=bypassPermissions
157
190
  # Allow Codex workers to execute unattended tool actions.
158
191
  SIDEQUESTOR_CODEX_PERMISSION_MODE=bypassPermissions
192
+ # Allow Cursor workers to execute without command approvals or the sandbox.
193
+ SIDEQUESTOR_CURSOR_PERMISSION_MODE=bypassPermissions
159
194
  ```
160
195
 
161
196
  The optional instruction block targets `CLAUDE.md` for Claude and `AGENTS.md` for every other backend. Neither file is ever created or edited by Sidequestor.
@@ -395,14 +430,19 @@ items because dirty watermarks are committed only after successful acknowledgeme
395
430
  `tick --isolated --fake-worker` to acknowledge them safely, then confirm a final dry run is clean.
396
431
 
397
432
  ```bash
433
+ # These examples target the initialized workspace in the current directory.
398
434
  # Print the optional block without changing any files.
399
- sq setup --instructions
435
+ sq --workspace . setup --instructions
400
436
  # Use defaults without OAuth.
401
- sq setup --non-interactive
437
+ sq --workspace . setup --non-interactive
402
438
  # Use the lower-level launchd operations when needed.
403
- sq setup --render-only|install|status|uninstall
439
+ sq --workspace . setup --render-only
440
+ sq --workspace . setup status
441
+ # Shadow install/uninstall remain available without loading production jobs.
442
+ sq --workspace . setup install
443
+ sq --workspace . setup uninstall
404
444
  # Install the production launchd jobs.
405
- sq setup --production install
445
+ sq --workspace . setup --production install
406
446
  ```
407
447
 
408
448
  ## How do I run and inspect it?
@@ -431,6 +471,13 @@ sq stop INSTANCE_ID
431
471
  sq --version
432
472
  ```
433
473
 
474
+ An instance ID must still match the identity in its registered folder. If a folder
475
+ has been recreated or rekeyed, commands reject its old ID rather than acting on the
476
+ new instance. `sq instances list --all` marks these entries `STALE`; they are excluded
477
+ from the running list. Run `sq --workspace /path/to/workspace instances register`
478
+ to refresh that folder's registration and remove its old IDs. Registration and
479
+ rekeying preserve the folder's default-workspace selection.
480
+
434
481
  `sq pause` stops triage, heartbeat, and the dashboard using the same verified lifecycle
435
482
  as `sq stop`. It can interrupt an active worker; it does not wait for that worker to
436
483
  finish. Quests, watermarks, history, and approval state are preserved. The managed jobs
@@ -455,9 +502,69 @@ agent to save a Markdown briefing with a `# Title` in `state/briefs/`. Files the
455
502
  appear automatically in the Briefings archive. Saving a local brief does not authorize
456
503
  posting or emailing it.
457
504
 
505
+ ## How do I open a workspace or quest in my chosen app?
506
+
507
+ Set `SIDEQUESTOR_OPEN_IN=codex` (the default), `claude`, `cursor`, or `terminal` in the
508
+ workspace's `.env`. This preference is independent of the worker harness and is
509
+ reflected on the next dashboard refresh. The quest launch button and the button
510
+ beside **New quest**, the alternative inside the **New quest** dialog, and the
511
+ settings dialog's edit button all follow it. Onboarding offers this choice early;
512
+ you can change it later in `.env`.
513
+
514
+ Codex and Claude open a new chat in the workspace with a short editable prompt.
515
+ The default workspace prompt is “Within this Sidequestor workspace, I'd like to”.
516
+ The default creation prompt is “I'd like to create a new quest in this Sidequestor
517
+ workspace for .... ”; an existing creation draft, title and non-default priority
518
+ are preserved. The quest-level prompt is “Within this Sidequestor workspace, for
519
+ quest `"<quest-id>"`, I'd like to”.
520
+ Complete the prompt and press Send in the app. Claude Code also asks you to confirm
521
+ the folder. Cursor opens the workspace without a prompt. With `terminal`, the quest button retains its persistent session and
522
+ the top button opens a terminal at the workspace folder.
523
+
524
+ The buttons use the documented [Codex chat links](https://learn.chatgpt.com/docs/app/commands#chats)
525
+ and [Claude Code desktop links](https://support.claude.com/en/articles/14729294-open-claude-desktop-with-a-link).
526
+ They require the respective desktop app; the dashboard cannot confirm that a browser
527
+ successfully handed a link to an installed app.
528
+
529
+ ## Where can I see my configuration?
530
+
531
+ Use the small settings button in the dashboard header. The searchable dialog lists
532
+ settings written in your workspace's `.env` first, followed by the remaining
533
+ documented settings and their runtime defaults. It shows when an exported process
534
+ variable takes precedence. Setup examples can differ from runtime defaults.
535
+
536
+ Defaults are not all stored in one place. The numeric and switch defaults live
537
+ in `tick_state.py`, emoji defaults in `reaction_config.py`, and the settings view
538
+ also maintains display copies of other runtime fallbacks in `dashboard_settings.py`.
539
+ Those other defaults still live with their runtime consumers; for example, the Codex
540
+ launch default also appears in the dashboard server and browser launch fallback.
541
+ This duplication is accepted for the current stabilization work. When adding or
542
+ changing a variable, follow the [configuration maintenance checklist](docs/architecture-decisions/0006-ACCEPTED-CONFIG-DEFAULT-DUPLICATION.md)
543
+ to keep runtime consumers, display defaults, setup values and documentation aligned.
544
+
545
+ The shipped `env.example` provides the setting catalog and descriptions; setup
546
+ examples are not automatically treated as runtime defaults. The view uses the shared
547
+ environment loader: exported dashboard process values override `.env`, which overrides
548
+ an absent value's runtime fallback. Explicit empty values remain visibly empty because
549
+ they can disable a feature or be invalid, rather than always meaning “use the default”.
550
+ In the Python loader used by this view, canonical `SIDEQUESTOR_*` names win over
551
+ legacy `YAAS_*` names within `.env`, and the first duplicate assignment wins. Avoid
552
+ duplicate assignments: sourcing the file in a shell can use the last one instead. Values written in `.env` are listed first, even if
553
+ an exported variable overrides them.
554
+
555
+ Credential values and unrecognized custom values are hidden before being sent to
556
+ the browser. The dialog never writes configuration or reads Keychain secrets.
557
+
558
+ Use its edit button to open the workspace in `SIDEQUESTOR_OPEN_IN` (Codex by
559
+ default). Codex and Claude receive an editable request to work on `.env`; Cursor
560
+ opens the folder without a prompt. Terminal mode opens a terminal at the workspace.
561
+ Save `.env`, then refresh the dialog to see the new values. Loop interval changes
562
+ require `sq stop` followed by `sq start`; exported settings and existing terminal
563
+ sessions can also require a restart. This preference does not change the worker harness.
564
+
458
565
  ## How do I work on one quest in a terminal?
459
566
 
460
- Select a quest in the dashboard and choose **Open in terminal**. Sidequestor opens a Terminal
567
+ Set `SIDEQUESTOR_OPEN_IN=terminal`, select a quest in the dashboard and choose **Open in terminal**. Sidequestor opens a Terminal
461
568
  window attached to that quest's own session. The session keeps running after you close the
462
569
  window, and opening it again joins the same session instead of starting another. Sessions are
463
570
  named `sq-<instance>-<quest-id>`, so the same quest ID in two workspaces never shares one.
@@ -581,8 +688,16 @@ Inbox is permanent and is restored automatically, including outstanding review w
581
688
  Reaction actions, source/result links where available, and outcomes are recorded in Inbox.
582
689
 
583
690
  One uv or pipx installation is shared by every workspace, so `sq upgrade` restarts only the
584
- workspace it runs in and lists any other running workspaces that need `sq --workspace PATH start`
585
- to pick up the new version.
691
+ workspace it runs in and lists any other running workspaces whose long-running jobs
692
+ and launchd settings need refreshing. Package-only upgrades list these workspaces too.
693
+ Wait for their active workers to finish, then use the printed refresh commands. They
694
+ name the upgraded installation's exact Python, avoiding an older workspace-local
695
+ `sq` earlier on PATH. A normal start detects changed plists and rewrites/reloads them
696
+ on the saved dashboard port; `launchctl kickstart` alone does not rewrite a plist.
697
+
698
+ The dashboard reports the running package's build identity ahead of inherited
699
+ launchd version labels. An existing Python process can still have the old build
700
+ loaded until it restarts; a freshly launched process uses the installed build.
586
701
 
587
702
  The first upgrade to the stable per-user Slack Keychain helper can show one macOS password prompt.
588
703
  Choose **Always Allow** so background refreshes can use that same helper identity without prompting
@@ -597,7 +712,7 @@ If the installed command itself is broken, upgrade with the installing tool dire
597
712
 
598
713
  `.env`, `settings.json`, `state/`, `logs/`, and your personal `skills/` survive. `.yaas/engine/current/` is wiped and rebuilt every sync; hand-edits there are intentionally lost. An existing `.env` never gains newly added knobs because `provision_env` fills only placeholders, so diff it against `.env.example` after upgrading. Plists embed the installation’s absolute interpreter path: upgrading in place is fine, but recreating the environment (for example `uv tool install --force` with a different Python, or a new venv) means running `sq start` again.
599
714
 
600
- Reaction defaults use standard names: `robot_face`, `hourglass_flowing_sand`, and `white_check_mark`. Pickup is queued before harness launch; durable status delivery retries Slack failures without repeating completed actions. Blocked work shows `warning` (configurable with `SIDEQUESTOR_REACTION_BLOCKED_EMOJI`); exhausted retries create an Inbox review. Conscious no-action outcomes show done. Save reactions remain silent. Existing historical loading-only orphans are not automatically replayed. To retain a custom set, pin `SIDEQUESTOR_REACTION_PROCESS_EMOJI`, `SIDEQUESTOR_REACTION_LOADING_EMOJI`, and `SIDEQUESTOR_REACTION_DONE_EMOJI`.
715
+ Reaction defaults use standard names: `robot_face`, `hourglass_flowing_sand`, and `white_check_mark`. Pickup is queued before harness launch; durable status delivery retries Slack failures without repeating completed actions. Work retained for retry or input shows 🕒 (`clock3`, configurable with `SIDEQUESTOR_REACTION_BLOCKED_EMOJI`); exhausted retries create an Inbox review. Conscious no-action outcomes show done. Save reactions remain silent. Existing historical loading-only orphans are not automatically replayed. To retain a custom set, pin `SIDEQUESTOR_REACTION_PROCESS_EMOJI`, `SIDEQUESTOR_REACTION_LOADING_EMOJI`, and `SIDEQUESTOR_REACTION_DONE_EMOJI`.
601
716
 
602
717
  The configurable `expand` reaction defaults to 🪄 (`magic_wand`). Its first scan leaves pre-existing wand reactions alone, so upgrading does not turn old reactions into edit requests. It expands your own Slack message in place, then carries out its explicit requests or creates a quest for ongoing work. It uses the same processing/done/blocked lifecycle as other action reactions. The edit helper verifies ownership, checks for intervening edits, and retains a separate edit receipt so retries do not expand a completed edit again. Set `SIDEQUESTOR_REACTION_EXPAND_EMOJI` to choose another trigger.
603
718
 
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sidequestor"
7
- version = "0.2.2"
7
+ version = "0.2.4"
8
8
  description = "Sidequestor workspace and triage command shell"
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
11
11
  license-files = ["LICENSE"]
12
12
  requires-python = ">=3.11"
13
- dependencies = []
13
+ dependencies = ["truststore>=0.10,<1"]
14
14
 
15
15
  [project.optional-dependencies]
16
16
  telegram = ["Telethon>=1.44,<2"]
@@ -1,3 +1,3 @@
1
1
  """Sidequestor package shell for the YAAS-compatible triage engine."""
2
2
 
3
- __version__ = "0.2.2"
3
+ __version__ = "0.2.4"