Skip to content

About

Harness your AI agent with a systematic workflow to draft accurate, analyst-ready RFI responses (Gartner MQ, Forrester Wave, and similar).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

RFI Drafting System

A self-serve, constitution-governed workflow for producing accurate, analyst-ready RFI responses with an AI coding agent.

Analyst evaluations — the Gartner Magic Quadrant, Forrester Wave, IDC MarketScape, BARC Score — are high-stakes, recurring, and unforgiving. A single questionnaire can run to hundreds of questions; every answer is scored against a capability rubric, every cell is size-capped, and the finished evaluation is published. Drafting them by hand is slow; drafting them fast invites three specific, recurring failure modes:

  1. Numbers that aren't real — a figure inherited from an old template, or invented, then quietly repeated across many answers.
  2. Limits that get blown — answers that overflow the questionnaire's per-cell character caps and have to be re-cut late.
  3. Stories that don't match — one answer contradicting another, or quietly rewriting what last year's submission told the very same analyst.

This repository is a reusable system that makes all three failures structurally hard, and turns a scramble into a repeatable, reviewable pipeline the whole Product Management team can run.

It also answers general product questions — a customer thread after a demo, a sales escalation, a security review — using the same knowledge base and the same truth rules, in a format built to be forwarded. See Two modes below.

New here? Start with the setup & folder-hygiene checklist → SETUP-INSTRUCTIONS.md.

Have feedback for this system? Contact the author, Fenil Dedhia — suggestions and improvements are welcome.


Two modes

Same knowledge base, same rules about what is true. Two different deliverables.

Mode A — RFI questionnaire Mode B — general product Q&A
You have A blank analyst questionnaire Questions from a customer, a colleague, or a review
You get A filled workbook, an answer sheet, a reviewer's note One response document, structured to forward
Enforces Cell limits, dropdowns, rubric line-items Prose, deep-linked to published docs

Both are governed by CLAUDE.md. Mode B adds GENERAL-Q&A-PLAYBOOK.md for structure, voice and formatting — separating what the customer asked from what we already told them, marking every answer clearly, routing open questions to the owning PM, and correcting anything we previously got wrong. The rest of this README describes Mode A, which is the stricter pipeline.

How it works — the folder is the interface

You don't configure anything. You populate four folders with real content, run one prompt, and the agent executes a fixed pipeline governed by CLAUDE.md.

Drop this in… …and the agent treats it as
outputs/blank-current-RFI/ the blank RFI to fill this cycle (the target)
knowledge-base/references/ this cycle's truth — strategy deck (speaker notes especially), product docs, screenshots, roadmap
knowledge-base/previous-RFIs/ the factual corpus of prior completed RFIs
knowledge-base/previous-RFIs/latest-RFI/ the single most recent finalized RFI — top-ranked for current facts
outputs/ where the finished answers and filled workbook land

Then the pipeline runs:

  1. Extract the schema first. Before writing a word, the agent reads every answer cell's character limit, dropdown options, and value type straight from the workbook — so limits are honored from the first draft, not patched at the end.
  2. Build a facts register. Every number is defined once, sourced to a quotable location, or flagged VERIFY. Inherited template values are treated as unverified until proven, and fabricating corroboration for a figure is explicitly forbidden.
  3. Interview the human. The agent stops and asks about the judgment calls only a person can make — module scoping, third-party/partner capability disclosure, GA-vs-roadmap, deployment reality — before drafting anything.
  4. Draft per capability. Each answer is written to its rubric line-item, to the character limit, as narrative prose — with a defensible, well-reasoned "No" preferred over an overreaching "Yes."
  5. Verify by measurement. Every answer length is re-measured in code against its limit; every number is re-checked against the register by a fresh adversarial pass; every dropdown value is validated.
  6. Reconcile conflicts — live. Fresh agents then attack the drafted answers hunting contradictions: against answers already in the questionnaire, against what the last finalized RFI told this analyst, against each other, against the sources. Whatever a quotable source settles, the agent settles. The rest goes to the reviewer in session — clustered by decision rather than by cell — and nothing is overwritten on the agent's own authority.
  7. Hand back a reviewable package. A Markdown answer sheet (labelled by cell reference), a filled copy of the workbook, and a reviewer's note listing every number's provenance, the conflict log, and every open VERIFY / UNKNOWN item — the asynchronous sweep, which the reviewer can distribute across the team.

What makes it reliable

  • Provenance or it doesn't ship. Counts, dates, versions, percentages, and customer numbers each carry a source citation or a VERIFY flag — nothing is asserted on trust.
  • Inherited ≠ verified. A number sitting in a template is a question to answer, not an answer.
  • No invented corroboration. The agent may cite a source only with an exact quote and location.
  • Measure, never estimate. Character limits are enforced by counting in code, not by eyeballing.
  • Recency-ranked corpus. The most recently finalized RFI is the strongest source of current facts; drafts are style precedent only, never a source of numbers.
  • Nothing is silently overwritten. An answer already in the questionnaire — or one a prior FINAL gave — is an incumbent. A newer, better-sourced answer is a reason to ask, not a licence to replace; the system surfaces the difference rather than resolving it quietly.
  • Contradictions are found before a human finds them. A dedicated pass sweeps the finished answer set for competing versions of the truth and rules on them with the reviewer, live, before the package is ever handed over.
  • Human-in-the-loop where it matters. Three deliberate checkpoints — the scoping interview before drafting, the live conflict ruling before handoff, and the reviewer's note before submission.

What it can't do — the corpus is the ceiling

This system treats what you give it as the truth. It reads your knowledge base and your registered product docs, refuses to invent anything beyond them, and flags what it cannot source. That discipline is the point — but it has a direct consequence worth stating plainly:

The answers can only be as good, as complete, and as current as the corpus you populate.

Three specific ways that bites:

  • The product is often broader than the docs. Capabilities ship before they're documented, and some are never written up at all. The system will describe an undocumented capability as absent, because from where it sits, it is. A confident "not supported" may simply mean "not in the corpus."
  • Nuance lives in people, not pages. Docs record what a feature does, rarely the conditions, caveats and edge cases a PM carries in their head. An answer can be literally correct and still miss the qualification that matters to the customer asking.
  • Stale inputs produce stale answers, with full confidence. A roadmap deck from two quarters ago will be cited as current. Nothing in the pipeline can detect that a source is out of date — only that it exists.

So the review checkpoints are not ceremony. The scoping interview, the live conflict ruling, and the reviewer's note exist precisely because the corpus has edges the system can't see past. The VERIFY and UNKNOWN flags are the system telling you where it knows it's blind; where it doesn't know, only a human reading the answers will catch it.

The practical implication: the return on this system tracks almost entirely with the investment in knowledge-base/. Refreshing the roadmap folder every cycle, keeping doc-sources.md pointed at every module's live docs, promoting each finalized RFI into latest-RFI/, and keeping the disclosure notes and PM roster current — that work is the quality of the output. A well-fed corpus makes this system a force multiplier. A thin one makes it a confident, well-formatted way to be wrong.


Getting started

  1. Fork and clone this repo.
  2. Read SETUP-INSTRUCTIONS.md and run the one-time setup.
  3. Each cycle: run the folder-hygiene checklist in SETUP-INSTRUCTIONS.md, then paste the Mode A prompt from START-SESSION-PROMPT.md into Claude Code.
  4. For a one-off product question rather than a cycle, paste the Mode B prompt from the same file and point it at the thread or document.

Repository layout

Seven framework files at the root — this README, CLAUDE.md, START-SESSION-PROMPT.md, GENERAL-Q&A-PLAYBOOK.md, SETUP-INSTRUCTIONS.md, REPO-STRUCTURE.md, and the requirements file — plus two content areas you populate locally: knowledge-base/ (what the agent reads) and outputs/ (what it produces). The content folders ship empty; .gitignore keeps whatever you add local.

→ REPO-STRUCTURE.md is the full annotated map of every file and folder, and how content flows through a cycle.


Design notes

A few deliberate choices, for anyone evaluating how this is built:

  • Constitution as code. The durable rules live in CLAUDE.md, which Claude Code loads automatically every session. The per-run prompt stays thin and carries only what changes cycle to cycle — so quality is a property of the system, not of whoever happened to write that day's prompt.
  • The RFI is treated as a scored artifact, not a document. Every question is mapped to its rubric capability, and answers are optimized per line-item rather than as prose.
  • Failure modes drove the safeguards. The provenance/VERIFY protocol, the measure-don't-estimate rule, and the live conflict pass exist because those are the three ways fast RFI drafting actually goes wrong; each has a dedicated, automated defense so it can't depend on a human catching it.
  • Live review and async review are different jobs. The conflict pass exists to interrogate the answers while the reviewer is still in the room — competing versions of the truth are the expensive thing to discover late, so they get a synchronous ruling. The reviewer's note is deliberately the other kind: a durable, distributable checklist for the slower sweep.
  • Privacy by construction. This repo contains no company data and no completed RFIs — only the framework. The .gitignore whitelists just the folder guides, so confidential material a team member adds locally can't be pushed to a public fork by accident.

Built by Fenil Dedhia. This framework ships no proprietary data or completed evaluations — only the reusable method.

About

Harness your AI agent with a systematic workflow to draft accurate, analyst-ready RFI responses (Gartner MQ, Forrester Wave, and similar).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages