feat: north-star metric endpoint and CTA rules - #14
Merged
Conversation
Implements the remaining marketing feedback items: - openclaw-service: new GET /api/stats returning streamsCreated (the contract's get-stream-nonce), workspacesRegistered, and block height, with a 60s in-memory cache. streamsCreated is the north-star metric; verified live against mainnet (9 streams at block 8,508,895). - MARKETING_PLAN_V2: north-star section (definition, baseline, 30-day target, operating rule) and a CTA rule with the canonical handle table; every public post ends with exactly one destination. - CONTENT_SCHEDULE: north-star and CTA rules added to the working rules block, plus a July-schedule section gated on the engagement review and the team's segment-focus decision. - The 60-second demo video script stays local only (gitignored with the other operational docs).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Implements the remaining items from the marketing review (points 1 and 2; the 60s demo video script from point 5 is kept in the local ops docs, not in the repo).
1. North-star metric —
GET /api/stats(OpenClaw service)Returns
streamsCreated(the stream-manager's ownget-stream-nonce),workspacesRegistered,blockHeight, and network, with a 60s cache so marketing polls can't burn Hiro quota. Sits behind the existing/apirate limiter.Verified live against mainnet:
{"streamsCreated": 9, "workspacesRegistered": 0, "blockHeight": 8508895}— cached second call served in 12ms.MARKETING_PLAN_V2.mdnow defines the metric: baseline 9 streams (Jul 8, 2026), 30-day target 40 by Aug 7 (team to confirm), why it beats "active streams" / "teams onboarded", and the operating rule: every post is judged by whether it gives someone a reason to open a stream.2. CTA rule + canonical handles
Every public post ends with exactly one CTA (default stackstream.xyz; demo clip or Telegram when they fit better). Handle table added so copy never improvises: @Stackstream0X, @dev_jayteee, t.me/dev_jaytee, Discord dev_jaytee (DM only — flagged that no server exists yet), founder LinkedIn. Forum + Grantees TG keep the soft-CTA exception. Rules added to both docs, plus a July-schedule section gated on the engagement review and the team's segment-focus decision.
Verify
tsc --noEmit) and/api/statstested end-to-end against mainnet