-
Notifications
You must be signed in to change notification settings - Fork 174
Update Security-Focused-Guide-for-AI-Code-Assistant-Instructions.md #954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
mswilson
commented
Aug 5, 2025
- add link to Kiro steering documentation, sort tools alphabetically
- adopt terminology more applicable to professional software development ("You are the Pilot" -> "You are the Developer")
- reinforce that the developer is responsible for potential harms of the code, link to ACM code of ethics and professional conduct for definition of "harm"
I suggest also citing |
I don't know that "pilot" is the wrong term in this case, it does indicate someone who controls a machine but is ultimately responsible for what happens. |
I'll work on that change.
In aviation, your "co-pilot" is a fellow practitioner, and is fully capable of taking command of the aircraft. The autopilot (or, generally "cockpit automation") is a tool that a pilot can use to manage cognitive load, optimize passenger comfort, etc. Ultimately, the pilot has responsibility for the aircraft, and needs to know when to take over control from automation. This one reason why "You are the pilot, AI is the co-pilot" breaks down as a useful analogy to me. Another reason to avoid it is to stay clear of appearances of leaning in to a well known AI brand. |
…ons.md * add link to Kiro steering documentation, sort tools alphabetically * adopt terminology more applicable to professional software development ("You are the Pilot" -> "You are the Developer") * reinforce that the developer is responsible for potential harms of the code, link to IFIP code of ethics and professional conduct for definition of "harm". IFIP is the leading multinational, apolitical organization in Information & Communications Technologies and Sciences. Signed-off-by: Matt Wilson <[email protected]>
I moved the "harm" reference to the IFIP code of ethics, which is adapted from the ACM code of ethics. The ACM/IEEE-CS software engineering code of ethics is an older code (from 1997). |
I see your point about "co-pilot", that's a good point. But I don't think "apprentice" works either, as an apprentice is expected to eventually replace you. How about "assistant"? There's no implication that an assistant can or will eventually replace you. |
docs/Security-Focused-Guide-for-AI-Code-Assistant-Instructions.md
Outdated
Show resolved
Hide resolved
I don't see that as an issue. I think ACM & IEEE are much better-known in many circles than IFIP, so I wouldn't replace IFIP's work with others. The IFIP one appears to be based on the ACM "Code of Ethics". That is a different document than the one I noted earlier, which is the "The Software Engineering Code of Ethics and Professional Practice" jointly released by ACM and IEEE. I suggest citing both, then we cover our bases. :-). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mergeable as-is, but ideally the Apprentice --> Assistant change makes it in here as well.
Co-authored-by: David A. Wheeler <[email protected]> Signed-off-by: msw <[email protected]>