Serve official contracts at exact-version API addresses #54
No reviewers
Labels
No labels
activitypub
actor
admin
ai-safety
article
articles
atproto
bug
cli
configuration
content
dev-environment
docker
enhancement
feature
federation
fediverse
forgejo
garage
health
how-to
logging
markdown
mastodon
media
navigation
opengraph
passkeys
preview
priority:medium
production
release
rendering
s3
settings
setup
status:active
status:done
status:inprogress
technical
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit.com!54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/task-c934d36b-contract-archive"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Slugkit.com's public documentation currently uses a major-version route and cannot retain official reference specifications by exact contract release. Move this site's live management API and metadata to
/api/1.1.0, remove/api/v1without an alias as explicitly requested, and update its documentation link. Serve exact packaged artifact bytes and provide a true contract-version selector, with historical references verified against a durable archive independent of website upgrades.Public archive reads use only the fixed official Forgejo source, omit caller credentials and reject redirects. Unknown versions return 404; failed storage or verification returns 503. Current installed specification access survives an archive outage. Interactive documentation uses the actual current live address while archived documents retain their original bytes; historical interactive requests are disabled. Existing management operations, storage, credentials and federation identity remain unchanged. Other generated sites and their API routes are unaffected.
Validation: complete local pre-PR checks passed (356 tests), including existing API operations at the new base, old-route removal, artifact byte equality, two-version retention through website recreation, credential isolation, failure behavior and documentation selection. A local browser verified the rendered selector and live server address. Initial archive publication is coordinated with the API repository PR; deployment and updating only this computer's Slugkit.com CLI base URL will happen after explicit merge approval. No database migration is needed.
Task: task-c934d36b. Rollout/rollback and forward-only historical policy:
docs/api-contract-archive.md. Production currently remains on the prior deployed image until integration is approved.Independent review
ffc3b0372c443c8619fd68fb0afd7f3c678f7700: approved, no actionable findings or warnings.715307233414dd64c4ea1ed2b4d4a437853dd9db: changes requested. Explicitly wire the existing short-lived Actions token into both the dedicated archive publication step and the normal API release archive step, consistent with existing repository release workflows.Coordinated independent review approved
ff2bb09d83c11508448521793a8ba05236f50613: approved. The sole prior finding is resolved by explicitly supplying the existing short-lived Actions token to both publication steps. Current-head CI run 518 passed, and full local pre-PR verification passed again (1,236 tests).ffc3b0372c443c8619fd68fb0afd7f3c678f7700: approved. Current-head CI run 47 and complete local verification (356 tests) passed. The independent reviewer confirmed the unchanged approved head./api/v1is unavailable locally; live preservation verification remains pending deployment.