sidequestor 0.2.5__tar.gz → 0.2.7.dev3__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 (261) hide show
  1. {sidequestor-0.2.5/src/sidequestor.egg-info → sidequestor-0.2.7.dev3}/PKG-INFO +56 -4
  2. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/README.md +55 -3
  3. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/pyproject.toml +1 -1
  4. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/__init__.py +1 -1
  5. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/package_data/env.example +13 -14
  6. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/setup/setup.sh +76 -27
  7. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/setup/yaas-app-config.json +15 -1
  8. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/client.py +3 -1
  9. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/setup.py +71 -28
  10. sidequestor-0.2.7.dev3/src/sidequestor/setup_output.py +19 -0
  11. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/setup_worker.py +7 -6
  12. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/upgrade.py +8 -1
  13. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3/src/sidequestor.egg-info}/PKG-INFO +56 -4
  14. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor.egg-info/SOURCES.txt +3 -0
  15. sidequestor-0.2.7.dev3/tests/test_claude_slack_defaults.py +246 -0
  16. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_onboarding.py +3 -1
  17. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_setup.py +40 -3
  18. sidequestor-0.2.7.dev3/tests/test_slack_oauth_listener.py +152 -0
  19. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_system_health.py +3 -0
  20. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_update_check.py +13 -4
  21. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_upgrade.py +23 -0
  22. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/LICENSE +0 -0
  23. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/MANIFEST.in +0 -0
  24. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/setup.cfg +0 -0
  25. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/__main__.py +0 -0
  26. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/build_info.py +0 -0
  27. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/cli.py +0 -0
  28. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/credential_setup.py +0 -0
  29. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/dashboard.py +0 -0
  30. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/isolated.py +0 -0
  31. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/job_path.py +0 -0
  32. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/launchd.py +0 -0
  33. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/migrations.py +0 -0
  34. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/native.py +0 -0
  35. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/onboarding.py +0 -0
  36. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/package_data/OPERATING.md +0 -0
  37. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/package_data/settings.json.example +0 -0
  38. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/quest_terminal.py +0 -0
  39. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/resources.py +0 -0
  40. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/dashboard.html +0 -0
  41. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/approval_state.py +0 -0
  42. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/approval_store.py +0 -0
  43. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/assets/sidequestor-knows-its-pretty-thank-you.png +0 -0
  44. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/assets/sidequestor-mark.png +0 -0
  45. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/approval.py +0 -0
  46. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/approval.watch.json +0 -0
  47. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/cron-due.py +0 -0
  48. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/email.lag +0 -0
  49. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/email.py +0 -0
  50. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/email.watch.json +0 -0
  51. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/github.py +0 -0
  52. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/github_issue.lag +0 -0
  53. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/github_issue.py +0 -0
  54. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/github_issue.watch.json +0 -0
  55. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/github_pr.lag +0 -0
  56. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/github_pr.py +0 -0
  57. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/github_pr.watch.json +0 -0
  58. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/health_issue.py +0 -0
  59. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/health_issue.watch.json +0 -0
  60. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/jira.lag +0 -0
  61. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/jira.py +0 -0
  62. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/jira.watch.json +0 -0
  63. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/notion.py +0 -0
  64. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/notion_comments.py +0 -0
  65. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/notion_comments.watch.json +0 -0
  66. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/notion_data_source.py +0 -0
  67. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/notion_data_source.watch.json +0 -0
  68. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/notion_page.py +0 -0
  69. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/notion_page.watch.json +0 -0
  70. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/notion_store.py +0 -0
  71. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/notion_tree.py +0 -0
  72. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/reactions.py +0 -0
  73. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/result.py +0 -0
  74. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/schedule.py +0 -0
  75. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/schedule.watch.json +0 -0
  76. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/slack_channel.py +0 -0
  77. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/slack_channel.watch.json +0 -0
  78. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/slack_dm.py +0 -0
  79. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/slack_dm.watch.json +0 -0
  80. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/slack_mention.lag +0 -0
  81. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/slack_mention.py +0 -0
  82. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/slack_mention.watch.json +0 -0
  83. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/slack_thread.py +0 -0
  84. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/slack_thread.watch.json +0 -0
  85. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/slack_utils.py +0 -0
  86. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/telegram.py +0 -0
  87. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/telegram_chat.lag +0 -0
  88. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/telegram_chat.py +0 -0
  89. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/telegram_chat.watch.json +0 -0
  90. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/telegram_search.lag +0 -0
  91. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/telegram_search.py +0 -0
  92. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/telegram_search.watch.json +0 -0
  93. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x.py +0 -0
  94. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_dm.lag +0 -0
  95. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_dm.py +0 -0
  96. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_dm.watch.json +0 -0
  97. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_home.lag +0 -0
  98. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_home.py +0 -0
  99. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_home.watch.json +0 -0
  100. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_mentions.lag +0 -0
  101. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_mentions.py +0 -0
  102. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_mentions.watch.json +0 -0
  103. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_search.lag +0 -0
  104. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_search.py +0 -0
  105. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_search.watch.json +0 -0
  106. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_user_posts.lag +0 -0
  107. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_user_posts.py +0 -0
  108. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/checkers/x_user_posts.watch.json +0 -0
  109. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dashboard_settings.py +0 -0
  110. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dispatch/dispatch-agent.sh +0 -0
  111. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dispatch/extract-tokens.py +0 -0
  112. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dispatch/fake-worker.py +0 -0
  113. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dispatch/format-stream.py +0 -0
  114. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dispatch/plan.py +0 -0
  115. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dispatch/run-agent.py +0 -0
  116. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dispatch/slack-read-health.py +0 -0
  117. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dispatch/spend-window.py +0 -0
  118. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dispatch/translate-stream.py +0 -0
  119. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/dispatch/worker.mcp.json +0 -0
  120. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/inbox.py +0 -0
  121. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ledger/ack-watch.py +0 -0
  122. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ledger/add-watch.py +0 -0
  123. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ledger/approval-helper.py +0 -0
  124. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ledger/checker-health.py +0 -0
  125. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ledger/commit.py +0 -0
  126. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ledger/ensure-watch-ids.py +0 -0
  127. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ledger/housekeep.py +0 -0
  128. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ledger/watch-guard.py +0 -0
  129. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ops/dashboard-server.py +0 -0
  130. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ops/dashboard-start.sh +0 -0
  131. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ops/doctor.sh +0 -0
  132. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ops/health-monitor.py +0 -0
  133. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ops/heartbeat-loop.sh +0 -0
  134. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ops/notify.py +0 -0
  135. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ops/rotate-logs.py +0 -0
  136. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/ops/sync-yaas-v2.sh +0 -0
  137. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/reaction_config.py +0 -0
  138. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/reaction_lifecycle.py +0 -0
  139. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/setup/com.yaas.dashboard.plist.template +0 -0
  140. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/setup/com.yaas.heartbeat.plist.template +0 -0
  141. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/setup/com.yaas.triage.plist.template +0 -0
  142. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/setup/init-yaas-v2-tracking.sh +0 -0
  143. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/setup/install-launchd-common.sh +0 -0
  144. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/setup/install-launchd-dashboard.sh +0 -0
  145. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/setup/install-launchd-heartbeat.sh +0 -0
  146. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/setup/install-launchd.sh +0 -0
  147. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-action-closure/SKILL.md +0 -0
  148. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-answering-quality/SKILL.md +0 -0
  149. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-checker-authoring/SKILL.md +0 -0
  150. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-draft-readiness/SKILL.md +0 -0
  151. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-gdoc-anchored-comments/SKILL.md +0 -0
  152. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-gdoc-anchored-comments/gdoc-comment.py +0 -0
  153. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/SKILL.md +0 -0
  154. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/gmail-reply.py +0 -0
  155. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/gmail_policy.py +0 -0
  156. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-gmail-reply/send_fresh.py +0 -0
  157. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-onboarding/SKILL.md +0 -0
  158. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-ops/SKILL.md +0 -0
  159. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-quest-creation/SKILL.md +0 -0
  160. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-quest-creation/new-quest.py +0 -0
  161. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-quest-dispatch/SKILL.md +0 -0
  162. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-reactions/SKILL.md +0 -0
  163. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-slack-channel/SKILL.md +0 -0
  164. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-slack-file/SKILL.md +0 -0
  165. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/skills/yaas-slack-interface/SKILL.md +0 -0
  166. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/credential_store.py +0 -0
  167. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/jira-call.sh +0 -0
  168. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/keychain-helper.c +0 -0
  169. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/log-event.py +0 -0
  170. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/mcp-call.sh +0 -0
  171. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/native_tls.py +0 -0
  172. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/notion-call.py +0 -0
  173. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/notion-state.py +0 -0
  174. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/react-lifecycle.py +0 -0
  175. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/slack-channel.py +0 -0
  176. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/slack-expand.py +0 -0
  177. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/slack-file.py +0 -0
  178. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/slack-react.sh +0 -0
  179. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/slack-send.py +0 -0
  180. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/slack_credentials.py +0 -0
  181. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/slack_files.py +0 -0
  182. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/telegram-call.py +0 -0
  183. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/telegram-send.py +0 -0
  184. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/telegram_credentials.py +0 -0
  185. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/timeline_io.py +0 -0
  186. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/x-call.py +0 -0
  187. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/x-send.py +0 -0
  188. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/surfaces/x_credentials.py +0 -0
  189. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/system_health.py +0 -0
  190. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/tick.py +0 -0
  191. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/tick_check.py +0 -0
  192. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/tick_dispatch.py +0 -0
  193. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/tick_state.py +0 -0
  194. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/runtime/yaas-triage/triage-loop.sh +0 -0
  195. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/update_check.py +0 -0
  196. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/upgrade_job.py +0 -0
  197. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/worker_readiness.py +0 -0
  198. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor/workspace.py +0 -0
  199. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor.egg-info/dependency_links.txt +0 -0
  200. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor.egg-info/entry_points.txt +0 -0
  201. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor.egg-info/requires.txt +0 -0
  202. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/sidequestor.egg-info/top_level.txt +0 -0
  203. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/yaas_triage/__init__.py +0 -0
  204. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/yaas_triage/__main__.py +0 -0
  205. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/src/yaas_triage/cli.py +0 -0
  206. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/dashboard_review_preview.cjs +0 -0
  207. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_approval_failure.py +0 -0
  208. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_build_info.py +0 -0
  209. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_checker_connector_gates.py +0 -0
  210. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_cli_lifecycle.py +0 -0
  211. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_connector_policy.py +0 -0
  212. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_credential_setup.py +0 -0
  213. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_credential_state_root.py +0 -0
  214. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_dashboard_app_links.py +0 -0
  215. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_dashboard_composer_persistence.py +0 -0
  216. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_dashboard_ports.py +0 -0
  217. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_dashboard_review_preview.py +0 -0
  218. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_dashboard_settings.py +0 -0
  219. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_default_workspace.py +0 -0
  220. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_dispatch_agent.py +0 -0
  221. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_dispatch_manifest.py +0 -0
  222. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_gdoc_comment.py +0 -0
  223. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_gmail_reply.py +0 -0
  224. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_gmail_send.py +0 -0
  225. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_initial_run_gate.py +0 -0
  226. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_install_script.py +0 -0
  227. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_instance_registry.py +0 -0
  228. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_jira_checker.py +0 -0
  229. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_job_path.py +0 -0
  230. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_launchd_lifecycle.py +0 -0
  231. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_multi_instance_operations.py +0 -0
  232. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_native_tls.py +0 -0
  233. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_notion_checkers.py +0 -0
  234. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_notion_tree.py +0 -0
  235. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_quest_creation_handoff.py +0 -0
  236. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_quest_terminal.py +0 -0
  237. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_reaction_config.py +0 -0
  238. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_reaction_lifecycle.py +0 -0
  239. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_reaction_pending.py +0 -0
  240. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_runtime_config.py +0 -0
  241. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_runtime_docs.py +0 -0
  242. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_runtime_imports.py +0 -0
  243. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_slack_channel.py +0 -0
  244. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_slack_expand.py +0 -0
  245. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_slack_file.py +0 -0
  246. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_slack_parser.py +0 -0
  247. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_slack_search.py +0 -0
  248. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_slack_send.py +0 -0
  249. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_slack_worker_health.py +0 -0
  250. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_telegram_send.py +0 -0
  251. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_telegram_x_checkers.py +0 -0
  252. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_triage_liveness.py +0 -0
  253. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_unacked_prune.py +0 -0
  254. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_upgrade_job.py +0 -0
  255. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_version.py +0 -0
  256. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_watch_activity.py +0 -0
  257. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_watcher_status_dashboard.py +0 -0
  258. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_worker_readiness.py +0 -0
  259. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_x_send.py +0 -0
  260. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_x_user_auth.py +0 -0
  261. {sidequestor-0.2.5 → sidequestor-0.2.7.dev3}/tests/test_x_user_checkers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sidequestor
3
- Version: 0.2.5
3
+ Version: 0.2.7.dev3
4
4
  Summary: Sidequestor workspace and triage command shell
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.11
@@ -60,8 +60,7 @@ cd ~/path/to/existing-workspace
60
60
  # cd ~/new-sidequestor-workspace
61
61
  # Add Sidequestor metadata and configuration to this directory.
62
62
  sidequestor init .
63
- # Save the ready-to-paste Slack YAML manifest.
64
- sq setup --manifest > slack-app-manifest.yaml
63
+ # The wizard asks for Slack settings and saves your answers automatically.
65
64
  # Run interactive onboarding; bypassPermissions is the default worker permission mode.
66
65
  sq --workspace . setup
67
66
  # Start triage, heartbeat, and the dashboard and print the dashboard URL.
@@ -118,14 +117,63 @@ install it or set `SIDEQUESTOR_PATH` in the workspace `.env` to a PATH that cont
118
117
 
119
118
  Commands use your saved default workspace. Explicit `--workspace PATH`, `--instance ID`, or `SIDEQUESTOR_WORKSPACE` selects another workspace; the legacy `YAAS_WORKSPACE` name remains accepted. Ordinary starts preserve the workspace’s registered Python runtime. Setup and upgrades can refresh that binding explicitly.
120
119
 
120
+ To test this development release explicitly:
121
+
122
+ ```bash
123
+ uv tool install --force 'sidequestor==0.2.7.dev3'
124
+ ```
125
+
126
+ Use `sidequestor[telegram]==0.2.7.dev3` instead if you need Telegram support.
127
+ Normal stable installs do not select this development release. Sidequestor's
128
+ built-in update notices compare stable version numbers only; development builds
129
+ must be upgraded explicitly. Restart a running dashboard to display the new version.
130
+
121
131
  ## How do I set up the Slack app?
122
132
 
133
+ With `SIDEQUESTOR_AGENT=claude`, the interactive `sq setup` wizard asks for
134
+ `SLACK_APP_ID` and `SLACK_CLIENT_ID`. Enter both custom identifiers, or press Enter
135
+ at BOTH prompts to choose Claude's existing app (`A08SF47R6P4`, client ID
136
+ `1601185624273.8899143856786`). Both prompts show these fallback identifiers and
137
+ explain the connection's limitations. Only missing settings are asked for; saved
138
+ App ID, Client ID, workspace name and domain are preserved. Leaving only one app
139
+ identifier blank is an error.
140
+ You can run `sq init` followed by the setup command it prints: the wizard explains
141
+ both app choices, collects your Slack workspace name/domain, and saves your answers.
142
+ No `.env` editing is required. Custom-app creation instructions and the command to
143
+ print its manifest are shown before the identifier prompts.
144
+ Interactive setup is split into numbered sections with indented prompts and wrapped
145
+ instructions. Every interactive `sq setup` with Slack checking enabled starts fresh
146
+ OAuth for the selected app, even when an existing token works. Existing credentials
147
+ are replaced only after successful authorization; OAuth failure stops setup before
148
+ worker checks or job installation. Non-interactive setup does not launch OAuth.
149
+ The OAuth browser opens only after setup owns its callback port. If another setup
150
+ is already using port 3118, close that attempt and rerun setup. Cancelling setup
151
+ stops its listener. Non-interactive setup and direct OAuth-script runs require
152
+ configured identifiers.
153
+ Supply your workspace name/domain and complete the browser OAuth flow; each user
154
+ gets a separate Sidequestor-managed token. Workspace approval may still be required.
155
+ This requests 29 scopes, excluding `channels:write.invites`, `dnd:read`,
156
+ `groups:write.invites`, `groups:write.topic`, `im:write.topic`, `users.profile:read`,
157
+ and `users.profile:write`. Core checkers, reaction watches/lifecycle, messaging,
158
+ files, and private interface-channel creation stay enabled. Retained broad channel
159
+ write scopes also cover invitations, topics and descriptions, subject to workspace policy.
160
+ Direct profile/status get/set is unavailable with the reduced scopes; the helper
161
+ reports Slack's scope error with an explanation that this operation is optional.
162
+ No core watcher needs DND access.
163
+ Claude's app configuration is provider-controlled and may change; this compatibility
164
+ path does not imply provider endorsement of Sidequestor.
165
+
166
+ Explicit app IDs are always preserved. A partially configured identity is never
167
+ completed with Claude defaults. Codex/Cursor, or Claude users who need their own app,
168
+ use the full-scope custom-app flow below. `sq setup --manifest` always describes
169
+ that custom app:
170
+
123
171
  1. Run `sq setup --manifest > slack-app-manifest.yaml`, then paste that YAML at api.slack.com → Create New App → From an app manifest.
124
172
  2. Choose the workspace and Install to Workspace; an administrator may need to approve it.
125
173
  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.
126
174
  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`.
127
175
  5. If you grant a scope later, reinstall the app and run `sq --workspace /path/to/workspace setup` again.
128
- 6. In Basic Information, copy the App ID and Client ID into `.env`, then complete OAuth.
176
+ 6. In Basic Information, copy the App ID and Client ID into the corresponding `sq setup` prompts, then complete OAuth. The wizard saves them automatically.
129
177
 
130
178
  For an existing app, generate the updated manifest with `sq setup --manifest`, add the newly
131
179
  requested user scopes in the app's OAuth settings, reinstall the app, and run `sq --workspace /path/to/workspace setup` again to
@@ -653,6 +701,10 @@ missing receipt only when that manager confirms it owns the running environment;
653
701
  require a valid receipt to preserve installed extras. Pip-managed PyPI upgrades bypass pip's HTTP
654
702
  cache so a newly published release is not hidden by an older index response. The installed version
655
703
  is checked after the installer runs; an unchanged version is reported as a no-op, not an upgrade.
704
+ Uv upgrades default to the operating system's certificate trust store, including dashboard
705
+ upgrades, so system-trusted corporate certificates work without shell setup. Explicit
706
+ `UV_SYSTEM_CERTS` or legacy `UV_NATIVE_TLS` environment settings and custom CA configuration
707
+ are preserved. This default takes effect once the running Sidequestor is 0.2.6 or newer.
656
708
  When run from an initialized workspace (or with `--workspace PATH`), it stops production jobs only
657
709
  when they were previously marked running, upgrades the package, then uses a fresh Python process
658
710
  to sync resources and run `sq doctor`. Previously running jobs restart only after both checks
@@ -47,8 +47,7 @@ cd ~/path/to/existing-workspace
47
47
  # cd ~/new-sidequestor-workspace
48
48
  # Add Sidequestor metadata and configuration to this directory.
49
49
  sidequestor init .
50
- # Save the ready-to-paste Slack YAML manifest.
51
- sq setup --manifest > slack-app-manifest.yaml
50
+ # The wizard asks for Slack settings and saves your answers automatically.
52
51
  # Run interactive onboarding; bypassPermissions is the default worker permission mode.
53
52
  sq --workspace . setup
54
53
  # Start triage, heartbeat, and the dashboard and print the dashboard URL.
@@ -105,14 +104,63 @@ install it or set `SIDEQUESTOR_PATH` in the workspace `.env` to a PATH that cont
105
104
 
106
105
  Commands use your saved default workspace. Explicit `--workspace PATH`, `--instance ID`, or `SIDEQUESTOR_WORKSPACE` selects another workspace; the legacy `YAAS_WORKSPACE` name remains accepted. Ordinary starts preserve the workspace’s registered Python runtime. Setup and upgrades can refresh that binding explicitly.
107
106
 
107
+ To test this development release explicitly:
108
+
109
+ ```bash
110
+ uv tool install --force 'sidequestor==0.2.7.dev3'
111
+ ```
112
+
113
+ Use `sidequestor[telegram]==0.2.7.dev3` instead if you need Telegram support.
114
+ Normal stable installs do not select this development release. Sidequestor's
115
+ built-in update notices compare stable version numbers only; development builds
116
+ must be upgraded explicitly. Restart a running dashboard to display the new version.
117
+
108
118
  ## How do I set up the Slack app?
109
119
 
120
+ With `SIDEQUESTOR_AGENT=claude`, the interactive `sq setup` wizard asks for
121
+ `SLACK_APP_ID` and `SLACK_CLIENT_ID`. Enter both custom identifiers, or press Enter
122
+ at BOTH prompts to choose Claude's existing app (`A08SF47R6P4`, client ID
123
+ `1601185624273.8899143856786`). Both prompts show these fallback identifiers and
124
+ explain the connection's limitations. Only missing settings are asked for; saved
125
+ App ID, Client ID, workspace name and domain are preserved. Leaving only one app
126
+ identifier blank is an error.
127
+ You can run `sq init` followed by the setup command it prints: the wizard explains
128
+ both app choices, collects your Slack workspace name/domain, and saves your answers.
129
+ No `.env` editing is required. Custom-app creation instructions and the command to
130
+ print its manifest are shown before the identifier prompts.
131
+ Interactive setup is split into numbered sections with indented prompts and wrapped
132
+ instructions. Every interactive `sq setup` with Slack checking enabled starts fresh
133
+ OAuth for the selected app, even when an existing token works. Existing credentials
134
+ are replaced only after successful authorization; OAuth failure stops setup before
135
+ worker checks or job installation. Non-interactive setup does not launch OAuth.
136
+ The OAuth browser opens only after setup owns its callback port. If another setup
137
+ is already using port 3118, close that attempt and rerun setup. Cancelling setup
138
+ stops its listener. Non-interactive setup and direct OAuth-script runs require
139
+ configured identifiers.
140
+ Supply your workspace name/domain and complete the browser OAuth flow; each user
141
+ gets a separate Sidequestor-managed token. Workspace approval may still be required.
142
+ This requests 29 scopes, excluding `channels:write.invites`, `dnd:read`,
143
+ `groups:write.invites`, `groups:write.topic`, `im:write.topic`, `users.profile:read`,
144
+ and `users.profile:write`. Core checkers, reaction watches/lifecycle, messaging,
145
+ files, and private interface-channel creation stay enabled. Retained broad channel
146
+ write scopes also cover invitations, topics and descriptions, subject to workspace policy.
147
+ Direct profile/status get/set is unavailable with the reduced scopes; the helper
148
+ reports Slack's scope error with an explanation that this operation is optional.
149
+ No core watcher needs DND access.
150
+ Claude's app configuration is provider-controlled and may change; this compatibility
151
+ path does not imply provider endorsement of Sidequestor.
152
+
153
+ Explicit app IDs are always preserved. A partially configured identity is never
154
+ completed with Claude defaults. Codex/Cursor, or Claude users who need their own app,
155
+ use the full-scope custom-app flow below. `sq setup --manifest` always describes
156
+ that custom app:
157
+
110
158
  1. Run `sq setup --manifest > slack-app-manifest.yaml`, then paste that YAML at api.slack.com → Create New App → From an app manifest.
111
159
  2. Choose the workspace and Install to Workspace; an administrator may need to approve it.
112
160
  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.
113
161
  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`.
114
162
  5. If you grant a scope later, reinstall the app and run `sq --workspace /path/to/workspace setup` again.
115
- 6. In Basic Information, copy the App ID and Client ID into `.env`, then complete OAuth.
163
+ 6. In Basic Information, copy the App ID and Client ID into the corresponding `sq setup` prompts, then complete OAuth. The wizard saves them automatically.
116
164
 
117
165
  For an existing app, generate the updated manifest with `sq setup --manifest`, add the newly
118
166
  requested user scopes in the app's OAuth settings, reinstall the app, and run `sq --workspace /path/to/workspace setup` again to
@@ -640,6 +688,10 @@ missing receipt only when that manager confirms it owns the running environment;
640
688
  require a valid receipt to preserve installed extras. Pip-managed PyPI upgrades bypass pip's HTTP
641
689
  cache so a newly published release is not hidden by an older index response. The installed version
642
690
  is checked after the installer runs; an unchanged version is reported as a no-op, not an upgrade.
691
+ Uv upgrades default to the operating system's certificate trust store, including dashboard
692
+ upgrades, so system-trusted corporate certificates work without shell setup. Explicit
693
+ `UV_SYSTEM_CERTS` or legacy `UV_NATIVE_TLS` environment settings and custom CA configuration
694
+ are preserved. This default takes effect once the running Sidequestor is 0.2.6 or newer.
643
695
  When run from an initialized workspace (or with `--workspace PATH`), it stops production jobs only
644
696
  when they were previously marked running, upgrades the package, then uses a fresh Python process
645
697
  to sync resources and run `sq doctor`. Previously running jobs restart only after both checks
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sidequestor"
7
- version = "0.2.5"
7
+ version = "0.2.7.dev3"
8
8
  description = "Sidequestor workspace and triage command shell"
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -1,3 +1,3 @@
1
1
  """Sidequestor package shell for the YAAS-compatible triage engine."""
2
2
 
3
- __version__ = "0.2.5"
3
+ __version__ = "0.2.7.dev3"
@@ -58,22 +58,21 @@ SIDEQUESTOR_GDOC_COMMENTS_ENABLED=1
58
58
  # present in SIDEQUESTOR_CHECKER_CONNECTORS and this value is not 0.
59
59
  # SIDEQUESTOR_SLACK_CHECKERS_ENABLED=0
60
60
  #
61
- # YAAS talks to Slack via a user-token OAuth app in YOUR workspace, which you
62
- # have to create before these values can exist. Get the ready-to-paste manifest
63
- # with the scopes and redirect URL already filled in:
61
+ # Slack OAuth uses a separate Sidequestor-managed user token (PKCE, no secret).
62
+ # With SIDEQUESTOR_AGENT=claude, the wizard asks for App ID and Client ID. Leave
63
+ # BOTH prompt answers blank to choose Claude's app with 29 user scopes.
64
+ # Non-interactive setup requires configured identifiers. Each user authorizes;
65
+ # workspace approval may be required. Direct profile/status get/set and DND lookup
66
+ # are unavailable. Slack checking, reactions and messaging stay enabled.
67
+ # Claude's app configuration is provider-controlled and may change.
64
68
  #
69
+ # Explicit app IDs are preserved for every backend. To use your own app, generate:
65
70
  # sq setup --manifest > slack-app-manifest.yaml
66
- #
67
- # Paste it into https://api.slack.com/apps → Create New App → From an app
68
- # manifest, install it (your workspace admin may need to approve), then copy
69
- # App ID and Client ID from Basic Information into the four values below and
70
- # run setup.sh to authorize it under your own Slack identity.
71
- # The manifest requests Slack Model Context Protocol Server. Before OAuth,
72
- # confirm it is enabled at (manual fallback if workspace policy requires it):
73
- # https://api.slack.com/apps/<SLACK_APP_ID>/app-assistant
74
- #
75
- # These are PUBLIC OAuth identifiers (no client secret — PKCE flow), but they
76
- # are workspace-specific: use your own, don't commit real values back here.
71
+ # Paste into https://api.slack.com/apps → Create New App → From an app manifest,
72
+ # install it, enable Slack Model Context Protocol Server if needed, and set BOTH
73
+ # identifiers below. Custom apps request the full scope list. Codex and Cursor
74
+ # require explicit app IDs. Never mix one custom ID with one Claude ID.
75
+ # Workspace name/domain must be supplied for either connection.
77
76
  SLACK_APP_ID=
78
77
  SLACK_CLIENT_ID=
79
78
  SLACK_WORKSPACE_NAME=
@@ -34,7 +34,17 @@ OAUTH_ONLY=0
34
34
  CONFIG="$SCRIPT_DIR/yaas-app-config.json"
35
35
  PORT=3118
36
36
  STATE_SERVER_LOG=$(mktemp)
37
- trap 'rm -f "$STATE_SERVER_LOG"' EXIT
37
+ SERVER_PID=""
38
+ cleanup_oauth() {
39
+ if [ -n "$SERVER_PID" ]; then
40
+ kill "$SERVER_PID" 2>/dev/null || true
41
+ wait "$SERVER_PID" 2>/dev/null || true
42
+ fi
43
+ rm -f "$STATE_SERVER_LOG"
44
+ }
45
+ trap cleanup_oauth EXIT
46
+ trap 'exit 130' INT
47
+ trap 'exit 143' TERM
38
48
 
39
49
  # ── Preflight ───────────────────────────────────────────────────────────────
40
50
  for cmd in jq python3; do
@@ -142,6 +152,10 @@ for cmd in curl openssl security open; do
142
152
  exit 1
143
153
  fi
144
154
  done
155
+ # The wizard records the user's chosen app identity, including an explicit
156
+ # choice of Claude's defaults. Do not infer that choice from a blank .env.
157
+ CLAUDE_CLIENT_ID=$(jq -r '.claude_app.client_id' "$CONFIG")
158
+ CLAUDE_APP_ID=$(jq -r '.claude_app.app_id' "$CONFIG")
145
159
  MISSING=""
146
160
  for var in SLACK_APP_ID SLACK_CLIENT_ID SLACK_WORKSPACE_NAME SLACK_WORKSPACE_DOMAIN; do
147
161
  [ -z "${!var:-}" ] && MISSING="$MISSING $var"
@@ -179,31 +193,47 @@ fi
179
193
  APP_NAME=$(jq -r '.slack_app.app_name' "$CONFIG")
180
194
  REDIRECT=$(jq -r '.slack_app.redirect_uri' "$CONFIG")
181
195
  SCOPES=$(jq -r '.user_scopes | join(",")' "$CONFIG")
196
+ if [ "$SLACK_CLIENT_ID" = "$CLAUDE_CLIENT_ID" ]; then
197
+ if [ "$SLACK_APP_ID" != "$CLAUDE_APP_ID" ]; then
198
+ echo "ERROR: Claude Slack client ID requires SLACK_APP_ID=$CLAUDE_APP_ID" >&2
199
+ exit 1
200
+ fi
201
+ APP_NAME=$(jq -r '.claude_app.app_name' "$CONFIG")
202
+ SCOPES=$(jq -r '.claude_app.excluded_user_scopes as $excluded |
203
+ [.user_scopes[] | select(. as $scope | $excluded | index($scope) | not)] | join(",")' "$CONFIG")
204
+ fi
182
205
 
183
206
  # Per-install values from .env
184
207
  CLIENT_ID="$SLACK_CLIENT_ID"
185
208
  APP_URL="https://api.slack.com/apps/$SLACK_APP_ID"
186
209
 
187
210
  cat <<EOF
188
- ╔════════════════════════════════════════════════════════════════════╗
189
- ║ Sidequestor — Slack onboarding ║
190
- ╠════════════════════════════════════════════════════════════════════╣
191
- ║ App: $APP_NAME ($APP_URL)
192
- ║ Client ID: $CLIENT_ID
193
- ║ Redirect: $REDIRECT
194
- ║ Scopes: $(echo "$SCOPES" | tr ',' '\n' | head -3 | tr '\n' ',' | sed 's/,$//'), ... ($(echo "$SCOPES" | tr ',' '\n' | wc -l | tr -d ' ') total)
195
- ╚════════════════════════════════════════════════════════════════════╝
196
-
197
- Confirm that Agents → "Slack Model Context Protocol (MCP) Server" is enabled. The manifest
198
- requests it; if Slack did not apply that setting, enable it here:
199
- $APP_URL/app-assistant
200
-
201
- You'll be redirected to Slack in your browser to authorize this app for
202
- your user account. Review the permissions, click "Allow", then return here.
211
+
212
+ Slack authorization
213
+ -------------------
214
+ App: $APP_NAME
215
+ App ID: $SLACK_APP_ID
216
+ Client ID: $CLIENT_ID
217
+ Redirect: $REDIRECT
218
+ Scopes: $(echo "$SCOPES" | tr ',' '\n' | wc -l | tr -d ' ') user scopes ($(echo "$SCOPES" | tr ',' '\n' | wc -l | tr -d ' ') total)
219
+
220
+ Your browser will open Slack. Review the permissions, choose Allow,
221
+ then return to this terminal.
203
222
 
204
223
  EOF
205
224
 
206
- read -p "Press Enter to start the OAuth flow, or Ctrl-C to abort..."
225
+ if [ "$SLACK_CLIENT_ID" = "$CLAUDE_CLIENT_ID" ]; then
226
+ echo " Workspace approval may be required for Claude's Slack app."
227
+ echo " Profile/status operations and DND lookup are unavailable."
228
+ echo " Sidequestor manages its own token; Claude Code's connection is separate."
229
+ echo " The provider controls Claude's app configuration and may change it."
230
+ else
231
+ echo ' Confirm Agents → "Slack Model Context Protocol (MCP) Server" is enabled.'
232
+ echo " $APP_URL/app-assistant"
233
+ fi
234
+
235
+ echo
236
+ read -p " Press Enter to open Slack authorization, or Ctrl-C to cancel..."
207
237
 
208
238
  # ── PKCE ────────────────────────────────────────────────────────────────────
209
239
  # RFC 7636 Proof Key for Code Exchange
@@ -234,17 +264,17 @@ LOG_PATH = sys.argv[2]
234
264
  EXPECTED_STATE = sys.argv[3]
235
265
 
236
266
  RESPONSE_OK = b"""<!DOCTYPE html>
237
- <html><head><title>Sidequestor installed</title>
238
- <style>body{font-family:-apple-system,sans-serif;max-width:600px;margin:80px auto;padding:0 24px;color:#111;}
267
+ <html><head><meta charset="utf-8"><title>Sidequestor authorization received</title>
268
+ <style>body{font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;max-width:600px;margin:80px auto;padding:0 24px;color:#111;}
239
269
  h1{color:#2eb67d;}code{background:#f4f4f4;padding:2px 6px;border-radius:3px;}</style>
240
270
  </head><body>
241
271
  <h1>Sidequestor authorized</h1>
242
- <p>The token has been issued and stored in your Mac Keychain.</p>
272
+ <p>Return to your terminal to finish exchanging and saving the token.</p>
243
273
  <p>You can close this tab and return to your terminal.</p>
244
274
  </body></html>"""
245
275
 
246
276
  RESPONSE_ERR = lambda msg: f"""<!DOCTYPE html>
247
- <html><body style="font-family:-apple-system;max-width:600px;margin:80px auto;padding:0 24px;">
277
+ <html><head><meta charset="utf-8"></head><body style="font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;max-width:600px;margin:80px auto;padding:0 24px;">
248
278
  <h1 style="color:#e01e5a;">Sidequestor install failed</h1>
249
279
  <p>{msg}</p>
250
280
  <p>Check your terminal for details.</p>
@@ -263,16 +293,16 @@ class H(http.server.BaseHTTPRequestHandler):
263
293
  if err:
264
294
  msg = "error=" + html.escape(err) # escape: err is reflected into HTML
265
295
  with open(LOG_PATH, "w") as f: f.write(f"ERROR {msg}\n")
266
- self.send_response(400); self.send_header("Content-Type","text/html"); self.end_headers()
296
+ self.send_response(400); self.send_header("Content-Type","text/html; charset=utf-8"); self.end_headers()
267
297
  self.wfile.write(RESPONSE_ERR(msg))
268
298
  return
269
299
  if state != EXPECTED_STATE:
270
300
  with open(LOG_PATH, "w") as f: f.write("ERROR state mismatch\n")
271
- self.send_response(400); self.send_header("Content-Type","text/html"); self.end_headers()
301
+ self.send_response(400); self.send_header("Content-Type","text/html; charset=utf-8"); self.end_headers()
272
302
  self.wfile.write(RESPONSE_ERR("State mismatch — possible CSRF. Re-run setup.sh."))
273
303
  return
274
304
  with open(LOG_PATH, "w") as f: f.write(f"CODE {code}\n")
275
- self.send_response(200); self.send_header("Content-Type","text/html"); self.end_headers()
305
+ self.send_response(200); self.send_header("Content-Type","text/html; charset=utf-8"); self.end_headers()
276
306
  self.wfile.write(RESPONSE_OK)
277
307
 
278
308
  # Bind with SO_REUSEADDR
@@ -286,11 +316,29 @@ except OSError as e:
286
316
  sys.exit(1)
287
317
 
288
318
  srv.timeout = 300 # 5 min total window
289
- srv.handle_request() # serve exactly one request then exit
319
+ with open(LOG_PATH, "w") as f:
320
+ f.write("READY\n")
321
+ try:
322
+ srv.handle_request() # serve exactly one request then exit
323
+ finally:
324
+ srv.server_close()
290
325
  PY
291
326
 
292
327
  SERVER_PID=$!
293
- sleep 0.5 # let server bind
328
+ # The browser must never open until THIS listener has bound the callback port.
329
+ for attempt in {1..100}; do
330
+ [ -s "$STATE_SERVER_LOG" ] && break
331
+ kill -0 "$SERVER_PID" 2>/dev/null || break
332
+ sleep 0.05
333
+ done
334
+ if [ "$(cat "$STATE_SERVER_LOG")" != "READY" ]; then
335
+ echo "ERROR: Slack callback listener could not start." >&2
336
+ if [ -s "$STATE_SERVER_LOG" ]; then
337
+ cat "$STATE_SERVER_LOG" >&2
338
+ fi
339
+ echo "Close the other setup attempt using port $PORT, then run sq setup again." >&2
340
+ exit 1
341
+ fi
294
342
 
295
343
  echo "Opening browser to Slack authorize page..."
296
344
  echo "If it doesn't open automatically, visit:"
@@ -300,9 +348,10 @@ open "$AUTH_URL"
300
348
 
301
349
  # Wait for the server to finish (max ~5 min via its own timeout)
302
350
  wait "$SERVER_PID" 2>/dev/null || true
351
+ SERVER_PID=""
303
352
 
304
353
  # ── Inspect server log ──────────────────────────────────────────────────────
305
- if [ ! -s "$STATE_SERVER_LOG" ]; then
354
+ if [ ! -s "$STATE_SERVER_LOG" ] || [ "$(cat "$STATE_SERVER_LOG")" = "READY" ]; then
306
355
  echo "ERROR: no callback received. The server timed out or the browser flow was interrupted." >&2
307
356
  exit 1
308
357
  fi
@@ -45,5 +45,19 @@
45
45
  "users:read.email"
46
46
  ],
47
47
  "_reactions_read_note": "reactions:read may require workspace admin approval in some orgs. If approval is required, request it before running setup.sh; or proceed without — the reaction-monitoring path in the orchestrator will return zero results until the scope is granted, then each user re-runs setup.sh to re-authorize.",
48
- "_reactions_write_note": "reactions:write is REQUIRED, not optional: the reaction lifecycle in surfaces/react-lifecycle.py calls reactions.add / reactions.remove (via client.py) to swap the loading and done emoji on a message. Without it every lifecycle transition fails with missing_scope and the user sees their trigger emoji never change."
48
+ "_reactions_write_note": "reactions:write is REQUIRED, not optional: the reaction lifecycle in surfaces/react-lifecycle.py calls reactions.add / reactions.remove (via client.py) to swap the loading and done emoji on a message. Without it every lifecycle transition fails with missing_scope and the user sees their trigger emoji never change.",
49
+ "claude_app": {
50
+ "app_id": "A08SF47R6P4",
51
+ "client_id": "1601185624273.8899143856786",
52
+ "app_name": "Claude",
53
+ "excluded_user_scopes": [
54
+ "channels:write.invites",
55
+ "dnd:read",
56
+ "groups:write.invites",
57
+ "groups:write.topic",
58
+ "im:write.topic",
59
+ "users.profile:read",
60
+ "users.profile:write"
61
+ ]
62
+ }
49
63
  }
@@ -508,7 +508,9 @@ def cmd_slack_profile(argv):
508
508
  body = {}
509
509
  if body.get("error") == "missing_scope":
510
510
  return fail(f"slack users.profile.{action}: missing_scope "
511
- f"needed={body.get('needed')} provided={body.get('provided')}", verdict)
511
+ f"needed={body.get('needed')} provided={body.get('provided')}. "
512
+ "Profile/status access is optional; skip it with this token. "
513
+ "A custom app with users.profile:read/write is needed for this helper.", verdict)
512
514
  return fail(f"slack users.profile.{action}: {text[:200]}", verdict)
513
515
 
514
516
  try: