Skip to content

fix(scope): broaden static edit/network heuristics; update notice only for strictly newer - #292

Open
Ar9av wants to merge 1 commit into
mainfrom
fix/scope-ux-2
Open

Ar9av wants to merge 1 commit into
mainfrom
fix/scope-ux-2

Conversation

@Ar9av

@Ar9av Ar9av commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Follow-up from re-testing the released 1.42.1 on st3ve (fresh sandbox, real Codex sessions).

  • Static scope heuristic missed common verbs. Codex session: prompt 1 "What does this repo do?" (→ Bash+Read), prompt 2 "Now append the line … to README.md, then cat it" → scope did not widen (append/patch weren't keywords) and apply_patch was blocked. Keyword lists broadened (append, insert, remove, delete, rename, replace, patch, apply, generate, …; network: curl, wget, web, publish, …). Verified live: same two prompts now widen to Edit/Write and the append succeeds.
  • Update notice used !=. Right after the release, a stale (≤24h) cache printed note: prismor 1.42.0 is available (you're on 1.42.1). Run prismor update. Now compares numerically and only nags for strictly newer.

Also re-ran the full scope battery (setup/scope/status/doctor/global/uninstall/status --all) against the PyPI 1.42.1 wheel — all green; PR #291 behaviour holds in the released build.

Tests: +2 in tests/test_scope_ux.py; full suite unchanged vs main (same pre-existing env failures).

https://claude.ai/code/session_01CNu2aSDhTAKpwVVKVTRadH

…y for strictly newer versions

Live re-test of released 1.42.1 on st3ve: Codex 'append a line to README.md'
did not widen the session scope (append/patch not in the keyword list) and a
stale version cache told a 1.42.1 user that 1.42.0 was available.

Claude-Session: https://claude.ai/code/session_01CNu2aSDhTAKpwVVKVTRadH
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