The user wants me to design a Request for Comments (RFC) process.
This process needs to include three specific components:
- Templates: Structured forms for creating and reviewing RFCs.
- SLAs (Service Level Agreements): Timelines and expectations for each stage of the process.
- Decision Logs: How decisions are recorded and tracked.
Target Audience/Context:
This is likely for a software engineering or product development organization. The goal is to facilitate asynchronous decision-making, architectural review, and cross-team collaboration. The tone should be professional, structured, and actionable.
Structure of the Response:
- Introduction: Briefly explain the purpose of the RFC process (alignment, visibility, quality).
- Lifecycle Overview: A high-level flow (Draft -> Review -> Approve/Reject -> Implement).
- Templates: Provide distinct templates for the RFC Document itself and a Decision Log.
- SLAs: Define specific timeframes for each stage to prevent bottlenecks.
- Roles & Responsibilities: Who does what? (Author, Reviewers, Moderator).
- Process Workflow: Step-by-step guide.
- Decision Log Management: How to maintain the record.
Drafting Content - Section by Section:
-
1. Philosophy: Keep it lightweight but rigorous enough to prevent chaos. "Disagree and commit" principle.
-
2. Templates:
- RFC Template: Needs standard headers (Title, Status, Authors, Date).
- Core sections: Summary, Motivation (Why?), Proposed Solution (How?), Alternatives (What else did we consider?), Risks/Drawbacks, Security/Privacy/Scalability implications (Standard non-functional reqs).
- Decision Log Template: A separate table or file to track the outcome.
-
3. SLAs (Service Level Agreements):
- This is tricky because it depends on company size, but I should provide defaults.
- Drafting: 1-2 days.
- Initial Review (Shepherd check): 1 day.
- Public Comment Period: 5 business days (standard work week).
- Final Decision: 2 days after comments close.
- Total Cycle: Aim for under 2 weeks.
-
4. The Workflow (The "Process"):
- Phase 0: Pre-RFC (Optional but good). Chat with stakeholders.
- Phase 1: Drafting. Write it.
- Phase 2: Submission. Create PR/Issue/Doc.
- Phase 3: Review. The comment period. Mention "Shepherds" (moderators) to keep things moving.
- Phase 4: Decision. Approve, Reject, or Defer.
- Phase 5: Implementation.
-
5. Decision Logs:
- Where do they live? (e.g., GitHub Repo, Confluence, Notion).
- What do they contain? (Date, Status, Summary of dissenting opinions vs. final logic).
-
6. Refinement & Edge Cases:
- What if there is a tie? (Escalation path).
- What about "Emergencies"? (Fast-track process).
- What constitutes "Consensus"? (Lazy consensus vs. unanimous).
Self-Correction during drafting:
- Initial thought: Just give the text.
- Correction: Use Markdown tables for the templates and timelines to make it readable.
- Thought: Make the SLAs very strict?
- Correction: No, flexibility is key. Frame them as "Targets" or "Expectations."
- Addition: I should add a section on "Retroactive RFCs" or "Architecture Decision Records (ADRs)" vs RFCs. Let's stick to the user's prompt about RFCs, but mention that approved RFCs become ADRs.
Final Polish:
Organize with clear headings. Use bold text for emphasis. Ensure the distinction between the process and the document is clear.
Let's build the templates.
- RFC Template: Needs to be copy-paste ready.
- Decision Log: Should be a simple table.
Let's build the SLAs.
- Severity based? Maybe.
- Standard: 5-10 business days total.
- Expedited: 48 hours.
Let's build the Decision Log logic.
- It shouldn't just say "Approved." It should say "Approved because X, despite concern Y."
Summary of Output:
- Process Overview: The philosophy.
- The Workflow: 5 stages.
- SLA Matrix: Time limits.
- Template 1: The RFC Document.
- Template 2: The Decision Log.
- Roles & Governance.
This looks like a solid plan. I will generate the response based on this structure.
A well-structured Request for Comments (RFC) process is the backbone of scalable engineering organizations. It moves decision-making from "loudest voice in the room" to "written consensus."
Below is a complete design for an RFC process, including the lifecycle, Service Level Agreements (SLAs), and templates.
1. The Process Lifecycle & SLAs
To prevent RFCs from stalling, strict timeboxes (SLAs) are required.
The Workflow
- Drafting: Author writes the RFC.
- Shepherd Assignment: A technical lead is assigned to guide the RFC (optional but recommended for large orgs).
- Review Period: The RFC is posted to a central repository (e.g., GitHub, Notion, Confluence).
- Discussion & Revision: Comments are addressed.
- Final Comment Period (FCP): A 48-72 hour window for final objections before approval.
- Resolution:
Approved, Rejected, or Deferred.
The SLA Matrix
| Phase | Owner | SLA (Timebox) | Goal |
|---|
| Initial Review | Shepherd / Tech Lead | 2 Business Days | Is the RFC legible and ready for prime time? |
| Community Discussion | All Engineers | 5-7 Business Days | Gather feedback and alternatives. |
| Revisions | Author | 3 Business Days | Address feedback and update the document. |
| Decision (FCP) | Approver Group | 2 Business Days | Final sign-off or rejection. |
| Total Cycle Time | Process | ~10-14 Days | Ideally, no RFC should sit open for >2 weeks. |
Note: Emergency RFCs (e.g., production hotfixes requiring arch changes) skip the Community Discussion SLA and move straight to Decision.
2. The Templates
A. The RFC Document Template
This template should be the default format for any proposal.
Title: [RFC-001] Short Descriptive Title
Status: Draft | In Review | Approved | Rejected
Authors: @username
Shepherd: @tech-lead (Optional)
Date: YYYY-MM-DD
1. Summary
A 2-3 sentence elevator pitch. If you can’t explain it simply, the idea isn't clear yet.
2. Motivation (The "Why")
- Problem: What is the current pain point?
- Impact: Who is affected? How much is it costing us (time/money)?
- Goal: What does success look like?
3. Proposed Solution (The "How")
- Architecture: Diagrams are mandatory here. (MermaidJS or embedded images).
- Implementation: High-level steps to build this.
- API Changes: If applicable, define the interface.
- Data Migration: How do we handle existing data?
4. Alternatives Considered
- What else did you look at?
- Why did you reject them? (Cost, complexity, time?)
5. Operational Impact
- Observability: How will we know if this breaks? (Logs, metrics).
- Rollout Plan: Feature flags? Staged rollout?
- Rollback Plan: If it explodes, how do we revert?
6. Risks & Drawbacks
- Be honest. What could go wrong? (Security, performance, tech debt).
7. Unresolved Questions
- What do you still need to figure out? (Don't block the RFC on minor details, but list them).
B. The Decision Log Template
This file serves as the historical record. It can be a simple table at the bottom of the RFC or a separate database entry.
Decision Log for RFC-001
| Date | Decision | Rationale | Approvers |
|---|
| 2023-10-25 | APPROVED | Consensus reached on using Postgres over Mongo for relational integrity. | @Alice, @Bob |
| 2023-10-20 | Change Requested | Need more detail on rollback strategy. | @Bob |
| 2023-10-15 | Submitted | Initial Draft | @Author |
3. Governance & Roles
To prevent "design by committee," roles must be clear.
1. The Author
- Responsibility: Writes the RFC, responds to comments, and drives consensus.
- Power: Can withdraw the RFC at any time.
2. The Shepherd (Optional but recommended)
- Responsibility: A senior engineer assigned to the RFC to ensure it doesn't stall. They ensure the SLAs are met.
- Power: Can mark the RFC as "Ready for Decision."
3. The Reviewers (The Community)
- Responsibility: Ask "what if" questions and poke holes in the logic.
- Power: Influence. They generally do not have veto power unless they are a specific stakeholder (e.g., Security Team).
4. The Approvers
- Responsibility: Final decision makers (usually Tech Leads or Architects).
- Power: Final Veto. They must explicitly sign off (
/approve or LGTM).
4. Decision Rules (How to Vote)
Avoid binary "Voting" as it creates political factions. Instead, use Consensus Categories:
- Consensus: No major objections, only minor nitpicks. -> Approve.
- Minor Objection: The reviewer has a concern, but is willing to let the Author proceed if the concern is logged as a "Follow-up Task." -> Approve with Conditions.
- Major Objection: The proposed solution is technically unsound, poses a security risk, or breaks established standards. -> Reject/Block.
Handling Deadlocks
If Approvers cannot agree:
- Escalate to the Engineering Director or CTO.
- Perform a "Spike" (a small time-boxed investigation) to generate data to settle the argument.
5. Implementation Guide (How to roll this out)
- Create a Repo: Create a git repository named
rfcs or a channel in Slack/Teams.
- Automate SLAs: Use a bot (like GitHub Actions or Jira Automation) to ping the Author if the RFC hasn't been updated in 5 days.
- Archive: When an RFC is
Approved, move it to an Archive folder. When Rejected, move it to Rejected (keep these! They are valuable history).
- Link PRs: Require that Pull Requests for implementation link back to the Approved RFC number.