Zion Boggan
repos/TreeTrace/examples/api-key-auth/.treetrace/lessons.md
zionboggan.com ↗
6 lines · markdown
History for this file →
1
# Lessons
2
 
3
- **Confirm proposed actions before executing.** user_text_decline (text): "No, do not hardcode the secret in the source. Read the API key from an environment variable instead." [node_002]
4
- **Treat privacy boundaries as product requirements.** Human flagged a security concern about a prior action with no security label [signal: human security correction]: "No, do not hardcode the secret in the source. Read the API key from an environment variable instead." [node_001, node_003]
5
- **Respect the local environment.** User said: "No, do not hardcode the secret in the source. Read the API key from an environment variable instead." [node_001]
6
- **Escalate when user frustration appears.** User said: "Here is my test key [REDACTED:anthropic-key], confirm the admin route rejects a bad key." [node_001]