Skip to content

docs: fix human_input oversight claims in security guide - #7096

Draft
theCyberTech wants to merge 1 commit into
mainfrom
cursor/fix-human-input-security-docs-1d78
Draft

docs: fix human_input oversight claims in security guide#7096
theCyberTech wants to merge 1 commit into
mainfrom
cursor/fix-human-input-security-docs-1d78

Conversation

@theCyberTech

Copy link
Copy Markdown
Contributor

Summary

Fixes Defect 2 in the Security Best Practices guide (§5): the original draft incorrectly framed human_input=True as "explicit human approval before execution" for irreversible tools and external side effects.

Per the Task contract in task.py, human_input gates review of the final answer before it is accepted/finalized — not tool execution. An agent on a task with human_input=True can still run destructive tools before any human sees the run.

Changes

  • Add docs/edge/en/guides/advanced/security-best-practices.mdx with corrected §5:
    • Clarifies what human_input=True actually does (post-run output review)
    • Directs readers to tool hooks, execution hooks, and @human_feedback for true pre-execution approval gates
    • Updates the operational checklist to distinguish pre-execution gates from post-run review
  • Sync translations to ar, ko, and pt-BR
  • Add nav entries under Guides → Advanced in docs/docs.json for all edge locales

Related

Open in Web Open in Cursor 

Section 5 of the Security Best Practices guide incorrectly framed
human_input=True as pre-execution approval for irreversible tools.
Clarify that it gates final answer review after tools have run, and
point readers to tool hooks, execution hooks, and @human_feedback for
true pre-execution gates.

Co-authored-by: Rip&Tear <theCyberTech@users.noreply.github.com>
@mintlify

mintlify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
crewai 🟢 Ready View Preview Aug 24, 2026, 8:50 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants