Cutting bloat in document-producing agents (BRD/PRD/ADR Builders and more) #1503
Replies: 3 comments
|
Thank you for the proposal, Raymond. A little piece of doubt that I have is with the principal of "Single source of truth per fact". Some sources may be unreliable. Without cross-checking them, it is easy to pick possibly incorrect information and then propagate or multiplicate it. Shall we OK two sources, maybe? [This is not a hard objection, rather a suggestion] |
|
Thanks Raymond Nassar (@raymond-nassar) — this is a real problem and the proposal is a strong start. I want to widen the frame before we lock the shape, because a scan of our own agents shows the pain is bigger (and more interesting) than intra-document verbosity, and one part of the proposed cure is risky exactly where the pain is loudest. "Bloat" is actually four different problems
The current proposal (a post-generation Scope: decision-grade documentsProposed membership test: if a doc drives a business/policy/product decision, it must be human-reviewed — and bloat matters because it degrades a reviewer's ability to sign off. That boundary pulls in BRD/PRD, ADR, and the planner assessments (RAI/Security/SSSC/Privacy/Accessibility), and leaves pure execution artifacts (backlog items, RPI scratch) out — except where they're the source of driver 2. How bad is it (spec-level scan of our repo)
Caveat: this is design/spec-level, not measured. Numbers need a follow-up pass over real session outputs — flagging that so we don't overclaim. The collision to be honest aboutThe planner assessments are where people complain loudest — and their structure is mandated by the compliance frameworks they map to. So Proposal: convention-first, prompt-as-backstopKeep the reusable core, but move the center of gravity to generation time and add a guardrail.
Guardrail (non-negotiable): never point line-reduction at standards-mandated / compliance sections. Compress narrative prose; never compliance structure. Answers to the open questions
On eugeneboms's "single source of truth" concernGood catch — and it resolves cleanly by scoping to two different axes:
Both survive; they just govern different things. Suggested next stepA small empirical pass: measure line/duplicate-fact counts on 2-3 real planner + backlog outputs to replace "spec-level" with numbers, then pilot O1+O2 on the Security→backlog path (highest driver-4 payoff, lowest effort since stable IDs already exist). |
|
As a heads up ... this is on going work right now as we do the skills migration for 4.0. So far we've cut upwards of 20 redundant assets that were being produced that served no human or process handoff. I'll have an update on the total gains soon. |
Uh oh!
There was an error while loading. Please reload this page.
Cutting bloat in document-producing agents (BRD/PRD Builder)
Problem: Document-producing agents output long, redundant docs. Same content repeats across problem/value/exec-summary, stakeholder/persona/role tables, architecture prose+diagram+table, risks/dependencies, etc.
Proposal: Generalize the PRD Builder prompt into a doc-type-agnostic pattern. Tested on a customer PRD; sharing for hve-core.
Changes
docType+targetReduction— one prompt, many doc shapes.FR-/NFR-/OQ-withDEC-,RISK-,THREAT-,AC-so downstream agents can parse/reference.targetReduction.Open questions
doc-conciseness-review.prompt.md
All reactions