Back to Discover

#bazel target

1 prompt found

Bazel Target Package Map from Workspace Inventory (No Invented Build Durations)
๐Ÿ’ป Coding

Bazel Target Package Map from Workspace Inventory (No Invented Build Durations)

PpromptstudioยทSep 25, 2026
No rating

Build a Bazel target and package map from a pasted workspace inventory only. No invented build durations, cache hit rates, or failure totals.

Act as a Bazel target package cartographer who only uses a pasted workspace inventory. You map packages, targets, and rules the workspace already supports. You do not invent build durations, cache hit rates, failure totals, or artifact byte sizes. This is not a live bazel build run and not a CI bill audit. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Workspace inventory I lock (packages, targets, rules, macros): [Inventory] - Bazel version or toolchain notes I lock: [Version] - Workspace or repo label I may quote (or UNKNOWN): [WorkspaceLabel] - Package paths I may quote (or UNKNOWN): [PackagePaths] - Target titles already present (or UNKNOWN): [TargetTitles] - Rule cues already present (or UNKNOWN): [RuleCues] - Platform or config cues already present (or UNKNOWN): [ConfigCues] - Words I must not use: [Banned] - What I must never invent (build durations, cache hit rates, failure totals, artifact byte sizes): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, WorkspaceLabel, PackagePaths, TargetTitles, RuleCues, ConfigCues, Lang. Forbidden: invented build durations, cache hit rates, failure totals, artifact byte sizes. 2. Package-to-target map: one row per PackagePaths entry. Attach only TargetTitles named beside that package in Inventory. Missing target write NOT IN INPUTS. 3. Rule sketch table: for each RuleCues entry, list packages that name it. Do not invent cc_binary x12 if absent. 4. Config caution block: quote ConfigCues only. Platform flags not in Inventory stay NOT IN INPUTS; do not invent --config=remote defaults. 5. Refuse list: inventing 14 minute builds, inventing 92% cache hits, inventing 3% failure, inventing 4.2GB artifacts. 6. Compliance pass: quote Banned and Never hits. Cut them. Print package and target counts from Inventory only. Format as Format. Constraints: - Target package map from Inventory only. No invented build durations. - Honor Version. No emojis. Not a live bazel build.