The SDLC pipeline
Proposal
The client-facing proposal drawn from the approved documents.
10 min read7 sections
The Proposal step writes the client-facing technical proposal from the approved documents: what the client needs, the solution, how it will be built and delivered, the team, the compliance picture and why you are the right choice. It is the end of the chain, and it deliberately carries no price: effort and cost are agreed separately. It restates the earlier documents, so it is only as accurate as they are.
What you get
A Markdown document titled Technical Proposal, with the bridge's title block on top and a Version History table at the end. The agent writes nine sections, in order:
| Section | Contents |
|---|---|
| 1. Executive Summary | The client's need, the proposed solution and the outcome. |
| 2. Understanding of the Requirement | Objectives, regulatory context, success criteria, then a table of every "must" and "should" requirement: id, title, priority, how the solution meets it, and the design components (DC-NNN) that deliver it. |
| 3. Proposed Solution | The overview, the numbered key features (citing the requirement ids they deliver), and the win themes. |
| 4. Technical Approach | A Mermaid architecture flowchart built from the design components (citing their ids), the stack, methodology, quality assurance and integrations. |
| 5. Delivery Plan | Phases and milestones with deliverables and how the client accepts them, review points, scope-change handling, the top delivery risks, and a Gantt chart when the input carries dates. |
| 6. Team | A table of name, role, years of experience and relevant projects. |
| 7. Compliance | A table of framework, status and notes, from the project's compliance flags. |
| 8. Assumptions and Constraints | Bullets. |
| 9. Why Us | Win themes and differentiators grounded in the requirements. |
The bridge requires headings that contain Executive Summary, Understanding, Proposed Solution, Technical Approach, Delivery, Team, Assumptions and Why, and at least one Mermaid diagram.
Before you run it
- The Delivery Plan must be approved. Until it is,
/proposalis locked with "Approve Delivery Plan to unlock this", even if the plan has not been written yet. The slash menu says "Approve the Delivery Plan first". - The Scope, SRS and SDS must exist. The gate names the first one missing: "Run Project Scope first", "Run Requirements Spec first" or "Run System Design Spec first" on the step rail, "Run /scope first" and so on in the slash menu.
- Approve any upstream document you re-ran. The writer receives the approved Scope, SRS, TAD, SDS and Delivery Plan as people reviewed and edited them, and follows them where they differ from the project data. A document awaiting review again is left out without a message.
The Proposal does not read the STS, the API Contract or the Tasks. This is what each section is built from, and what to get right first:
| Section | Built from | Get this right first |
|---|---|---|
| 1 to 3, 9 | The requirements and the approved Scope and SRS | Priorities. The win themes come from the top three "must" requirements, and section 2 covers every "must" and "should". |
| 4 | The design components, and the approved TAD and SDS | The TAD's stack, service boundaries and third-party services. The writer must not contradict them. |
| 5 | The approved Delivery Plan | Sprints, milestones, acceptance points, risks and dates. The writer summarises the plan in the same order with the same dates. |
| 6 | The project's team profiles | Nothing in the app fills these in, so expect role-based rows. |
| 7 | The project's compliance flags | Run Compliance first. Without it the flags are the SRS keyword matches, still pending review. |
How it works
Proposal makes one skill call, sdlc-proposal-writer, with one attempt by default (the deployment can allow 1 to 5 with ALARA_CORRECTION_MAX_ATTEMPTS).
- Bridge to Bridge: Check scope, SRS and SDS exist
- loop: One attempt by default
- Bridge to Project agent: sdlc-proposal-writer with project data and source documents
- Project agent to Bridge: markdown
- Bridge to Bridge: Check headings, diagram, banned phrases
- Bridge to Bridge: Add title block and version history
- Bridge to Bridge: Write proposal-vN.md
The message carries the project and client names, every requirement, every design component, the compliance flags, the team profiles, your notes and the source documents. It also carries an estimate block with every figure set to zero, currency "none" and a note that the proposal carries no estimate. The writer is told to write no effort or money figure, so a price in the text did not come from the pipeline.
The skill's rules:
- No estimate. No effort figure, hours, rates, prices, currency amounts, payment schedule or cost section.
- Win themes from the top three "must" requirements, in the form "By [capability], we enable [client outcome], as demonstrated by [requirement reference]".
- Compliance names only frameworks in the input. Team uses the team profiles verbatim, or role-based rows when there are none.
- No invented dates. A calendar date appears only when the input gives one.
Banned phrases
Every draft is scanned, diagrams included. Any of these, as a whole word and in any case, is a problem:
TBD · N/A · to be determined · not available · placeholder · insert here · coming soon
Where the input lacks something, the skill states what the client must supply instead. A slash counts as part of a word, so "n/a" inside a URL path does not match.
A draft with problems is kept with each located problem listed; when more attempts are allowed it goes back to the writer with its own text and the problems, and the bridge keeps the best draft across attempts. The run panel shows: Checking project state, Writing the proposal, Writing the Markdown document. A clean run ends "Proposal vN written with every required section and zero banned phrases", then "ready for review".
The proposal creates no ids. It cites REQ-… ids in its features, table and win themes, and DC-NNN ids in its architecture.
What a good result looks like
- The summary opens with the client's need in the client's words, and says "you" more than "we".
- Each feature ties to a client outcome and to the
REQandDCids that show it is designed, not just promised. - Figures are the ones in the requirements. Where there is none, the text describes the mechanism instead of inventing a number.
- Sections 4 and 5 agree with the TAD and the Delivery Plan, and nothing reads as filler.
Reviewing it
This is the document your client reads. It finishes as Awaiting your review. Approving it ends the chain, and completes the version if one is open. Before you send it, check:
- the win themes tie to real "must" requirements;
- the section 2 table has a row for every "must" and "should" requirement, and every id cited exists in the SRS and SDS;
- the architecture diagram matches the approved SDS and TAD;
- section 5 matches the approved Delivery Plan: sprints, milestones, dates. If the plan called its dates indicative, the proposal must not present them as commitments;
- the Team section has real people or honest roles, and agrees with the Delivery Plan's Team table;
- the Compliance table names only frameworks that apply to this client, with statuses you can stand behind;
- there is no price, hour, rate or payment term anywhere, including diagrams and tables;
- no banned phrase or "to be confirmed" remains, and the client name in the title block is right.
Fix a wrong fact in the document that owns it: a wrong requirement in the SRS, a wrong sprint in the Delivery Plan. Otherwise the next run restates the error.
You can edit the draft while it is under review, and Request changes then starts from your edited text.
Request changes sends the writer the draft plus your change list, and it returns only the sections it changes. The bridge lays those on the draft, so what you did not mention stays as it was, and the heading and banned-phrase checks apply again. The version history row names the sections changed. Name sections and ids:
| Problem | Wording that works |
|---|---|
| Wrong emphasis | "Rewrite the Executive Summary in two paragraphs for a board reader. Lead with the outcome of REQ-FUNC-003." |
| A feature the client does not get | "Drop the mobile channel from Proposed Solution and from the table in Understanding." |
| A placeholder left | "In Assumptions and Constraints, replace 'to be determined' with what the client must supply: the production hostnames." |
| A price or effort figure | "Remove every price, hour and rate from Delivery Plan and Why Us. This proposal carries no estimate." |
| A diagram gap | "In Technical Approach, show the payment gateway as an external service connected to DC-007." |
The skill tells the writer never to name individuals when the project has no team profiles, so a request for named people may be refused or only partly applied. Edit the Team table by hand, or check it when the draft comes back.
Staleness and re-running
The step rail marks an approved Proposal "Approved · upstream changed" when the Scope, SRS or SDS (or a document above them) was produced again after it. It does not watch the Delivery Plan, so after you revise and approve a new plan, re-run the Proposal yourself and review it again. The new run writes the next version for review.
Exporting
Download in the document panel offers PDF, Word, Excel, Web page (HTML) and Markdown, made in your browser from the Markdown. PDF, Word and HTML draw the diagrams as images, and Excel gives each table its own sheet. With high-fidelity diagrams on, a "Markdown with diagrams" zip is offered too. See Read and export documents.
When it fails
| What you see | Why | What to do |
|---|---|---|
/proposal locked: "Approve Delivery Plan to unlock this" | The Delivery Plan is not approved, or not written. | Approve the plan, or run /plan first. |
/proposal locked: "Run Project Scope first", "Run Requirements Spec first" or "Run System Design Spec first" | That document has not been written. | Run the step it names. |
| "Cannot generate proposal: scope artifact is missing from state.json. Run /scope first." (or srs, sds) | The project state lost a document the gate saw. | Run the step it names. |
| "projectName is required in state.json." | The project has no name. | Set the project name, then run again. |
| "The agent did not return a usable reply." | No attempt produced readable output, or the agent refused. | Run it again. If it repeats, run Check agent in Project Settings. |
| "The agent's reply still fails 1 check(s) the next step depends on, after M attempt(s)." | Every attempt returned an empty document. The reply is saved at .sdlc/tmp/proposal-last-response.json. | Run it again. |
| A draft with "N problems to fix in this draft", and a run message ending "accepted with N unresolved check(s) for the reviewer" | After the attempts a heading or the diagram was missing, a diagram had no diagram type, a fence was unclosed, or a banned phrase remained. | Read each problem. Approve if you accept it, or Request changes naming the section. |
Under the hood
- The driver is
bridge/src/services/proposalPipeline.service.ts, which holdsBANNED_PHRASES. The headings are inbridge/src/lib/documentSpecs.ts, the documents the writer receives areUPSTREAM_DOCUMENTSinbridge/src/lib/sourceDocuments.ts, and the loop isbridge/src/lib/correctionLoop.ts. See Document checks and versioning. - The gate, in
bridge/sdlc-engine/lib/sdlc/gate-rules.js, requiresscope,srsandsdsto exist and an approvedplan. - The document is
.sdlc/artifacts/proposal-vN.md, registered asartifacts.proposal. The draft is kept in.sdlc/tmp/proposal-data.jsonwhile under review, and the writer's reply in.sdlc/tmp/proposal-reply.jsonfor Request changes.