Skip to content

Clarify human and agent setup - #4

Merged
moinulmoin merged 1 commit into
mainfrom
agent/readme-human-agent-guide
Jul 24, 2026
Merged

Clarify human and agent setup#4
moinulmoin merged 1 commit into
mainfrom
agent/readme-human-agent-guide

Conversation

@moinulmoin

Copy link
Copy Markdown
Owner

Summary

  • restructure the main README around separate agent-managed and human-managed setup paths
  • add a copy-paste agent prompt with explicit install, permission, privacy, and approval boundaries
  • align the bundled skill and Raycast guide with the same diagnostics and least-privilege guidance
  • link the now-live Threadlens Raycast Store page

Validation

  • python3 -B -m py_compile threadlens/*.py
  • python3 -B -m unittest discover -s tests (134 tests)
  • npm --prefix raycast exec -- tsc --project raycast/tsconfig.json --noEmit
  • npm --prefix raycast audit --json (0 vulnerabilities)
  • npm --prefix raycast run lint
  • npm --prefix raycast run build
  • python3 -B -m threadlens doctor --json
  • local retrieval eval: 98% Recall@5, 0 negative failures
  • local search benchmark: 159.6 ms p95 (250 ms gate)

@moinulmoin
moinulmoin merged commit 495d6b8 into main Jul 24, 2026
2 checks passed
@moinulmoin
moinulmoin deleted the agent/readme-human-agent-guide branch July 24, 2026 09:12

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 82d355f508

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md
Comment on lines +96 to +99
3. Install with `uv tool install threadlens` or upgrade with
`uv tool upgrade threadlens`. If uv is unavailable, use
`pipx install threadlens` / `pipx upgrade threadlens`. If neither tool exists,
explain the smallest safe prerequisite and ask before installing it.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use the installer that owns the existing installation

When Threadlens is already installed by pipx but uv is also available, this procedure directs the agent to run uv tool upgrade threadlens; that command only upgrades uv-installed tools (uv tool upgrade --help describes it as “Upgrade installed tools”) and exits with “threadlens is not installed” in this scenario. Detect whether the resolved command belongs to uv or pipx and use the corresponding upgrade command so an otherwise valid existing installation does not derail setup.

Useful? React with 👍 / 👎.

Comment thread README.md
Comment on lines +266 to +267
The report includes the affected source, path, and read error. Fix permissions
at the narrowest layer that blocked access:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid promising permission errors that doctor cannot discover

When access is denied while traversing a standard session directory—the permission problem this section is intended to diagnose—source_paths() returns only files it successfully discovers, while inaccessible glob roots and failed .exists() candidates are omitted. Consequently cmd_doctor() can report the source as ok (0/0) with no path or read error, so users cannot follow this troubleshooting advice; explicitly probe and report candidate roots or document that doctor cannot identify this class of denial.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant