Repository navigation
Conversation
… after you confirm Builds the issue from the description plus plugin, altimate-code, Claude Code, OS, dbt and settings facts (and, with --with-error, the last plugin error, redacted), shows the exact title and body, and creates it with gh issue create or a prefilled new-issue link after --confirm. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 40187247 | Triggered | Generic Password | 8c44c81 | plugins/altimate-code/hooks/feedback.test.tsx | View secret |
| 40737365 | Triggered | Generic Password | 8c44c81 | plugins/altimate-code/hooks/feedback.test.tsx | View secret |
| 40738749 | Triggered | Generic Password | 3e05fb4 | plugins/altimate-code/hooks/feedback.test.tsx | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
…n /feedback shadows a plugin command of that name Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ct the description before cutting it, and drop a draft that is discarded while it is built Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…iption instead of cutting it, clear the shown draft while a replacement is built, and redact JSON-escaped home paths Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ng quote, and clear the shown draft before a refused replacement Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…lues, ~/ paths and parenthesised folder names Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nd blank lines included Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…es whole Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…t keys whole Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…and a last unquoted one, whole Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…, and treat doubled quotes in a quoted connection-string password as part of it Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…en and cut them in one pass, so no rule can hide another's match Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…times Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… of times Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
/altimate-feedback <what happened>drafts a GitHub issue for this repository from the user's words plus a few facts the plugin already knows, shows the exact title and body, and creates the issue only after/altimate-feedback --confirm.The command is a mod command (like
/deferor/dbt-show). It is not named/altimate-code:feedbackor/feedback: Claude Code's own/feedbacktakes that name over a plugin's, and a mod cannot register a namespaced name (both tried live).Behaviour
/altimate-feedback <text>: shows the draft (title, body). Nothing is sent;ghand the browser are not started. Without text it says how to start./altimate-feedback --confirm: creates exactly what was shown.ghinstalled and signed in (gh auth status):gh issue create --repo AltimateAI/altimate-claude-plugin --title … --body-file -(body on stdin), with--label feedbackonly when the repository has that label. Prints the created URL.ghfailing): prints and opens (macOSopen, Linuxxdg-open) a prefilledissues/new?title=…&body=…link, URL-encoded and kept under 7000 characters; a longer body is cut on a character boundary with a note. The plugin never signs in.ghcall that times out is not retried (the issue may exist).--canceldiscards the draft; a new description replaces it; the draft is in memory only and ends with the session. A description that merely contains the word--confirmis a description.What is attached, and what is removed
--with-error(opt in) adds the kind of the last plugin error: only what a fixed list recognises in it (error type such asDatabase Error, errno / SQLSTATE codes, the plugin's own$.process.run-style host-call names, a few fixed phrases) is kept, at the moment the error happens; the message itself is never stored or filed, so no path, SQL, relation, model or column name or secret can come with it.ALTIMATE_FEEDBACK_DRY_RUN=1makes--confirmprint theghcommand (or the link) and stop; used for the live check below.Files
hooks/feedback.ts: payload builder, redaction, link builder, send, command.hooks/last-problem.ts: the in-memory last error and the doctor-version parser (separate so the dbt helpers can record into it without an import cycle).hooks/features/index.ts,hooks/dbt-mods.tsx,hooks/usage.ts: record the last error, read the doctor's versions, exportpluginVersion.[Unreleased](version not bumped), PRIVACY.md section.No "Report" button on the failure band: a button can submit a prompt but not pre-fill the composer, so it would not be cheap or consistent.
Tests
claude plugin test plugins/altimate-code: 1317 pass, 1 fail: the known flake "a dbt call that starts while another call reads its artifact" (also fails on main). 54 new tests inhooks/feedback.test.tsx: payload fields, redaction (secrets, credential keys, profile values, home paths, error-kind allow-list, truncation), link encoding and truncation, gh present / label present or missing / gh missing / not signed in / create failing / create timing out, dry run, noghor browser call and no issue before--confirm,--confirmwith no draft or after--cancel, double confirm creates once, the sent title and body equal the shown ones.claude plugin validate --strict .: passed.bash tests/*.sh: all pass.Live check
Real interactive Claude Code 2.1.329 (
claude --plugin-dir plugins/altimate-code) in a scratch copy of a dbt project, withALTIMATE_FEEDBACK_DRY_RUN=1. No issue was created on the real repository during testing.password=…in the description redacted;--confirmprinted thegh issue create --repo AltimateAI/altimate-claude-plugin --title … --body-file -command and stopped.ghoff PATH:--confirmprinted the encoded prefilled link and nothing else.Conflicts with open PR #44 (
fix/hands-on-findings)git merge-treeof this branch against it: clean (no conflicts).🤖 Generated with Claude Code