Repository navigation
Launch-readiness docs: security incident runbook, env var sync, architecture, release process - #877
Merged
Akatenvictor merged 5 commits intoNov 25, 2026
Conversation
…ompromise Covers a credential inventory, a rotation checklist, supply-chain compromise handling, and a contacts section pointing at GitHub private vulnerability reporting since this repo has no SECURITY.md yet. Closes AudioBitsStellar#866
…ES.md .env.example was missing the Stellar network variables (NEXT_PUBLIC_ STELLAR_NETWORK and its four URL/passphrase overrides) even though lib/stellarConfig.ts, lib/stellarNetwork.ts and friends already read them. The Dockerfile carried a stale, duplicated NEXT_PUBLIC_DYNAMIC_ENV_ID ARG/ENV pair that nothing in the source reads anymore, and was missing NEXT_PUBLIC_FEATURE_ARTIST_PERKS and the five Stellar variables as build ARGs, so a Docker build silently couldn't override them. Several already-used variables (NEXT_PUBLIC_API_URL, NEXT_PUBLIC_SITE_URL, NEXT_PUBLIC_MEDIA_HOST, NEXT_PUBLIC_IPFS_GATEWAY, NEXT_PUBLIC_API_MOCKING, the Sentry variables, the playback-event variables) were never documented in docs/ENVIRONMENT_VARIABLES.md. Add scripts/check-env-sync.mjs and wire it into test.yml as a new env-sync job so these three sources of truth can't drift out of sync again silently. Closes AudioBitsStellar#867
…a flow Adds docs/ARCHITECTURE.md as the cross-cutting reference tying together auth, streaming, the two independent media paths (backend CDN vs. IPFS gateway), on-chain collection data, and the AI quality gate, with a lifecycle walkthrough for each. Links out to the existing specialized docs (api-contract.md, STELLAR_TRANSACTION_FLOW.md, IPFS_INTEGRATION.md, LISTENER_WALLET_RELEASES_PLAYBACK.md) instead of duplicating them, and cross-links from the README's existing Architecture Overview section. Closes AudioBitsStellar#868
Explains the existing semantic-release pipeline in release.yml: which Conventional Commit types trigger a release under its default conventional-commits preset (notably that this repo's custom a11y and security types do not, absent a .releaserc), that release notes land as GitHub Releases rather than a committed CHANGELOG.md since no changelog/git plugin is configured, and the one-conventional-commit- per-PR hygiene that keeps those generated notes meaningful. Flags the points a maintainer should verify (no releases observed yet, the private-package / NPM_TOKEN tension) rather than asserting them as confirmed behavior. Closes AudioBitsStellar#869
|
@blackbutterflyy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Summary
Four launch-readiness documentation/DX issues from the Stellar Wave 11 batch:
docs/SECURITY_INCIDENT_RUNBOOK.md: credential inventory, a rotation checklist, supply-chain compromise handling, and a contacts section (this repo has noSECURITY.md/named contact yet, so it points at GitHub's private vulnerability reporting instead of inventing a name)..env.example, Dockerfile build args anddocs/ENVIRONMENT_VARIABLES.md#867 (DOC-03) — syncs.env.example, theDockerfilebuildARGs anddocs/ENVIRONMENT_VARIABLES.md, which had drifted (a stale/duplicatedNEXT_PUBLIC_DYNAMIC_ENV_IDARG, missing Stellar network vars, several documented-nowhere variables). Addsscripts/check-env-sync.mjsas an automated CI check (env-syncjob intest.yml) so the three stay in sync going forward.docs/ARCHITECTURE.md: the listener/backend/chain/media lifecycle (auth, streaming, the two independent media paths, on-chain collection data, the AI quality gate), cross-linked from the README's existing architecture diagrams instead of duplicating them.semantic-releaseviarelease.yml) and changelog hygiene inCONTRIBUTING.md, including which commit types actually trigger a release under the default preset and where the generated changelog ends up.Each doc flags open questions as (verify) rather than asserting unconfirmed behavior, consistent with this repo's existing docs (e.g.
api-contract.md).Note for maintainers (not part of this PR's scope)
While validating these changes I found
package-lock.jsononmaincontains an unresolved git merge conflict (<<<<<<< HEAD/>>>>>>> 6ee986c, ~29 blocks) going back to the "Implement Stellar wallet integration" merge. It breaksnpm cifor a clean checkout, andtest.ymlhas been failing on every push tomainsince 2026-10-21 as a result. I didn't touch it here since it's unrelated to these four issues and resolving it correctly needs a maintainer call on which side's dependencies (e.g.@sentry/nextjs, which is imported insentry.client.config.ts/instrumentation.tsbut isn't inpackage.jsonat all) are the intended ones — happy to pick it up as a separate issue/PR if useful.Test plan
node scripts/check-env-sync.mjspasses against the updated.env.example/Dockerfile/docs, and fails with a clear report when a variable is intentionally desynced (verified manually, then reverted).package.jsonand.github/workflows/test.ymlas valid JSON/YAML.docs/ENVIRONMENT_VARIABLES.mdandCONTRIBUTING.mdadditions againstprettier@3.6.2(the pinned version) — no new formatting issues beyond what already exists onmain.npm run lint/npm test/ the rest of the CI suite locally becausenpm cifails onmaindue to thepackage-lock.jsonconflict noted above (pre-existing, not introduced by this PR).Closes #866, Closes #867, Closes #868, Closes #869