How should external tool permissions be scoped?
Give each integration the minimum permissions needed, prefer read-only access when possible, and separate retrieval from actions that modify external ...
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 1249–1260 of 3610 questions
Give each integration the minimum permissions needed, prefer read-only access when possible, and separate retrieval from actions that modify external ...
Project rules provide reusable guidance for a repository or workflow, while a task prompt states the immediate goal and its acceptance criteria. Rules...
For a multi-file task, first identify affected modules and contracts, then implement a coherent change, inspect the full diff, and run relevant checks...
Compare every changed file against the task and investigate unrelated formatting, configuration, dependency, or generated-file changes. Keep the patch...
Pause and review provenance, license obligations, organizational policy, and the context in which the output was generated. Do not assume generated co...
Large repositories can increase indexing, retrieval, and review complexity. Use workspace boundaries, relevant file references, exclusions for generat...
Run secret scanning locally or in CI and protect secrets with approved storage and access controls. Scanning is a backstop, not permission to place cr...
Use compiler checks, linters, type checking, static analysis, and dependency scanning as independent signals. Fix meaningful findings rather than supp...
Check which operations must succeed or fail together, isolation requirements, retry behavior, and external side effects. A database transaction cannot...
Concurrency can introduce races, deadlocks, lost updates, and nondeterministic tests. Define shared-state ownership and synchronization, use establish...
Use version control to inspect and selectively revert changes, preserving unrelated user work. Review the working tree before reset or checkout operat...
Use the normal incident review process to establish the technical root cause and contributing factors. Update tests, repository rules, permissions, CI...