Skip to content

feat: /altimate-feedback drafts a GitHub issue and files it only after you confirm - #45

Open
hkaltai wants to merge 23 commits into
mainfrom
feat/feedback-command
Open

hkaltai wants to merge 23 commits into
mainfrom
feat/feedback-command

Conversation

@hkaltai

@hkaltai hkaltai commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

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. It shows the exact title and body, and creates the issue only after /altimate-feedback --confirm.

It is a mod command, like /defer or /dbt-show. It is not named /altimate-code:feedback or /feedback: Claude Code's own /feedback takes that name over a plugin's, and a mod cannot register a namespaced name. Both were tried live.

Behaviour

  1. /altimate-feedback <text> shows the draft (title and body). Nothing is sent, and neither gh nor the browser is started. Run without text, it says how to start.
  2. /altimate-feedback --confirm creates exactly what was shown:
    • gh installed and signed in (gh auth status --hostname github.com): runs gh issue create --repo github.com/AltimateAI/altimate-claude-plugin --title … --body-file - with the body on stdin, and prints the created URL. It adds --label feedback only when the repository has that label. Every gh call names github.com, so a GH_HOST set for another GitHub cannot redirect it.
    • Otherwise (gh not installed, not signed in, or failing): prints a prefilled issues/new?title=…&body=… link and opens it with open on macOS or xdg-open on Linux. On Windows and WSL the link is only printed. The link is URL-encoded and kept under 7000 characters; a longer body is cut on a character boundary, with a note. The plugin never signs in.
    • A gh call that times out is not retried, since the issue may already exist.
  3. --cancel discards the draft. A new description replaces it. The draft lives in memory only and ends with the session. A description that only contains the word --confirm is treated as a description. Two confirmations, even at the same moment, create one issue.

What is attached, and what is removed

  • Attached:

    • plugin version
    • altimate-code version and binary name, never its path
    • Claude Code version and OS
    • dbt-core, adapter and Python versions when the dbt doctor has run. Versions are parsed out of the doctor's checks; its text is never included.
    • the plugin's on/off settings (allow-listed), each read the way its own feature reads it, so a string 'true' or an unset default is reported as it takes effect
  • --with-error (opt-in) adds the kind of the last plugin error. Only what a fixed list recognises is kept, and it is kept at the moment the error happens:

    • the error type (for example Database Error)
    • errno or SQLSTATE codes
    • the plugin's own host-call names
    • a few fixed phrases

    The message itself is never stored.

  • The description keeps the user's own words. Before it is cut to length, the whole text is redacted, best effort. The user sees the exact result before anything is sent. What is cut:

    • the dbt profile's secret values
    • known token formats: GitHub, OpenAI-style sk-, AWS keys, Slack, JWT, Databricks, Google API, dbt Cloud, Slack webhooks, private keys
    • Authorization and Bearer values
    • user:password@ in URLs
    • connection-string passwords: quoted, braced or multi-word
    • values of credential keys:
      • a key counts as a credential when it ends in a credential word (DBT_PASSWORD, client_secret) or has one as a whole part of its name (SECRET_KEY, DBT_ENV_SECRET_PG)
      • forms covered: key=value, key: value, JSON (escaped at any depth), Ruby =>, YAML block, plain, multi-line and quoted values, YAML flow mappings, shell-escaped values, and command-line flags (--password "…")
    • long key-like runs
    • paths under the home folder, including ~/…
  • Speed: every rule is linear, or reads a bounded length from each start, so a description at the 100,000-character limit is redacted in well under a second.

  • ALTIMATE_FEEDBACK_DRY_RUN=1 makes --confirm check gh auth status, print the gh command (or the link) and stop.

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. It is a separate file so the dbt helpers can record into it without an import cycle.
  • hooks/features/index.ts, hooks/dbt-mods.tsx, hooks/usage.ts, hooks/altimate-cli.ts: record the last error, read the doctor's versions, export pluginVersion and the altimate binary names.
  • hooks/dbt-mods-core.ts: a single-quoted YAML form (doubled apostrophes) of profile values, for redaction.
  • README section, CHANGELOG under [Unreleased] (version not bumped), PRIVACY.md section.

There is no "Report" button on the failure band: a button can submit a prompt but cannot pre-fill the composer.

Tests

  • claude plugin test plugins/altimate-code: 1330 pass, 1 fail. The failure is the known timing flake "a dbt call that starts while another call reads its artifact" in features/runs.test.tsx, which this PR does not touch; under load "a line with a great many dbt calls is not read call by call" (features/cost.test.tsx) can flake too.
  • hooks/feedback.test.tsx covers:
    • payload fields, and the settings as they take effect
    • redaction: every form listed above, profile values, home paths, the error-kind allow-list, truncation, and words around a cut value kept
    • a timing test of about 35 adversarial shapes at the read limit
    • link encoding and truncation
    • gh present, label present or missing, gh missing (macOS, Linux, Windows), not signed in, create failing, create timing out, host-pinned gh calls
    • dry run
    • no gh or browser call before --confirm
    • --confirm with no draft, after --cancel, or after the session ends mid-draft
    • double and simultaneous confirm
    • the sent title and body equal the shown ones
  • claude plugin validate --strict .: passed.
  • bash tests/*.sh: all pass.

Live check

Ran in real interactive Claude Code 2.1.329 (claude --plugin-dir plugins/altimate-code) in a scratch copy of a dbt project, with ALTIMATE_FEEDBACK_DRY_RUN=1. No issue was created on the real repository.

  • The draft: the home path and password=… in the description were redacted. --confirm printed the gh issue create command and stopped.
  • gh off PATH: --confirm printed the encoded prefilled link and nothing else.

Conflicts with open PR #44 (fix/hands-on-findings)

git merge-tree of this branch against its current head: one content conflict in plugins/altimate-code/hooks/dbt-mods.tsx, in the import block: both PRs add an import on the same line. Keeping both imports resolves it. CHANGELOG, README and dbt-mods-core.ts merge cleanly. Whichever PR merges second needs a small manual resolution.

🤖 Generated with Claude Code

… 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

gitguardian Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 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>
@hkaltai hkaltai changed the title feat: /altimate-code:feedback drafts a GitHub issue and files it only after you confirm feat: /altimate-feedback drafts a GitHub issue and files it only after you confirm Nov 20, 2026
hkaltai and others added 14 commits November 20, 2026 22:18
…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>
… number of times

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mand as it is registered

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hkaltai
hkaltai force-pushed the feat/feedback-command branch from cdbf851 to 80d8231 Compare November 23, 2026 05:36
hkaltai and others added 5 commits November 23, 2026 12:09
…oted values by depth, pin gh to github.com, and report settings as in effect

- rules that may fail after reading far start only where their run starts or read a bounded length
- YAML block headers with the indentation indicator first, values ending at a sibling key, tab-indented values, and quoted values continued on deeper lines
- a quoted password ends at its closing quote; an open quote is cut to the end of its line only
- a URL password is cut whatever precedes the scheme
- gh label list and issue create name github.com, so GH_HOST cannot redirect them
- the settings line reads each setting as the feature it switches reads it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… a token rule only where its run starts, and cut bare Databricks and Google keys

- a plain value's indented continuation lines, and an empty value's indented lines, are cut with it
- the JWT rule starts only where its run starts, so a long run is not rescanned from every position
- Databricks personal access tokens and Google API keys are cut without a key name
- the altimate binary names come from altimate-cli.ts
- tests for Windows link-only, a session ending while a draft is built, simultaneous confirmations, and the flag alone

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mand-line flags, dbt Cloud tokens and Slack webhooks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…very keyed value one way

- a key is a credential when it ends in a credential word or holds one as a part of its name (SECRET_KEY, DBT_ENV_SECRET_PG, encryption_key)
- `key=value`, `key: value`, YAML flow mappings (the value may start on the next line) and command-line flags share one value reader: quoted, shell-escaped or one word
- the next key is looked for after a value that was cut, so a long run of keys is read once
- connection-string values are read at most 256 characters from each key

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, and bound a quoted home path's read

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hkaltai

hkaltai commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

review-loop: APPROVED at 8bb31d4 (reviewers: Claude CLI, Codex CLI)

Non-blocking follow-ups noted by the reviewers:

  • A YAML flow value that holds a bracket and a space ({password: p[a]ss w0rd}, which is not valid YAML) keeps the words after the bracket.
  • The redaction mask can start one space early when a flow value starts with a bracket on the next line.
  • No tests yet for these gh and browser failures: gh label list failing or returning malformed JSON, the browser failing to launch, gh issue create throwing an error that is not a timeout, and gh issue create succeeding without printing an issue URL.

@hkaltai
hkaltai marked this pull request as ready for review November 23, 2026 11:23
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kilo-code-bot

kilo-code-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: 4 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 2
SUGGESTION 2
Issue Details (click to expand)

WARNING

File Line Issue
plugins/altimate-code/hooks/feedback.ts 103 A URL password that contains : (e.g. postgres://bob:pa:ss@db.internal/x) is not cut at all, so the whole password is filed in the public issue
plugins/altimate-code/hooks/feedback.ts 528 The sending guard sits after the !pending check and never fires for a second confirm during a create; the user is told there is no draft, which invites a duplicate issue

SUGGESTION

File Line Issue
plugins/altimate-code/hooks/feedback.ts 99 \s* in the authorization rule crosses newlines, so a line ending in authorization: masks the whole next line
plugins/altimate-code/hooks/feedback.ts 388 - dbt: not checked this session is printed when the doctor ran but produced no parseable version
Files Reviewed (11 files)
  • PRIVACY.md - 0 issues
  • plugins/altimate-code/CHANGELOG.md - 0 issues
  • plugins/altimate-code/README.md - 0 issues
  • plugins/altimate-code/hooks/altimate-cli.ts - 0 issues
  • plugins/altimate-code/hooks/dbt-mods-core.ts - 0 issues
  • plugins/altimate-code/hooks/dbt-mods.tsx - 0 issues
  • plugins/altimate-code/hooks/features/index.ts - 0 issues
  • plugins/altimate-code/hooks/feedback.test.tsx - 0 issues
  • plugins/altimate-code/hooks/feedback.ts - 4 issues
  • plugins/altimate-code/hooks/last-problem.ts - 0 issues
  • plugins/altimate-code/hooks/usage.ts - 0 issues

Fix these issues in Kilo Cloud

Reviewed at commit 883920da498fa736978f1f7e852aa441451e0a0a (merge of origin/main into feat/feedback-command). The command name, gh host pinning, the settings-as-in-effect reads, the dry run, the truncation note and the README/PRIVACY/CHANGELOG wording match the implementation; the redaction rules are linear on the adversarial shapes covered by feedback.test.tsx. Inline comments could not be posted (the review API call was rejected by the sandbox twice), so the four findings are listed here with their file and line.


Reviewed by deepseek-v4.1-flash-1017 · Input: 278.7K · Output: 60.5K · Cached: 3.5M

@sahrizvi sahrizvi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consensus review (panel: Claude and Codex): request changes on one item, M1. Everything else is minor or nit.

Reviewed head 883920d (8bb31d4 merged with current main).

Verified as claimed:

  • Sent text: a live claude -p session with a fake gh/open on PATH sent stdin and --title byte-identical to the shown draft, with $(whoami), --label x, #, &, +, emoji and newlines in the text.
  • Host pin: every gh call is host-pinned. With the real gh, GH_HOST=<bogus> did not redirect --repo github.com/…, and it did redirect the unprefixed form, so the pin is needed.
  • One issue: two confirmations create one issue, and --cancel, replace and session end drop the draft.
  • Attached facts: these carry no free text, and --with-error keeps only listed kinds. Tested with a SQL compile error naming a relation, ENOENT with a home path, and non-Error values.
  • Redaction: 184 realistic inputs, covering profiles.yml for snowflake, bigquery, databricks, postgres, redshift, duckdb, trino and sqlserver, .env, dbt debug, tracebacks, URLs, --vars, tokens and PEM. Every common shape was cut.
  • Speed: the worst 100K shape took 20 ms.
  • Tests: feedback.test.tsx is 67/67. The full suite is 1330/1; the one failure is the known runs.test.tsx flake, which passes alone. tests/*.sh all pass. Mutations of the keyed rule, the YAML spans, the URL rule, the home spans and both host pins are each caught.

Blocking: M1 (major). Drafting starts altimate --version before --confirm. It is local and harmless, and the PR's own claim ("neither gh nor a browser") holds, but this review's bar is "no process before confirm". Reusing the version the plugin reads at session start clears it.

Remaining minors, none blocking:

  • m1, a real gh timeout opens the link: edge, needs a 60 s hang.
  • m2, multi-line .env and $'…' quoting: exotic.
  • m3, another account's home path: edge.
  • m4, an unspaced quoted-key flow value: exotic.
  • m5, an unencoded @ in a URL password: edge.
  • m6, a braced PWD over 256 characters: exotic.
  • m7, m10, m11, over-redaction: no leak.
  • m8, a stale error kind after /clear: edge, kind only.
  • m9, the draft does not say "public" or the account: wording.
  • m12, exotic token shapes: exotic.
  • m13, a doctor version suffix or adapter name: edge.
  • m14, WSL /mnt/c/Users: WSL.

The nits and conflict notes are in a separate comment.

async function altimateFacts($: EngineInterface): Promise<Facts['altimate']> {
for (const name of CLI_NAMES) {
try {
const answer = await $.process.run([name, '--version'], { timeoutMs: 10_000 })

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

major (M1): a process starts before --confirm. Drafting runs altimate --version (then altimate-code --version) to fill the version line. It is local and read-only, and it is not gh or a browser, so the PR's own claim holds. But this review's bar is "nothing is started before you confirm". The plugin already runs the same probe at session start (altimateCodeNotice, altimate-cli.ts:83). Caching that answer and reading it here would clear this. Seen live: a draft-only run logged altimate --version and nothing else.

return linkAnswer($, draft, `gh could not create the issue (${(await reasonOf($, made.stderr || made.stdout)) || `exit ${made.exitCode}`}).`, dry)
} catch (error) {
// A call that timed out may have created the issue: it is not retried.
if (/time(d)? ?out/i.test(String(error))) return 'gh took too long to answer; the issue may have been created. Check the repository\'s issues before trying again.'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor (m1): the real runtime's timeout error does not match /time(d)? ?out/i. Claude Code 2.1.329 throws HooksError: altimate-code: $.process.run(gh) aborted: still running after 60000ms. Live, with a fake gh sleeping 75 s on issue create, the answer was "gh could not create the issue (…)" and the prefilled link was opened. The issue may already exist, so submitting the link files a duplicate. The test fakes process timed out after 60000ms, which is why it passes. Matching still running after (or any thrown error once the create has started) would fix it. Not blocking: it needs gh to hang 60 s, and a duplicate needs the user to press Submit.

// A value after a credential key: a quoted value to its own closing quote (a backslash escape or a doubled quote is inside it; so is a
// JSON-escaped quote, to the escaped quote of the same depth; a quote left open runs to the end of its line, never past it) or the rest of
// the word, a shell-escaped space (`correct\ horse`) included, up to a `;` that starts the next `key=` field. Read from where the key ends.
const KEY_VALUE = /(?:"(?:[^"\\\n]|\\.|"")*(?:"|(?=\n)|$)|'(?:[^'\\\n]|\\.|'')*(?:'|(?=\n)|$)|(?<!\\)(\\+)"(?:(?!(?<!\\)\1")[^\n])*(?<!\\)\1"|(?:\\[^\n]|[^\s;\\]|;(?!\w+=))+)/y

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor (m2), exotic shape: a multi-line double-quoted .env value, PASSWORD="first\nsecond-secret", becomes PASSWORD=‹redacted›\nsecond-secret". ANSI-C quoting, DBT_PASSWORD=$'alpha beta' dbt debug, becomes DBT_PASSWORD=‹redacted› beta' dbt debug. Single-line .env forms (quoted, export, comments, spaces) all redact.

function homeSpans(text: string, homes: readonly string[]): Span[] {
const spans: Span[] = []
// `~` stands for the home folder whoever the user is, so it counts only before a separator.
const forms = [...homeForms(homes).map(form => escapeRegex(form)), '(?<![\\w.~/\\\\-])~(?=[\\\\/])']

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor (m3), edge input: only HOME/USERPROFILE and ~/ count as home. With HOME=/Users/alice, the paths /Users/bob/work/acme/models/payroll.sql, /home/bob/private/x.sql and C:\Users\Bob\x.sql (on macOS) survive whole. The user's own home is always cut. A generic /Users/<name>/, /home/<name>/ and <drive>:\Users\<name>\ rule would also cover logs pasted from another account.

const escapeRegex = (text: string) => text.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')

/** The home folder forms to look for, from the values of HOME and USERPROFILE. */
function homeForms(homes: readonly string[]): string[] {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor (m14), WSL: on WSL, HOME is /home/<name>, so the Windows profile seen as /mnt/c/Users/<name>/… is not cut.

* so a secret that straddles the cut is gone whole. The person's other words are kept.
*/
export function cleanDescription(text: string, homes: readonly string[]): string {
const clean = redactAll(plain(text).trim(), homes)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor (m11), over-redaction: the .trim() before redaction strips the first line's indentation. A pasted fragment password: x\n role: R then has its key at column 0, so role: R is read as a continuation and cut. Redacting the untrimmed text and trimming afterwards avoids it.

const SIBLING_KEY = /^[ \t]*(?:-[ \t]+)?["']?[^\s:"']+["']?[ \t]*:(?:[ \t]|$)/

/** Each pattern's group 1, when it has one, is text that stays (a key, a scheme); the rest of the match is cut. */
const SECRET_PATTERNS: RegExp[] = [

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor (m12), exotic shapes: these survive: Stripe sk_live_… (the sk- rule wants a hyphen), GitLab glpat-…, a bare 40-character AWS secret holding /, Azure SAS sig=…, mysql -pPASS, <password>x</password>, pw=x, and "my password is X". This is fine as best effort. The first three are cheap to add.

return [
`Draft issue for ${REPO}. Nothing has been sent.`,
'',
`Title: ${draft.title}`,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor (m9), wording: the preview does not say the issue will be public, or which GitHub account files it. README and PRIVACY do say both. gh auth status --hostname github.com already prints the account ("Logged in to github.com account "). Showing that at confirm, or a line such as "Public issue on github.com/AltimateAI/altimate-claude-plugin, filed as you" in the draft, would close it.


function failed($: EngineInterface, id: string, part: string, error: unknown) {
try {
noteProblem(`${id} ${part} failed`, String(error))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor (m8), timing edge: an attempt that rejects after /clear still calls noteProblem, after feedbackSessionEnd has run forgetProblem. A later --with-error then attaches the previous conversation's error kind. It is the kind only, never the message. A generation check, like the draft's epoch, would drop it.

/** The versions the dbt doctor found, when it has run. */
export type DoctorFacts = { dbtCore?: string; adapter?: string; python?: string } | null

const VERSION = /^\d+(?:\.\d+){0,3}(?:[-+][0-9A-Za-z.+-]{1,40})?$/

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor (m13), edge: asVersion allows a build suffix of up to 40 [0-9A-Za-z.+-] characters (1.8.2-acmecorp.build passes), and the adapter name is any ^[a-z][a-z0-9_]{1,30}. Free text can only come from a custom-built dbt or adapter. Limiting the suffix to PEP 440 / semver pre-release forms (a1, rc2, b3, dev4, post1) would close it.

@sahrizvi

Copy link
Copy Markdown
Collaborator

Consensus review (Claude and Codex): nits and findings not tied to a diff line. The formal review with inline comments is above.

Nits

  • n1: the repository has no feedback label today; gh label list shows only GitHub's defaults. So --label feedback is never added until a maintainer creates the label.
  • n2: not claimed, and so still in the draft: email addresses, IPs, warehouse hostnames (abc12345.snowflakecomputing.com), account identifiers and subdomains in URLs. The README says the rest stays as written, so this is documented.
  • n3: the title is cut after redaction and can split a mask. Seen live: Feedback: … in /Users/x/a and <path un….
  • n4: flow-mapping redaction swallows the comma: {password: x, start: 2024} becomes {password: ‹redacted› start: 2024}.
  • n5: the Authorization rule (feedback.ts:99) takes the rest of the line, so curl -H "Authorization: Token x" https://cloud.getdbt.com/api loses the URL.
  • n6: claude plugin validate --strict plugins/altimate-code exits 1 on ICON_MISSING. It does so at base too, so this is the newer validator, not this PR.

Merge-tree against the open PRs

Test gap: the timeout test fakes process timed out after 60000ms. The Claude Code 2.1.329 runtime says aborted: still running after 60000ms instead (see m1).

@sahrizvi sahrizvi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consensus review (Claude lead + Codex): approve. This supersedes the CHANGES_REQUESTED on 883920da49.

The one major is withdrawn. It applied the review's rule "any process started before --confirm blocks" literally to the draft step running altimate --version (then altimate-code --version) so the draft can show the CLI version. That is a local read-only call with no network, not gh or a browser, and the user sees the result before anything is sent. The rule was meant for anything that sends; this is informational, not a block. Reusing the version read at session start would still be a tidy follow-up.

What the review confirmed: nothing reaches gh or a browser before --confirm; the sent title and body match the shown draft byte for byte; common profiles.yml, .env and connection-URL credentials and the user's own home paths are cut; no error message or project free text reaches the attached facts; GH_HOST cannot redirect the calls; the slowest 100,000-character shape redacts well under the limit; no real issue was created during review.

The 14 minors and the nits stay as posted in the inline comments and the combined comment and do not block. The one worth doing before release: the timeout check /time(d)? ?out/i never matches the runtime's actual abort error, so a gh issue create that hangs past 60 s falls through to opening the prefilled link, which can file the issue twice. The preview could also name the GitHub account gh will file under.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants