Skip to content

docs(ltv): rework plan around peer generation schemes [LTV-M2]#105

Closed
shaypal5 wants to merge 1 commit into
feat/ltv-lifecycle-entity-rowsfrom
docs/ltv-peer-schemes-plan
Closed

docs(ltv): rework plan around peer generation schemes [LTV-M2]#105
shaypal5 wants to merge 1 commit into
feat/ltv-lifecycle-entity-rowsfrom
docs/ltv-peer-schemes-plan

Conversation

@shaypal5

Copy link
Copy Markdown
Contributor

Summary

Reworks the LTV plan around the maintainer decision that leadforge becomes a
platform hosting two parallel, peer generation schemes
(lead_scoring +
lifecycle) — not a lead-scoring framework with an LTV bolt-on. Docs only.

Stacked on #104 (LTV-Pb). Base branch is feat/ltv-lifecycle-entity-rows
because this plan references that schema work as done and relocates its rows.
Retarget to main once #104 merges.

Decisions captured (design.md §2.5)

# Decision
D10 Extract the GenerationScheme abstraction early, against the known-good lead-scoring path (wrap, output byte-identical, hash-determinism guarded) before lifecycle plugs in
D11 Physically reorganize into leadforge/schemes/{lead_scoring,lifecycle}/ now (not logical-only)

Plus: the scheme → recipe → bundle hierarchy, the GenerationScheme
protocol shape, a shared-envelope-vs-per-scheme table, the target package
layout, and reorg safety rails for the published 1.x package (public API
stable, back-compat shims, hash-determinism + full suite green each step).

Roadmap reshape (9 milestones / ~18 PRs, Pa..Pr)

  • New LTV-M2 — Generation-scheme architecture + physical reorg
    (LTV-Pd/Pe/Pf): protocol + registry against lead-scoring → move
    lead-scoring into schemes/lead_scoring/ → scaffold schemes/lifecycle/ and
    relocate the LTV-Pb/LTV-Pc specs.
  • Lifecycle build milestones (population/engine/snapshots) renumber to
    M3–M5 and land directly under schemes/lifecycle/.
  • LTV-M6 registers LifecycleScheme end-to-end + recipe + manifest
    generation_scheme + schema v6.

LTV-M2 can begin in parallel with LTV-M1 finishing — it only touches the
existing lead-scoring path.

Note on #104

Aligned, not invalidated: #104 already used a separate LIFECYCLE_ROW_TYPES
registry (the per-scheme-registry model). LTV-M2 relocates those rows into
schemes/lifecycle/entities.py.

🤖 Generated with Claude Code

Acts on the maintainer decision that leadforge becomes a platform hosting two
PARALLEL, peer generation schemes (lead_scoring + lifecycle), not a
lead-scoring framework with an LTV bolt-on.

design.md:
- New §2.5 "peer generation schemes": decisions D10 (extract the
  GenerationScheme abstraction EARLY, against the known-good lead-scoring path,
  output byte-identical) and D11 (physically reorganize into
  leadforge/schemes/{lead_scoring,lifecycle}/ now). Adds the scheme→recipe→
  bundle hierarchy, the GenerationScheme protocol shape, a shared-envelope vs
  per-scheme table, the target package layout, reorg safety rails for the
  published 1.x package, and a note that LTV-Pb (#104) already aligns.
- §10 inventory: lifecycle modules now live under schemes/lifecycle/; adds
  schemes/base.py; recipe declares scheme: lifecycle.

roadmap.md (reshaped to 9 milestones / ~18 PRs, Pa..Pr):
- New LTV-M2 "Generation-scheme architecture + physical reorg" (LTV-Pd/Pe/Pf):
  protocol+registry against lead-scoring → move lead-scoring into
  schemes/lead_scoring/ → scaffold schemes/lifecycle/ and relocate the
  LTV-Pb/Pc specs.
- Lifecycle build milestones (population/engine/snapshots) renumbered to
  M3-M5 and now land directly under schemes/lifecycle/.
- LTV-M6 registers LifecycleScheme end-to-end + recipe + manifest
  generation_scheme + schema v6.

.agent-plan.md: scheme-architecture summary + revised status (M2 next; can run
in parallel with M1 since it only touches the existing lead-scoring path).

Stacked on the LTV-Pb branch (#104) because it references that work as done.
No package code in this PR.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@shaypal5 shaypal5 added this to the dataset: leadforge-ltv-v1 milestone Jun 10, 2026
@shaypal5 shaypal5 added type: docs Documentation or narrative changes dataset: leadforge-ltv-v1 Issue/PR scoped to the b2b_saas_ltv_v1 LTV dataset workstream labels Jun 10, 2026
@shaypal5 shaypal5 deleted the branch feat/ltv-lifecycle-entity-rows June 10, 2026 07:55
@shaypal5 shaypal5 closed this Jun 10, 2026
@github-actions

Copy link
Copy Markdown

pr-agent-context report:

No unresolved review comments, failing checks, or actionable patch coverage gaps were found on PR #105 in repository https://github.com/leadforge-dev/leadforge. Treat this PR as all clear unless new signals appear.

Run metadata:

Tool ref: v4
Tool version: 4.0.21
Trigger: pull request opened
Workflow run: 27261727641 attempt 1
Comment timestamp: 2026-06-10T07:54:38.415236+00:00
PR head commit: 779ccf78c9eef4506eaa56c70a2d4a89b0e0f491

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

Labels

dataset: leadforge-ltv-v1 Issue/PR scoped to the b2b_saas_ltv_v1 LTV dataset workstream type: docs Documentation or narrative changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant