Skip to content

fix(diagnostic): replace deprecated nono learn with nono run - #1170

Merged
SequeI merged 2 commits into
nolabs-ai:mainfrom
connrg:fix/deprecated-learn-diagnostic
Jun 16, 2026
Merged

fix(diagnostic): replace deprecated nono learn with nono run#1170
SequeI merged 2 commits into
nolabs-ai:mainfrom
connrg:fix/deprecated-learn-diagnostic

Conversation

@connrg

@connrg connrg commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Diagnostic footer suggests nono learn which was deprecated in v0.50.1. Users following the suggestion hit a dead end. Replaced with nono run --allow <path> so the guidance points to an
actual next action.

@github-actions github-actions Bot added bug Something isn't working nono-cli size/small labels Jun 16, 2026
@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

PR Review Summary

Size

Metric Value
Lines added +8
Lines removed -6
Total changed 14
Classification Small (< 50 lines)

Affected crates

  • crates/nono-cli — CLI changes. Verify argument parsing, flag documentation, and UX behaviour across supported platforms.

Blast radius — Contained

This PR touches: source code


Updated automatically on each push to this PR.

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request updates the diagnostic formatter to suggest using nono run --allow <path> instead of the deprecated nono learn command when displaying next steps for sandbox denials or application errors. The corresponding documentation comments and unit tests have been updated to reflect this change. No review comments were provided, so there is no additional feedback to address.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@connrg
connrg force-pushed the fix/deprecated-learn-diagnostic branch from b631643 to cb2be37 Compare June 16, 2026 11:31
@SequeI
SequeI merged commit 7f319b9 into nolabs-ai:main Jun 16, 2026
13 checks passed
@connrg
connrg deleted the fix/deprecated-learn-diagnostic branch June 16, 2026 18:50
oscarmackjr-twg pushed a commit to OscarMackJr/nono that referenced this pull request Jun 23, 2026
…ai#1170)

Signed-off-by: connrg <conor@alwaysfurther.ai>
(cherry picked from commit 7f319b9)
Signed-off-by: oscarmackjr-twg <oscar.mack.jr@gmail.com>
klassm pushed a commit to klassm/nono that referenced this pull request Jul 3, 2026
SequeI added a commit that referenced this pull request Jul 31, 2026
Deprecated in v0.52.0 and superseded by nono runs built-in deny-and-
suggest flow (#1170). Removes learn.rs, learn_runtime.rs, LearnArgs,
the Commands::Learn dispatch path, dead constants in timeouts.rs, and
get_system_read_paths from policy.rs.

Signed-off-by: Aleksy Siek <aleksy@alwaysfurther.ai>
SequeI added a commit that referenced this pull request Jul 31, 2026
* chore: remove deprecated nono learn command

Deprecated in v0.52.0 and superseded by nono runs built-in deny-and-
suggest flow (#1170). Removes learn.rs, learn_runtime.rs, LearnArgs,
the Commands::Learn dispatch path, dead constants in timeouts.rs, and
get_system_read_paths from policy.rs.

Signed-off-by: Aleksy Siek <aleksy@alwaysfurther.ai>

* review fixes

Signed-off-by: Aleksy Siek <aleksy@alwaysfurther.ai>

* review fixes

Signed-off-by: Aleksy Siek <aleksy@alwaysfurther.ai>

---------

Signed-off-by: Aleksy Siek <aleksy@alwaysfurther.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working nono-cli size/small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants