Skip to content

fix: remove stale seven-day sales promises - #16

Merged
nish3451 merged 1 commit into
mainfrom
fix/remove-stale-seven-day-promises-20260808
Aug 7, 2026
Merged

fix: remove stale seven-day sales promises#16
nish3451 merged 1 commit into
mainfrom
fix/remove-stale-seven-day-promises-20260808

Conversation

@nish3451

@nish3451 nish3451 commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • remove stale seven-day delivery promises from active managed-service sales/operator copy
  • align close, proposal, follow-up, offer, and generated prep paths with fixed scope, Day 0 prerequisites, and 14-day implementation tracking
  • add regression coverage for active sources and generated close output while preserving historical benchmark comparison context

intended-outcome: active managed-service sales and operator copy matches fixed-scope Day 0 and 14-day tracking truth without a delivery guarantee.

verify: npm run check, npm test, npm run ci, and git diff --check passed with 126 checks; sgscan has only pre-existing warnings. Grok review: ship, best version of this scoped fix.

Co-Authored-By: Claude noreply@anthropic.com

Summary by CodeRabbit

  • Offer Updates

    • Replaced seven-day delivery promises with Day 0 initiation and 14-day implementation tracking.
    • Standardized messaging around “The Website Correction,” a human-reviewed, fixed-scope founder pilot.
  • Sales & Prospecting

    • Updated referral, outreach, call, proposal, follow-up, and close-package messaging to reflect the revised offer and timeline.
    • Improved consistency by using the configured offer name across prospect communications.
  • Tests

    • Added validation to prevent outdated seven-day delivery claims in customer-facing materials and generated outputs.

intended-outcome: active managed-service sales and operator copy matches fixed-scope Day 0 and 14-day tracking truth without a delivery guarantee.

verify: npm run check, npm test, npm run ci, git diff --check passed; sgscan has only pre-existing warnings.

Co-Authored-By: Claude <noreply@anthropic.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nish3451 has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The offer and sales materials now use The Website Correction as a human-reviewed, fixed-scope engagement. Delivery language now specifies Day 0 initiation and 14-day implementation tracking. Contract tests reject stale seven-day delivery claims.

Changes

Offer messaging update

Layer / File(s) Summary
Offer language and sales surfaces
growth-brain/offer.md, growth-brain/prospecting/warm-network-scripts.md, growth-brain/sales/*
Offer and sales content now identify The Website Correction as a human-reviewed, fixed-scope engagement and use 14-day implementation tracking.
Generated sales workflow messaging
scripts/create-prospect-audit.mjs, scripts/draft-sales-call-prep.mjs, scripts/prepare-prospect-call-booked.mjs, scripts/prepare-prospect-close-package.mjs
Generated prospect materials now use the configured offer name, Day 0 prerequisites, fixed-scope language, and 14-day implementation tracking.
Sales intake contract validation
scripts/test-sales-intake-contract.mjs
Tests require the updated timeline and reject stale seven-day delivery claims in active offer surfaces and generated output.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: removing stale seven-day sales promises.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/remove-stale-seven-day-promises-20260808

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@scripts/draft-sales-call-prep.mjs`:
- Line 153: Update the generated sales question in the draft content to use the
singular phrase “one implementation-ready page fix” instead of
“implementation-ready fixes,” preserving the one-page engagement scope aligned
with the canonical sales wording.

In `@scripts/test-sales-intake-contract.mjs`:
- Around line 115-137: Expand staleSevenDayPromise to reject duration-first
phrases such as “7-day fix” and “7-day delivery,” plus verb-based promises such
as “deliver in 7 days” and “complete within seven days.” Add representative
versions of each newly supported wording to the stale-pattern validation loop
while preserving the existing active-surface and historical benchmark checks.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 91c46e10-4870-4833-a1c6-dde1ef473f07

📥 Commits

Reviewing files that changed from the base of the PR and between d071bb9 and 7507c2e.

📒 Files selected for processing (10)
  • growth-brain/offer.md
  • growth-brain/prospecting/warm-network-scripts.md
  • growth-brain/sales/follow-up-sequences.md
  • growth-brain/sales/proposal-template.md
  • growth-brain/sales/sales-call-script.md
  • scripts/create-prospect-audit.mjs
  • scripts/draft-sales-call-prep.mjs
  • scripts/prepare-prospect-call-booked.mjs
  • scripts/prepare-prospect-close-package.mjs
  • scripts/test-sales-intake-contract.mjs

3. Who approves page, copy, or site structure changes?
4. What context can you share: analytics, reviews, competitors, customer objections, and implementation access?
5. If the sprint gives you implementation-ready fixes in 7 days, is this worth doing now?
5. If the sprint gives you implementation-ready fixes plus 14-day implementation tracking, is this worth doing now?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

Use singular wording for the fixed one-page scope.

The canonical scope limits the engagement to one highest-leverage page. This generated question says implementation-ready fixes, which can imply multiple fixes or pages. Change it to one implementation-ready page fix to preserve the same sales contract used by Line 17 of growth-brain/sales/sales-call-script.md.

Proposed wording
-5. If the sprint gives you implementation-ready fixes plus 14-day implementation tracking, is this worth doing now?
+5. If the sprint gives you one implementation-ready page fix plus 14-day implementation tracking, is this worth doing now?
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
5. If the sprint gives you implementation-ready fixes plus 14-day implementation tracking, is this worth doing now?
5. If the sprint gives you one implementation-ready page fix plus 14-day implementation tracking, is this worth doing now?
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@scripts/draft-sales-call-prep.mjs` at line 153, Update the generated sales
question in the draft content to use the singular phrase “one
implementation-ready page fix” instead of “implementation-ready fixes,”
preserving the one-page engagement scope aligned with the canonical sales
wording.

Comment on lines +115 to +137
const staleSevenDayPromise = /\b(?:seven[- ]day|7[- ]day) sprint\b|\b(?:fix(?:es)? in (?:7|seven) days|(?:7|seven) working days)\b|\bby the end of (?:7|seven) days\b/i;
const activeOfferSurfaces = [
"growth-brain/prospecting/warm-network-scripts.md",
"growth-brain/sales/sales-call-script.md",
"growth-brain/sales/follow-up-sequences.md",
"growth-brain/offer.md",
"growth-brain/sales/proposal-template.md",
"scripts/create-prospect-audit.mjs",
"scripts/draft-sales-call-prep.mjs",
"scripts/prepare-prospect-call-booked.mjs",
"scripts/prepare-prospect-close-package.mjs"
];
for (const surface of activeOfferSurfaces) {
dnm(readFileSync(join(repoRoot, surface), "utf8"), staleSevenDayPromise, `${surface} still promises a seven-day delivery`);
}
dnm(callPrepOutput, staleSevenDayPromise, "sales-call-prep.md still promises a seven-day delivery");
// Historical comparison context is deliberately outside this scan: the
// benchmark matrix keeps its labelled 7-day comparison row, and the check
// must not flag it.
mat(readFileSync(join(repoRoot, "docs/strategy/market-parity-benchmark-2026.md"), "utf8"), /\| Speed \| 2-6 week audit\/report \| 7-day sprint with implementation-ready assets \|/);
// Guard against pattern drift: each removed variant must still be caught.
for (const stale of ["seven-day sprint", "7-day sprint", "fix in 7 days", "7 working days from Day 0", "by the end of 7 days", "seven working days"]) {
mat(stale, staleSevenDayPromise);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Expand the stale-promise matcher.

The regex does not reject 7-day fix, 7-day delivery, deliver in 7 days, or complete within seven days. An active surface can therefore reintroduce a seven-day delivery promise and still pass this regression test. Extend the matcher and the variant table to cover duration-first and verb-based wording.

Proposed matcher coverage
-const staleSevenDayPromise = /\b(?:seven[- ]day|7[- ]day) sprint\b|\b(?:fix(?:es)? in (?:7|seven) days|(?:7|seven) working days)\b|\bby the end of (?:7|seven) days\b/i;
+const staleSevenDayPromise = /\b(?:seven[- ]day|7[- ]day)\b|\b(?:fix(?:es)?|deliver(?:s|y|ed)?|complete(?:s|d)?|finish(?:es|ed)?)\s+(?:in|within|by)\s+(?:7|seven)\s+(?:working\s+)?days?\b|\bby the end of (?:7|seven)\s+(?:working\s+)?days?\b/i;
...
-for (const stale of ["seven-day sprint", "7-day sprint", "fix in 7 days", "7 working days from Day 0", "by the end of 7 days", "seven working days"]) {
+for (const stale of ["seven-day sprint", "7-day sprint", "7-day fix", "7-day delivery", "fix in 7 days", "deliver in 7 days", "complete within seven days", "7 working days from Day 0", "by the end of 7 days", "seven working days"]) {
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@scripts/test-sales-intake-contract.mjs` around lines 115 - 137, Expand
staleSevenDayPromise to reject duration-first phrases such as “7-day fix” and
“7-day delivery,” plus verb-based promises such as “deliver in 7 days” and
“complete within seven days.” Add representative versions of each newly
supported wording to the stale-pattern validation loop while preserving the
existing active-surface and historical benchmark checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant