docs(fep): QuantPub rev 8 — camelCase payload; FitPub discussion draft (#905) - #1046
Draft
fiddur wants to merge 1 commit into
Draft
docs(fep): QuantPub rev 8 — camelCase payload; FitPub discussion draft (#905)#1046fiddur wants to merge 1 commit into
fiddur wants to merge 1 commit into
Conversation
…sion draft) (#905) - Payload fields and metric keys snake_case → lowerCamelCase, one casing across the JSON-LD and payload layers (matches AS2 and FitPub style; no Aurboda-compat burden yet — implementation catch-up follows review) - Deferred #1037 rev-8 polish: §8.5 parenthetical reworded, route resolution floor (RECOMMENDED ≤500 points), §7.1 promoted to §10, "despite §1" clause dropped, fep/README privacy blurb - Implementations: honest note that Aurboda still serves the rev-7 snake_case payload until naming settles Kept as Draft: discussion base for fitpub/fitpub#455. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CwoP1SqJhHgHiEEoEQtUjT
5 tasks
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.
Discussion base for fitpub/fitpub#455 — deliberately kept as Draft. Comment here or in #455.
The substantive FitPub alignment already merged in #1045 (rev 7): dual-typing relaxed to RECOMMENDED, the coexistence/incremental-adoption path (now §10), signed
GETs as an optional followers-only grant, theroutefield documented, expanded FitPub prior-art entry.This draft (rev 8)
startTime,apiBase,heartRateAvg, …), matching AS2 and FitPub style. Aurboda federation has essentially no external implementations yet, so there is no compat burden on our side; Aurboda's implementation catches up once naming settles here.QuantPub vs FitPub format (read from FitPub source, 2026-08-21)
Same architecture: plain
Note+ AS2startTime/endTime+ same-host pointer to an out-of-band detail payload (fitpub:{detailUri}≈quant:structuredUrl), SSRF-guarded best-effort enrichment./api/activities/{id}){key, value, unit}metrics,kinddiscriminatorfitpubproperty presence + NodeInfo/.well-known/quantpubGETGET(optional grant, §9)403404(unshared ≡ nonexistent)"Note"; inbound caststypeto StringBackwards compatibility for existing FitPub installations
Adoption is fully additive (§10) — no forced simultaneous upgrades:
/.well-known/quantpub+ the §5/§6 endpoints are new routes;/api/activities/{id}keeps serving unchanged.quant:*+quant:structuredUrlride alongsidefitpub.detailUrion the sameNote; old peers ignore unknown properties and see the object they saw before.typetoString, so an array would break un-upgraded peers), add the second type once the install base tolerates arrays.quant:structuredUrlreplaces the id convention.Independent of QuantPub: array-valued
typeis well-formed AS2 that FitPub's inbound handler should tolerate — Aurboda's dual-typed posts hit that cast today.🤖 Generated with Claude Code
https://claude.ai/code/session_01CwoP1SqJhHgHiEEoEQtUjT