Skip to content

docs(constructive-sdk-events): add EventReferral max_depth documentation#133

Merged
pyramation merged 1 commit into
mainfrom
docs/event-referral-max-depth
May 20, 2026
Merged

docs(constructive-sdk-events): add EventReferral max_depth documentation#133
pyramation merged 1 commit into
mainfrom
docs/event-referral-max-depth

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

Summary

Documents the new max_depth parameter on EventReferral that enables multi-level MLM referral chains. This was implemented in:

Changes:

  1. SKILL.md — Added a full EventReferral Blueprint Node section with:

    • Blueprint JSON example showing max_depth: 5
    • Config reference table (all 7 parameters including max_depth)
    • Toggles & Controls section (build-time, runtime, scope constraint)
    • "How Multi-Level Works" explanation with pseudocode
    • Updated description with max_depth, multi-level referral, MLM, referral chain trigger phrases
  2. references/event-referral.md (new) — Deep reference covering:

    • Single-level vs multi-level examples
    • Full config reference table with constraints
    • Complete MLM blueprint example (5-level referral with tiered achievements)
    • Attenuation design explanation
    • Performance notes
    • Composition with has_invite_achievements
  3. references/invite-virality.md — Added "Multi-Level Referral Chains" section linking to the new reference file

  4. Repackaged constructive-sdk-events.zip

Review & Testing Checklist for Human

  • Verify the blueprint JSON examples are valid and match the actual parameter_schema
  • Check that the attenuation explanation is clear for non-technical readers

Notes

Low-risk docs-only change. No code modifications.

Link to Devin session: https://app.devin.ai/sessions/2ad5d38ab24e4d43ba283eb9ae8b5c81
Requested by: @pyramation

- Add EventReferral section to SKILL.md with config reference table
- Create references/event-referral.md with multi-level chain walk docs,
  MLM blueprint example, attenuation design, and toggle reference
- Update invite-virality.md with multi-level referral chain section
- Update description to include max_depth/MLM trigger phrases
- Repackage zip

Documents the max_depth feature added in:
  constructive-io/constructive#1201 (upstream node-type-registry)
  constructive-io/constructive-db#1261 (generator + tests)
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@pyramation pyramation merged commit 0baa3a7 into main May 20, 2026
2 checks passed
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