The SDLC pipeline
RFP
The Request for Proposal: uploaded, or drafted by the agent from the project chat.
12 min read9 sections
The RFP is the pipeline's entry point: the Request for Proposal every later document is built from. You either upload one you already have, or talk the idea through with the project's agent and let it draft one from the conversation. Either way, /scope stays locked until the project has an approved RFP.
Two ways to get an RFP
| Upload an RFP | Let the agent draft it | |
|---|---|---|
| Where | The RFP drop zone when you create the project, or Upload RFP in the SDLC Pipeline step rail | Generate RFP in SDLC Pipeline, or run /rfp |
| File types | PDF, Word (.docx), plain text (.txt); the step rail also takes Markdown (.md) | None, the agent writes Markdown |
| Size | The wizard refuses files over 20 MB; nginx stops anything over 25 MB | Not applicable |
| Review | None, the upload is recorded as approved by you | Comes back for Approve or Request changes |
| Result | /scope unlocks at once | /scope unlocks once you approve the draft |
An upload is you vouching for the document, which is why it needs no review. The bridge extracts its text when you upload it and rejects a file it cannot read rather than letting later steps work from nothing.
Which one to choose
- Do you have a document that states the requirements? to Upload RFP, Yes
- Do you have a document that states the requirements? to Describe the idea in the chat, No, only an idea
- Describe the idea in the chat to Does the banner say the agent has enough?
- Does the banner say the agent has enough? to Describe the idea in the chat, Not yet
- Does the banner say the agent has enough? to Generate RFP, Yes
- Generate RFP to Review the draft
- Upload RFP to RFP approved, /scope unlocks
- Review the draft to RFP approved, /scope unlocks
- Upload when the client sent a document.
/scopereads its text as it is, so a vague RFP stays vague, and you cannot edit it in the platform: you change it by uploading a new file. - Draft when you have an idea or notes but no document. You get a structured RFP with its gaps listed as open questions, and you can edit it or ask for changes before it counts.
Drafting from the chat
Describe the idea in SDLC Pipeline. The agent asks at most three follow-up questions per reply and summarises. When it judges the conversation holds enough, its reply says so and a banner appears: "The agent has enough to draft your RFP. It comes back for your review before /scope unlocks.", with a Generate RFP button. You can also run /rfp from the step rail or the / menu without waiting. The banner shows only while the project has no RFP yet and no step is running. See Talk to the agent.
What to cover before you press Generate RFP
The writer treats your messages as the source of truth, so the draft is only as complete as your answers. The agent works down this checklist and skips what you have answered:
| Topic | Tell it |
|---|---|
| Problem and objectives | What is wrong today, for whom, and how you will know it worked |
| Users | Each type of user, what they do, how many, on which channels |
| Core features | Must-haves apart from nice-to-haves, and what the system returns |
| Rules and data | Business rules, what is stored, who may see or change it |
| Integrations | Each existing system it must talk to |
| Quality | Load, response time, availability, security, languages |
| Constraints | Budget, deadline, mandated technology, regulations |
| Delivery | What is handed over, how it is accepted, support and warranty |
- Give figures. "Fast" becomes an open question, "search answers within 2 seconds for 500 users" becomes a requirement.
- Confirm or correct the agent's summaries in your next message. The writer uses a fact from the agent's replies only when you confirmed it.
- If you do not know something, say so. It goes under Open Questions instead of being guessed.
- The draft reads the 60 most recent completed messages, so repeat anything essential in a long chat.
What you get
A Markdown document titled Request for Proposal. The bridge puts the title block on top: a table with the project, client, version and date. Below it is the agent's RFP, which opens with a short title for the solution and then these sections, in order: Executive Summary, Background, Objectives, Users and Stakeholders, Scope (with In Scope and Out of Scope lists), Functional Requirements, Non-Functional Requirements, Integrations, Constraints and Assumptions, Deliverables, Timeline and Budget, Support, Warranty and Ownership, Proposal Submission Instructions, Evaluation Criteria and Open Questions.
- Requirements are numbered
FR-01andNFR-01, each a single "The system shall …" statement. The numbers are the agent's own, not checked ids. - Deliverables are a table with an acceptance criterion for each. Evaluation Criteria are a table of weights that add to 100, preceded by any pass or fail criteria you stated. Proposal Submission Instructions say what a vendor response must contain and carry an RFP calendar.
- The skill never invents facts, figures, names or dates, avoids vague words such as "robust", and never writes "TBD". When the idea needs sign-in or notifications, the draft says the Poly-X platform provides them.
- The agent may add one Mermaid diagram where it helps.
The bridge requires nine headings before it counts a draft as clean: Summary, Background, Objectives, Scope, Functional Requirements, Non-Functional Requirements, Deliverables, Evaluation Criteria and Open Questions. Headings match without regard to case and as part of a longer heading, so "Executive Summary" satisfies "Summary".
Before you run it
- Something to draft from. At least one message from you in the project chat, or a project description. Otherwise the run stops with "There is nothing to draft an RFP from yet", followed by a request to describe the idea in the chat or upload an RFP.
- A bound, available agent on an Alara Agents project (see Set up the project agent), or a working Native engine.
- On an existing-system (brownfield) project,
/rfpstays locked until the repository is indexed: "Index the repository first: a brownfield project's RFP is written against its indexed code. Open the Repository tab and press Index." While the index is running it reads "Indexing is still running. /rfp unlocks when the repository has been indexed." If the last index failed, the reason is added, and if the code index cannot be reached the step stays locked until it answers. The lock stops applying once the pipeline has started. The draft then also receives the indexed repository's context.
The RFP step has no earlier step to wait for. Until an RFP is approved, /scope reads "Approve Request for Proposal to unlock this" in the step rail and "Approve the Request for Proposal first" in the / menu. If no RFP exists at all, it reads "Run Request for Proposal first" and "Run /rfp first".
How it works
The run makes one skill call, sdlc-rfp-writer, inside the correction loop.
- You to Bridge: Generate RFP (or /rfp)
- Bridge to Bridge: Read project, description, last 60 chat messages
- loop: One attempt by default
- Bridge to Project agent: sdlc-rfp-writer with the conversation
- Project agent to Bridge: markdown
- Bridge to Bridge: Check headings, diagrams, fences, size
- Bridge to Bridge: Add title block, write rfp-vN.md
- Bridge to You: RFP awaiting your review
The message carries the project name, client name, project type and timeline when set, the project description, and the conversation: up to the 60 most recent completed messages, oldest first. Failed and unfinished replies are left out.
The checks cover the document only: a missing required heading, an open code fence, a diagram that does not start with a diagram type, or a document over 600 KB. By default the agent is asked once (ALARA_CORRECTION_MAX_ATTEMPTS, default 1, range 1 to 5). If more attempts are allowed, a failed attempt goes back to the agent with its own draft and the located problems. Either way the best draft is kept and the problems are listed for you, and Fix failed checks asks the agent to change only those parts: the draft opens with a "problems to fix" panel and the run ends "accepted with N unresolved check(s) for the reviewer". Nothing downstream parses the RFP's structure, so these problems never stop the run or block Approve.
The run panel shows these stages:
| Stage | What happens |
|---|---|
| Reading the project chat | Loads the project, its description and the chat. |
| Drafting the RFP | The skill call, with corrections if needed. |
| Validating the RFP | The Markdown checks (reported together with drafting). |
| Writing the Markdown document | Adds the title block and writes rfp-vN.md. |
| Persisting to project state | Registers the RFP so /scope can read it. |
Ids this step owns
None. The RFP is free text; ids start with the Scope step.
Reviewing it
Read the draft in the document panel beside the chat. Check that:
- every feature you described appears as a Functional Requirement, and nothing appears that you never asked for;
- each requirement is one thing, with no "and/or" or words like "fast";
- the non-functional figures, budget and dates are ones you gave, or are marked not specified;
- the evaluation weights add to 100, and say whether they are yours or proposed;
- Open Questions lists the gaps that matter. The scope analyst reads this RFP next, and anything missing here is missing everywhere after it.
You can edit a draft under review in the platform. The edit changes the text /scope reads and the version Request changes starts from. The RFP finishes as Awaiting your review; Approve it to unlock /scope.
Request changes works as a revision: the agent receives the draft plus your change list and returns only the sections it changes, which the bridge lays on the draft. What you did not mention stays as it was. Write one change per line and name the section or the FR- number:
| You want | Wording that works |
|---|---|
| A missing feature | "Add a Functional Requirement for exporting invoices to CSV." |
| Something removed | "Remove the SMS integration from Integrations and from Functional Requirements." |
| A figure | "In Non-Functional Requirements, state that search must answer within 2 seconds for 500 concurrent users." |
| A question answered | "Remove the hosting question from Open Questions and state in Constraints and Assumptions that we host on Azure." |
A changed section is returned whole, so ask for related sections together and re-read the others when the draft comes back.
Replacing and changing the RFP
Replace RFP appears in the step rail in place of Upload RFP while an agent draft is awaiting review.
- Press Replace RFP and pick a PDF,
.docx,.txtor.mdfile. The button is off while a step runs. - The bridge extracts the text and refuses an unreadable or unsupported file.
- The file takes the draft's version number (a draft is overwritten in place until approved) and is recorded as approved by you. A toast reads "RFP uploaded".
- The agent's draft is no longer the project's RFP, and
/scopereads the file's text.
An approval belongs to the content of its own document, so replacing the RFP never removes the approval of Scope, SRS or later documents. A document is flagged stale when an upstream step was produced more recently than it was. An upload is not a run, so it adds no flag of its own: the flag comes from the RFP step having been re-run after those documents. It clears only when you re-run each stale step. See How the pipeline works.
- Change an approved RFP in place. Its row reads Run again. This drafts a new version from the project chat alone, not from your uploaded file, and waits for review.
- Change the whole project. When the pipeline is complete, start a new version and choose Keep the RFP, Upload a new RFP or Revise the RFP. The last has the agent apply your changes to the RFP you created or uploaded, and you review it first.
When it fails
| What you see | Why | What to do |
|---|---|---|
| "There is nothing to draft an RFP from yet …" | No chat messages from you and no project description. | Describe the idea in the chat, or upload an RFP. |
| "The agent did not return a usable reply." | No attempt produced a readable draft, or a Request changes reply held no change. | Run it again. |
| "The agent's reply still fails N check(s) the next step depends on, after M attempt(s)." | Every attempt came back with an empty document. | Run it again. The last reply is kept in .sdlc/tmp/rfp-last-response.json. |
| "The agent declined this step" | The agent answered that there is not enough information, or could not see the skill file. A refusal is final and is not retried. | Add detail in the chat, or run Check agent in Project Settings › Agent. |
| A draft with a "problems to fix" panel, and a run message ending "accepted with N unresolved check(s) for the reviewer" | A required heading is missing, a fence is open, a diagram type is unrecognised, or the document is too large. | Approve if you accept it, or Request changes naming the section. |
"This file could not be read …" on upload (RFP_UNREADABLE) | No text could be extracted, for example a scanned PDF. | Upload a text-based PDF, a Word file or a text file. |
"The RFP must be a PDF, Word (.docx) or text file." (RFP_UNSUPPORTED) | The extension is not one the extractor reads. | Convert it, for example .doc to .docx. |
| "A command is running for this project …" on upload | Uploading writes project state, which cannot happen during a run. | Wait for the run to finish. |
Under the hood
- The driver is
bridge/src/services/rfpPipeline.service.ts, the headings are inbridge/src/lib/documentSpecs.tsand the loop inbridge/src/lib/correctionLoop.ts. Uploads go throughPOST /api/projects/:id/rfp(and project creation) andbridge/src/lib/rfpRecord.ts. See Document checks and versioning. - A drafted RFP is
.sdlc/artifacts/rfp-vN.md; an uploaded one keeps its extension (rfp-vN.pdf…) and is also stored asprojects/<id>/rfp/rfp-vN.<ext>, a best-effort copy. state.jsongetsartifacts.rfp(path, version, hash, history, unresolved checks). An upload also getsapprovals.rfp, with you as approver.- The project inputs hold
rfpText(what/scopereads),rfpSource(agentorupload) andrfpStatus(draftorapproved). - The draft under review is kept in
.sdlc/tmp/rfp-data.jsonfor Request changes; approval deletes it.