Skip to content

docs: PRIVACY.md covers the dbt Power User features - #48

Open
hkaltai wants to merge 11 commits into
mainfrom
feat/privacy-mods-section
Open

hkaltai wants to merge 11 commits into
mainfrom
feat/privacy-mods-section

Conversation

@hkaltai

@hkaltai hkaltai commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

What changes

PRIVACY.md gets a "dbt Power User features" section, a short-version bullet, a new "Last revised" date and a dated entry in "Changes to this policy". The section says, from what the hooks do:

  • Model and column text in Claude's context: the model context note (description cut at 300 characters, up to 40 columns with type, tests and a description cut at 160) and team comments (thread position, highlighted text, the last 6 messages with author names, cut at 600 characters), both reaching the model provider; commentsInContext keeps comments out; replies and resolves are sent only on a button press.
  • Run records: what the /runs history stores (fields, 50 runs per project, about 1 MB, secret handling in the stored command), where (Claude Code's plugin store), that it has no expiry or clear button and how to remove it.
  • Unattended --allow-write runs: which features pass it without asking (cost estimate, project health, SQL graph, CTE timing, comment posts) and when each runs.
  • A table of each feature (cost check, health, SQL graph, CTE timing, /to-model, defer, lineage pane) with what it reads or runs and where it goes, including the SQL graph's call to the Altimate backend and the lineage pane's table name sent to a connected table_lineage MCP server.
  • The "Direct local data tools" sentence moves to the start of "Data flows for workspace tools", where it belongs.

Documentation only; no code changes.

How it was tested

  • Each statement was checked against plugins/altimate-code/hooks/features/* and hooks/dbt-mods*.
  • claude plugin test plugins/altimate-code: all pass except, on separate runs under load, "a dbt call that starts while another call reads its artifact" and a timing test in cost.test.tsx, both of which also fail on an unchanged main.
  • bash tests/*.sh: all pass. claude plugin validate --strict .: passed.

🤖 Generated with Claude Code

What team comments, the model context, the dbt run history, the cost check,
project health, the SQL graph, CTE timing, /to-model, defer and the lineage
pane read and where it goes, the run records kept in the plugin store, and
the tools run with --allow-write without asking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hkaltai
hkaltai marked this pull request as ready for review November 23, 2026 10:07
hkaltai and others added 6 commits November 23, 2026 15:43
…ow-write, and what each feature sends

Corrects the model context trigger and frequency, the cost check's compile-time
queries, off switch and estimate lines reaching Claude, the SQL graph's request
fields, the CTE baseline query, and adds docs coverage and /propagate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the write-permission wording

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… other paths and the health artifact folder

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r project, and the sql-graph request in the summary

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ion and names the cost recheck and the CTE Tell Claude route

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 8429919 (reviewers: Claude, Codex)

Comment thread PRIVACY.md Resolved
Comment thread PRIVACY.md Resolved
@kilo-code-bot

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

Copy link
Copy Markdown

Code Review Summary

Status: 1 Issue Found | Recommendation: Merge

No new findings in 59c9c28..ca007ea. The remaining item is the previous suggestion, re-verified as still present; the author declined it in-thread, so it is informational only.

Overview

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

SUGGESTION

File Line Issue
PRIVACY.md 61 The five-tool --allow-write list is restated in README item 4, the short-version bullet (line 19), this paragraph and the feature table (plus the CHANGELOG), which invites drift. Author declined: each copy serves a different reader. Still present.
Files Reviewed (4 files)
  • PRIVACY.md - changed lines 43, 48, 51, 57, 59 checked against the code; no new issues
  • plugins/altimate-code/hooks/features/comments.tsx - read for verification: MODEL_FILE accepts .yaml, so the new extension list is correct
  • plugins/altimate-code/hooks/features/health.tsx - read for verification: isModelFile/MODEL_FILE accept .yaml, so the health trigger wording is correct
  • plugins/altimate-code/hooks/features/runs.tsx - read for verification: pairHoldsSecret exempts unquoted numbers/booleans/null, withRun keeps 50 runs per project per session folder, Re-run/Re-run failed call prompt.fill
  • plugins/altimate-code/hooks/lineage.tsx - read for verification: Ask Claude (a) submits the model and, when set, column name

Fix these issues in Kilo Cloud

Previous Review Summaries (2 snapshots, latest commit 4c6da96)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 4c6da96)

Status: 1 Issue Found | Recommendation: Address before merge

Overview

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

SUGGESTION

File Line Issue
PRIVACY.md 61 The five-tool --allow-write list is restated in README item 4, the short-version bullet (line 19), this paragraph and the feature table, which invites drift.
Files Reviewed (5 files)
  • PRIVACY.md - 1 issue (previous line 43 finding fixed by 4c6da96; new wording checked against features/cost.tsx and features/comments.tsx)
  • plugins/altimate-code/README.md - no new issues
  • plugins/altimate-code/hooks/features/cost.tsx - read for verification: limitBytes <= 0 skips only the automatic gate, /scan-cost still estimates
  • plugins/altimate-code/hooks/features/comments.tsx - read for verification: commentsInContext off only sets inContext, polling continues
  • plugins/altimate-code/.claude-plugin/plugin.json - read for verification: no full off switch for these features

Fix these issues in Kilo Cloud

Previous review (commit 8429919)

Status: 2 Issues Found | Recommendation: Address before merge

Overview

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

SUGGESTION

File Line Issue
PRIVACY.md 43 commentsInContext and maxScanBytes are presented as off switches although both only limit the feature (polling and /scan-cost continue).
PRIVACY.md 61 The five-tool --allow-write list is duplicated in README item 4, line 19, this paragraph and the feature table, which invites drift.
Files Reviewed (4 files)
  • PRIVACY.md - 2 issues
  • README.md - no issues (write-permission wording verified against the five write: true call sites)
  • plugins/altimate-code/CHANGELOG.md - no issues
  • plugins/altimate-code/hooks/altimate-cli.ts - no issues (doc comment only)

Fix these issues in Kilo Cloud


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

…its, not off switches

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 4c6da96 (reviewers: Claude, Codex)

@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) and Codex (independent pass, then cross-check). Requesting changes for one statement that the code contradicts.

Blocking

  • PRIVACY.md:48: "Claude has no way to post" is false. Claude can post a comment reply or resolve through altimate-code's CLI with --allow-write after the person approves it. Only the MCP route refuses. A user who asks Claude to reply to a comment would hit this in normal use. It is a one-sentence fix.

Also open

  • PRIVACY.md:59 (major, edge case): a --vars secret written as a bare number ({password: 123456}) is recorded. Fix the wording or the check.

Minors that do not block

  • 50 runs counted per session folder, not per project: an edge case, and the 1 MB cap holds.
  • The lineage ask Claude prompt is not named in its row: it only sends identifiers and needs a press.
  • Re-run filling the prompt: a draft of Claude's own command.
  • End-of-task files under target/.altimate-lineage/: existed before this PR, stay on the machine.

Everything else I checked holds against the code, including:

  • the model context numbers (300 / 40 / 160);
  • the comments limits (6 messages, 600 characters, 8 threads, about 6,000 characters; poll 900 s, 30 to 86,400);
  • the five write: true callers, the same five the policy and README list;
  • the SQL graph request (POST /dbt/v3/sql_lineage with compiled_sql, model_info, model_dialect, session_id);
  • the table_lineage / databricks_table_lineage MCP call (only for a model the person asked for);
  • the usage event list, and the store files (mode 0600 on Claude Code 2.1.329).

The hooks/altimate-cli.ts hunk is a comment only.

Checks:

  • claude plugin test: 1263 pass, 1 fail at both head and base. The failing runs test is the same at base, so this PR did not cause it.
  • tests/*.sh: 8/8 pass at both. pytest: 65 pass at both.
  • validate --strict fails at both on ICON_MISSING only.

Nits and the merge-tree results are in a separate comment.

Comment thread PRIVACY.md Outdated
| Feature | What it reads or runs | Where it goes |
|---|---|---|
| **Model context** (a helper) | When Claude reads a model's `.sql` file, a note built from the project's `target/manifest.json`: the model's name, materialization and relation, its parents and children and how deep they go, its tags, its description (cut at 300 characters), its tests, and up to 40 columns with their type, tests and description (each cut at 160 characters). The descriptions are whatever your dbt docs say. The note is framed as data, not instructions. | It goes with the file once per model, manifest revision, turn and agent (a subagent has its own), each time Claude reads that `.sql` file again in a new turn, and reaches your model provider. A toast on your screen shows the model's name and materialization, with the counts of columns and tests and the depth upstream and downstream. Nothing else is sent. |
| **Team comments** (`/comments`, the band, Claude's context) | The dbt project's name (the `name:` of `dbt_project.yml`) is passed to altimate-code's `docs_share_comments` tool, which asks the Altimate service you are signed in to for the open comment threads on your team's shared dbt docs. It asks at session start (or when Claude first reads a model of a project below the session folder) and, in an interactive session, every `commentsPollSeconds` (900 by default, 30 to 86400); a session with nobody at the prompt asks once. When the service answers that you are signed out or refused, it stops polling until you press Refresh or open `/comments`; reading a file of another dbt project still asks once for that project's threads. | When Claude reads or edits a file that has open threads (a model's `.sql`, `.yml` or `.py`, a `.md` or a `.csv`), one block names each thread's line, column or field, highlighted text, and its last 6 messages with the authors' names and text (a message cut at 600 characters, at most 8 threads and about 6,000 characters), and tells Claude that other people wrote it. That text enters Claude's context and reaches your model provider. The plugin setting "Team comments in Claude's context" (`commentsInContext`) off keeps it out of Claude's context; the pane still shows it. The threads and your drafts are kept in the session only, not in the plugin's store. A reply or resolve is sent only when you press its button in the `/comments` pane: the reply text and the thread's ids go to the Altimate service, posted under your name. Claude has no way to post. |

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 (real case, blocks): "Claude has no way to post" is not true. The plugin's own posting path is button-only, but Claude can post a reply or resolve through altimate-code's CLI. docs_share_comments is on the tool run allow-list (altimate-code tool-cli/allow-list.ts:130). With --allow-write the CLI's askFor lets its docs_share_comments permission through (tool-cli/permissions.ts:36-49). The tool then posts under the signed-in user's name (tools/docs-share-comments.ts:229-300). The threads' ids come from a read-only list call. The skill tells Claude to ask before adding --allow-write (skills/altimate-code/SKILL.md:113), so this needs the person's yes. But a person who asks Claude to "reply to that comment" gets a post the policy says cannot happen. Only the MCP route refuses it: forceReadOnly is set without write (mcp-server/adapter.ts:460-475).

Suggested wording: "The plugin posts only when you press its button. Claude can also post a reply or resolve through altimate-code's CLI (docs_share_comments with --allow-write) when you ask it to and approve the write; the plugin's MCP server refuses it."

Comment thread PRIVACY.md Outdated
| **Docs coverage and `/propagate`** | After Claude writes a column description in a model's YAML, `impact_analysis` reads the manifest locally to find the downstream columns that carry the same value; after Claude edits a model's SQL, `dbt_docs_coverage` reads the manifest for the model's undocumented columns. The offered copies are held for the session. | A line under the edit names the models and columns and goes to Claude. When you press Apply in the `/propagate` pane, one prompt naming those models and columns (with their unique ids), the project folder and the YAML file is submitted to Claude and reaches your model provider; it carries names and ids, not the description text, which Claude reads from the YAML file. |
| **Lineage pane and edit impact** | `dbt_lineage` and `impact_analysis` read the manifest locally; the pane shows the answers. A line for what an edit reaches downstream goes to Claude with the edit's result (also shown to you when `show_edit_impact` is on). | That line names models and columns and reaches your model provider. When you ask for a model (`/lineage`, a press, or `r`), and another MCP server you connected offers a `table_lineage` or `databricks_table_lineage` tool, the model's relation name (database, schema and table) is sent to that server to draw warehouse lineage, and to no other; a model the pane only followed from Claude's reads is never sent. That server's handling is its own. |

**Run records.** Each record in the dbt runs history holds the artifact's invocation id, the dbt project folder, the command as Claude ran it (with the folder it ran in) and the `dbt retry` line that Re-run failed fills in, the dbt subcommand, the elapsed time, the completion time, the counts of nodes (total, passed, failed, skipped), and up to 50 rows, failures first, each with a node's unique id, name, status, execution time and dbt's message cut at 300 characters. Messages are dbt's, as written, and can name relations or values. A secret-looking `NAME=value` in front of the command is stored as `NAME="$NAME"`, and a command whose `--vars` name a secret, or that holds a URL with a credential in it, is not recorded. The history is kept in Claude Code's plugin store under the Claude Code configuration directory, in files only your user can read, across sessions and `/clear`, and is not sent anywhere by the plugin. It holds at most 50 runs per dbt project and about 1 MB in all; past that the oldest run of the folder with the most runs is dropped. There is no expiry and no clear button, and turning `dbt_mods` off does not delete it: to remove it, delete the plugin's store data (which also makes a new install id).

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 (edge case): "a command whose --vars name a secret ... is not recorded" does not hold when the secret's value is a bare number. pairHoldsSecret (hooks/features/runs.tsx:168) exempts numeric, boolean and null values, so that token_limit: 3 is not treated as a secret. Run through resultsInvocations, the two cases below give:

  • dbt build --vars '{password: 123456}' is recorded as cd /repo && dbt build --vars '{password: 123456}'
  • dbt run --vars '{db_pin: 482913}' is recorded verbatim

The quoted form '{password: "hunter22"}' is correctly not recorded. This needs an all-digit secret written without quotes, and it stays in the 0600 store file. Either say "names a secret with a text value", or stop exempting numbers for password-type keys.

Comment thread PRIVACY.md Outdated
| **Docs coverage and `/propagate`** | After Claude writes a column description in a model's YAML, `impact_analysis` reads the manifest locally to find the downstream columns that carry the same value; after Claude edits a model's SQL, `dbt_docs_coverage` reads the manifest for the model's undocumented columns. The offered copies are held for the session. | A line under the edit names the models and columns and goes to Claude. When you press Apply in the `/propagate` pane, one prompt naming those models and columns (with their unique ids), the project folder and the YAML file is submitted to Claude and reaches your model provider; it carries names and ids, not the description text, which Claude reads from the YAML file. |
| **Lineage pane and edit impact** | `dbt_lineage` and `impact_analysis` read the manifest locally; the pane shows the answers. A line for what an edit reaches downstream goes to Claude with the edit's result (also shown to you when `show_edit_impact` is on). | That line names models and columns and reaches your model provider. When you ask for a model (`/lineage`, a press, or `r`), and another MCP server you connected offers a `table_lineage` or `databricks_table_lineage` tool, the model's relation name (database, schema and table) is sent to that server to draw warehouse lineage, and to no other; a model the pane only followed from Claude's reads is never sent. That server's handling is its own. |

**Run records.** Each record in the dbt runs history holds the artifact's invocation id, the dbt project folder, the command as Claude ran it (with the folder it ran in) and the `dbt retry` line that Re-run failed fills in, the dbt subcommand, the elapsed time, the completion time, the counts of nodes (total, passed, failed, skipped), and up to 50 rows, failures first, each with a node's unique id, name, status, execution time and dbt's message cut at 300 characters. Messages are dbt's, as written, and can name relations or values. A secret-looking `NAME=value` in front of the command is stored as `NAME="$NAME"`, and a command whose `--vars` name a secret, or that holds a URL with a credential in it, is not recorded. The history is kept in Claude Code's plugin store under the Claude Code configuration directory, in files only your user can read, across sessions and `/clear`, and is not sent anywhere by the plugin. It holds at most 50 runs per dbt project and about 1 MB in all; past that the oldest run of the folder with the most runs is dropped. There is no expiry and no clear button, and turning `dbt_mods` off does not delete it: to remove it, delete the plugin's store data (which also makes a new install id).

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 (edge case): "at most 50 runs per dbt project" holds per session folder, not per project. The store is keyed by the session root (runs.tsx:569, :581), and withRun counts projects inside one root's list only (runs.tsx:310-318). Opening the same project from /repo and from /repo/models keeps 50 in each: I ran withRun/fitStore and got 100 runs kept for one project. The 1 MB total cap holds. Suggest "at most 50 runs per dbt project for each folder you start Claude Code in".

Comment thread PRIVACY.md Outdated
| **Raw SQL to a model** (`/to-model`) | Only when you run it: the SQL (a file you name, or your selection) and the project folder go to `dbt_map_relations`, which maps each table to a `ref()` or `source()` call. | When the command finishes it submits one prompt to Claude, holding the SQL and the replacements; that reaches your model provider. |
| **Defer and target** (`/defer`, `/target`) | `dbt_defer_state` reads the project's dbt Power User defer setting and the profile's target names. The plugin adds `--defer --state <dir>`, `--favor-state` or `--target <name>` to the dbt commands Claude runs that take them. | The plugin sends nothing for it; the setting is read through altimate-code. Claude's tool result says what the command ran as. |
| **Docs coverage and `/propagate`** | After Claude writes a column description in a model's YAML, `impact_analysis` reads the manifest locally to find the downstream columns that carry the same value; after Claude edits a model's SQL, `dbt_docs_coverage` reads the manifest for the model's undocumented columns. The offered copies are held for the session. | A line under the edit names the models and columns and goes to Claude. When you press Apply in the `/propagate` pane, one prompt naming those models and columns (with their unique ids), the project folder and the YAML file is submitted to Claude and reaches your model provider; it carries names and ids, not the description text, which Claude reads from the YAML file. |
| **Lineage pane and edit impact** | `dbt_lineage` and `impact_analysis` read the manifest locally; the pane shows the answers. A line for what an edit reaches downstream goes to Claude with the edit's result (also shown to you when `show_edit_impact` is on). | That line names models and columns and reaches your model provider. When you ask for a model (`/lineage`, a press, or `r`), and another MCP server you connected offers a `table_lineage` or `databricks_table_lineage` tool, the model's relation name (database, schema and table) is sent to that server to draw warehouse lineage, and to no other; a model the pane only followed from Claude's reads is never sent. That server's handling is its own. |

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: the lineage pane's ask Claude button (hotkey a) submits Explain the lineage of <model>[.<column>] and what a change to it would affect. straight to Claude (hooks/lineage.tsx:1750). The section's opening sentence covers it in general, but this row names every other path to Claude and not this one. It only sends identifiers and needs a press. Worth one clause.

Comment thread PRIVACY.md Outdated
| **Raw SQL to a model** (`/to-model`) | Only when you run it: the SQL (a file you name, or your selection) and the project folder go to `dbt_map_relations`, which maps each table to a `ref()` or `source()` call. | When the command finishes it submits one prompt to Claude, holding the SQL and the replacements; that reaches your model provider. |
| **Defer and target** (`/defer`, `/target`) | `dbt_defer_state` reads the project's dbt Power User defer setting and the profile's target names. The plugin adds `--defer --state <dir>`, `--favor-state` or `--target <name>` to the dbt commands Claude runs that take them. | The plugin sends nothing for it; the setting is read through altimate-code. Claude's tool result says what the command ran as. |
| **Docs coverage and `/propagate`** | After Claude writes a column description in a model's YAML, `impact_analysis` reads the manifest locally to find the downstream columns that carry the same value; after Claude edits a model's SQL, `dbt_docs_coverage` reads the manifest for the model's undocumented columns. The offered copies are held for the session. | A line under the edit names the models and columns and goes to Claude. When you press Apply in the `/propagate` pane, one prompt naming those models and columns (with their unique ids), the project folder and the YAML file is submitted to Claude and reaches your model provider; it carries names and ids, not the description text, which Claude reads from the YAML file. |
| **Lineage pane and edit impact** | `dbt_lineage` and `impact_analysis` read the manifest locally; the pane shows the answers. A line for what an edit reaches downstream goes to Claude with the edit's result (also shown to you when `show_edit_impact` is on). | That line names models and columns and reaches your model provider. When you ask for a model (`/lineage`, a press, or `r`), and another MCP server you connected offers a `table_lineage` or `databricks_table_lineage` tool, the model's relation name (database, schema and table) is sent to that server to draw warehouse lineage, and to no other; a model the pane only followed from Claude's reads is never sent. That server's handling is its own. |

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 (existing before this PR): the end-of-task band also keeps files on disk. It copies the manifest and writes last-task.json under target/.altimate-lineage/ (hooks/task-impact.tsx:127, :302-342). That file includes column SQL expressions from before and after the task. The existing "lineage report" section names only the HTML file there. The files stay on this machine. Fine as a follow-up.

Comment thread PRIVACY.md
|---|---|---|
| **Model context** (a helper) | When Claude reads a model's `.sql` file, a note built from the project's `target/manifest.json`: the model's name, materialization and relation, its parents and children and how deep they go, its tags, its description (cut at 300 characters), its tests, and up to 40 columns with their type, tests and description (each cut at 160 characters). The descriptions are whatever your dbt docs say. The note is framed as data, not instructions. | It goes with the file once per model, manifest revision, turn and agent (a subagent has its own), each time Claude reads that `.sql` file again in a new turn, and reaches your model provider. A toast on your screen shows the model's name and materialization, with the counts of columns and tests and the depth upstream and downstream. Nothing else is sent. |
| **Team comments** (`/comments`, the band, Claude's context) | The dbt project's name (the `name:` of `dbt_project.yml`) is passed to altimate-code's `docs_share_comments` tool, which asks the Altimate service you are signed in to for the open comment threads on your team's shared dbt docs. It asks at session start (or when Claude first reads a model of a project below the session folder) and, in an interactive session, every `commentsPollSeconds` (900 by default, 30 to 86400); a session with nobody at the prompt asks once. When the service answers that you are signed out or refused, it stops polling until you press Refresh or open `/comments`; reading a file of another dbt project still asks once for that project's threads. | When Claude reads or edits a file that has open threads (a model's `.sql`, `.yml` or `.py`, a `.md` or a `.csv`), one block names each thread's line, column or field, highlighted text, and its last 6 messages with the authors' names and text (a message cut at 600 characters, at most 8 threads and about 6,000 characters), and tells Claude that other people wrote it. That text enters Claude's context and reaches your model provider. The plugin setting "Team comments in Claude's context" (`commentsInContext`) off keeps it out of Claude's context; the pane still shows it. The threads and your drafts are kept in the session only, not in the plugin's store. A reply or resolve is sent only when you press its button in the `/comments` pane: the reply text and the thread's ids go to the Altimate service, posted under your name. Claude has no way to post. |
| **dbt runs** (`/runs`) | After a `dbt run`, `build`, `test`, `seed`, `snapshot`, `compile`, `retry` or `clone` Claude ran, the plugin reads the project's `target/run_results.json` through `dbt_run_results` (a local read) and records the run. | Kept locally, see below. Claude gets one line per run: the subcommand, the counts, and up to 5 failed node names, as plain identifiers. |

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: Re-run also puts the stored command into the prompt box ($.prompt.fill, hooks/features/runs.tsx:614, :642). The text only reaches the model provider if the person sends it, and it is the command Claude itself ran (with secret-named assignments now "$NAME"). Line 59 mentions this for Re-run failed only. Naming both buttons here would complete the row.

@sahrizvi

Copy link
Copy Markdown
Collaborator

Consensus review (Claude + Codex): nits and other notes for #48 at 4c6da969e4

Nits

  • PRIVACY.md:52 (SQL graph row): after an edit of a model's .sql, Claude also gets one line N CTEs · /sql-graph (hooks/features/sql-graph.tsx:318). It only carries a count.
  • PRIVACY.md:48: a reply or resolve also sends the project name again, because the tool lists the project's threads to check the ids before posting (altimate-code tools/docs-share-comments.ts:251-255). The row names only the reply text and the thread's ids.
  • PRIVACY.md:59: run-record messages do not go through the profiles.yml secret redaction the dbt helpers apply. "Messages are dbt's, as written" is accurate. Saying plainly that the helpers' redaction does not apply would stop readers from assuming it does.
  • PRIVACY.md:59: "A secret-looking NAME=value" means a secret-looking name. MYVAR=sk-abc… dbt build is stored with its value. Suggest "a NAME=value whose name looks like a secret".
  • claude plugin validate --strict ./plugins/altimate-code fails on ICON_MISSING at both head and base. This PR did not cause it.

Rejected from the panel: in round 2, Codex said posting needs no --allow-write flag. The code says otherwise. Without write, the MCP adapter sets forceReadOnly (mcp-server/adapter.ts:460-475) and the tool refuses (docs-share-comments.ts:229). So the blocking item above rests on the CLI path with --allow-write only.

Merge-tree against other open PRs

Other PR Head Conflicting files Conflicts
#47 b1d3ec9b47 none merges cleanly
#45 883920da49 PRIVACY.md, plugins/altimate-code/CHANGELOG.md the "Last revised" line, and the CHANGELOG's unreleased entries
#44 6a3d08e207 none merges cleanly
main (cd7e099366) none merges cleanly

No CI workflow or test reads PRIVACY.md.

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