Skip to content

An app profile says screener deny takes a sender already screened in - #655

Merged
jeremy merged 3 commits into
mainfrom
deny-approved-hint
Nov 15, 2026
Merged

jeremy merged 3 commits into
mainfrom
deny-approved-hint

Conversation

@jeremy

@jeremy jeremy commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

On a profile the HEY app answers, hey now says that hey screener deny <email> also screens out a sender who's already screened in, in the Imbox, the Feed or Paper Trail. Agents asked to stop a newsletter now find that route instead of telling the person it can't be done.

Context

  • In basecamp/hey-native-apps' customer's-agent eval, the task "unsubscribe me from the newsletters in my Feed" passed 1 of 3 at 14c74b0. Two agents saw hey contact deliver refused on the app profile, read "do the rest in the HEY app" as closing the route, and told the person the Screener can't change subscriptions. The third ran hey screener deny on both senders, which works on the app door.
  • screener deny's own agent notes already say an address is looked up among those waiting, then those already screened. Neither failing agent opened them: the refusal hint and the skill told them the route was closed first.

Change

  • The hint every refused command prints on an app profile (appOffered()) adds that screener deny <email> also screens out a sender already screened in.
  • contact deliver's agent notes add that on an app profile, which doesn't answer it, a sender is screened out with hey screener deny <email>. The test pinning the notes is updated.
  • The skill's "The HEY app on this computer" section says the same, as how to stop a sender there.

Verification

  • TestContactDeliverHelpDescribesRoutingContract failed on the old expectation and passes with the new one. make check passes.
  • Skill coverage reports the same 10 uncovered facts as 14c74b0; none are new.
  • The eval task rerun with this commit pinned: 2 of 3 passed, against 1 of 3 before.
    • All 3 agents ran hey screener deny on both senders, and HEY lists both as denied.
    • The run scored as failed did the same, but told the person it had "blocked" them. The eval's check wants "screened out", since blocking is a different thing in HEY.

Alternatives

  • Answering contact deliver --to screened-out on the app profile was rejected for now: it would take a new door action in the app, for the same outcome screener deny already gives.

Summary by cubic

The app profile's refusal hint, contact deliver agent notes, and app-profile skill section now point to hey screener deny <email> for screening out a sender already screened in, whether it delivers to the Imbox, the Feed, or Paper Trail. Agents asked to stop a newsletter on a HEY app profile now find that route instead of saying it can't be done.

  • contact deliver is not answered on app profiles; screener deny is the route to stop a sender there.
  • The eval task passed 2 of 3 with the change, up from 1 of 3; the failing agent told the person the sender was "blocked" rather than "screened out".
  • SKILL.md was shortened to stay under its size limit; go test -race ./... passes.

Written for commit 09a6784. Summary will update on new commits.

View guided diff Turn on auto-fix

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

This PR appears safe to merge.

Summary

Documents hey screener deny <email> as the app-profile route for screening out an already approved sender.

  • App-profile guidance points agents to screener deny for approved senders.

Reviews (1) · Last reviewed commit: "SKILL.md keeps under its size limit with..." · Reviewed by Greptile

Agents in an eval read the app profile’s "not offered" hint as closing the route and never tried screener deny on approved senders, though it works. Name that route in the refusal hint, contact deliver agent notes, and app-profile skill guidance.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 4 files

You’re at about 99% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread skills/hey/SKILL.md Resolved
Comment thread internal/cmd/endpoint.go Resolved
The routing guide's new line put SKILL.md at 17,427 bytes, over the
17,408 TestHeySkillStaysDiscoveryFirstAndFocused allows, failing Tests and
Race Detection. The line now says the route in fewer words: deny screens
out any sender, even one already screened in. SKILL.md is 17,375 bytes.

go test -race ./... passes; the size test failed in CI on the old head.

Dropping the line was rejected: the eval's 2 of 3 unsubscribe passes ran
with it, and agents read the skill before the agent notes.
@jeremy
jeremy marked this pull request as ready for review November 15, 2026 09:40
@jeremy
jeremy requested a review from a team as a code owner November 15, 2026 09:40
Copilot AI balanced review requested due to automatic review settings November 15, 2026 09:40
greptile-apps[bot]
greptile-apps Bot previously approved these changes Nov 15, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approved

No active review issues are recorded for this guidance update explaining how to screen out already-approved senders on app profiles.

No open issues 🎉

What changed in this PR

Clarifies the existing app-profile route for screening out senders already screened in, helping agents stop unwanted newsletters when contact deliver is unavailable. This changes guidance, not screening behavior.

Changes:

  • Expands app-profile refusal hints to recommend screener deny <email> for already-approved senders, including those in the Feed or Paper Trail.
  • Adds the same guidance to contact deliver agent notes and the embedded skill.
  • Updates the test’s expected agent notes.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File Description
skills/​hey/​SKILL.md Documents how to screen out existing senders on app profiles.
internal/​cmd/​endpoint.go Adds the screening route to app-profile refusal hints.
internal/​cmd/​contacts_deliver.go Adds app-profile guidance to command agent notes.
internal/​cmd/​contacts_deliver_test.go Updates the expected agent notes to match.

Review effort: Balanced

…laces

The hint said screener deny screens out a sender already screened in,
"one in the Feed or Paper Trail too", which reads as if the Imbox were
not covered, though deny screens out a sender delivering there just the
same. It now names the Imbox, the Feed and Paper Trail together.

go test ./internal/cmd passes; no test pins the hint's words.
@greptile-apps
greptile-apps Bot dismissed their stale review November 15, 2026 09:58

Dismissed because a newer commit was pushed; Greptile will re-review the current head.

@jeremy
jeremy enabled auto-merge (squash) November 15, 2026 09:59
@jeremy
jeremy merged commit 3e8d878 into main Nov 15, 2026
25 checks passed
@jeremy
jeremy deleted the deny-approved-hint branch November 15, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants