AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Keyhole: secrets reach your project's files without ever entering the conversation
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A small VS Code extension that puts a secret (an API key, a token) into your
project's .env through a masked box, so the secret never has to appear in a
conversation with an AI assistant.
Start with the manual's harmless walkthrough and its assistant-specific file protections.
Searching for "keyhole"? This extension has nothing to do with Keyhole Markup Language
(KML, the file format of Google Earth), nor with a 2024 flaw in Windows licensing that was
also nicknamed "Keyhole" and has since been fixed. It writes your own secrets to your own
.env.
When you need to give a project a token for GitHub, Neon, Render or another
service, you run Keyhole: Set a Secret in .env…. Keyhole asks for the
variable's name, checks with git that .env is ignored and not tracked, takes
the value in a masked box, and appends it to .env. The value goes from the box
to the file and nowhere else. An assistant can still help you find and set up the
token, by name, without the value ever passing through the chat.
Both pictures are the real extension in VS Code on macOS, in a throwaway folder with a made-up value. The value is not a secret.
The masked box. It says where the value is going, and the button at the right shows what you typed if you need to check it.
Setting a variable that already has a value asks first. The question names the existing value by a short keyprint and its length, never by the value itself.
DATABASE_URL. Names are safe to
discuss; values are not..env is already tracked (git would keep tracking it despite an ignore rule) and
whether it is ignored. If it is not ignored, Keyhole offers to add it to .gitignore
first, and says what it recommends and why. If it is tracked, it tells you how to go on and
does not write. If git cannot be asked (the Git extension is off), it writes nothing it cannot
check. The same goes for a repository VS Code's Git extension did not open (git refuses
some, for example when the folder belongs to another user): Keyhole finds the .git itself,
says so, and writes nothing. If there is no git repository at all, it says so and writes,
since nothing can commit the file by accident from there..env under a comment line. If the variable is already set, Keyhole asks
before replacing it; the old line stays in the file and the new comment says which line it
supersedes.<keyprint:ghp_…f9c2#06c47309/>. A shorter value
shows none of its characters. In the code, a secret is a type that prints as [redacted]
by every route a string is made and refuses to serialize; tests check that.Keyhole's promise is about the conversation, not about your machine. Its input and result
path is built to keep the value out of chat, prompts, links and logs. An assistant that has
access to your files and a shell can still read .env itself, and Keyhole cannot stop that.
The guide to
keeping secrets out of the conversation
explains what each assistant application offers to reduce accidental reads, and where the
protection ends. Git ignoring a file also does not remove a value from history that already
contains it.
Designed in this repository's decisions, not built: a model asking for a secret by name with a link, a list of requests and drafts, step-by-step instructions for a service's token page, and writing to an assistant's own settings file. Keyhole today is the part you do yourself.
Search for "Keyhole" in VS Code's Extensions view, or run
code --install-extension jlumbroso.keyhole.
Porthole shows a page in a floating window above
your work. The two share their crew and, later, their way of receiving a request from a
terminal (a vscode:// link).
Apache License 2.0; see NOTICE.
With the human-AI collaboration template
(ADRs4AI/human-ai-collaboration-template-A,
3.12 in progress): decisions and open questions live in docs/adr/, and the
crew coordinates through docs/inbox/. See CLAUDE.md.