mirror of
https://github.com/iflytek/skillhub.git
synced 2026-11-27 23:58:51 +00:00
* docs(openspec): propose split API token skill capabilities Define five token capabilities (read, submit, publish-private, manage, delete), the route mapping, combined-operation limits, token minting limits, legacy token and CLI compatibility, and negative test design. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <xiaoyaner0201@users.noreply.github.com> * docs(openspec): clarify token compatibility and bundle snapshot boundaries Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * docs(auth): inventory Bundle authorization provenance Record persisted evidence and fail-closed recovery rules before implementing snapshots. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * feat(auth): split token capabilities and classify route policies Preserve Suite deletion authorization and verify legacy route compatibility against the original ordered catalog. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * feat(auth): enforce token ceilings on combined skill operations Persist Bundle initiator capability snapshots and fail closed on unknown historical authority during recovery and retry. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * feat(auth): bound token issuance and expose effective capabilities Validate requested scopes and expiry before rotation or extension. Expose capability discovery and machine-readable authorization errors without broadening token privileges. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * feat(tokens): add Web capability presets and CLI authorization guidance Issue candidate-only login tokens, display effective capabilities and legacy compatibility, and require explicit delete authorization without automatic reissuance. Verify real HTTP candidate and legacy publication flows. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * docs(auth): document token capabilities and upgrade boundaries Describe bounded issuance, compatibility aliases, CLI delete authorization, administrator upload changes, fail-closed Bundle recovery and the omitted-scopes deprecation schedule. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * docs(auth): align capability action boundaries Document manage authorization for review withdrawal and keep DTO imports formatted with backend conventions. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * fix(publish): limit visibility ceiling check to token calls Session uploads keep their previous path, and a missing locked row no longer raises a null pointer before the existing visibility checks run. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * fix(auth): preserve rerelease ceilings and explain bundle blocks Carry token capabilities through rerelease and resolve visibility under the publication lock. Localize permanent Bundle authorization failures and hide ineffective retry actions. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * fix(auth): classify main's public routes and renumber bundle snapshot migration main added public GET site-presentation routes and its own V122 migration. Record the new routes in the catalog baseline as unchanged public routes and move the Bundle authorization snapshot to V123. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * test(site): pin presentation upgrade check to V122 The upgrade test counted every migration after V121; with the Bundle snapshot now at V123 it saw two. Target V122 so it keeps checking only the presentation seed. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * fix(auth): compare token expiry ceilings at stored precision Token expiry is stored at microsecond precision. On Linux CI Instant.now() carries nanoseconds, so a child token asking for exactly its parent's expiry compared as later and was rejected. Truncate requested expiry to microseconds before the ceiling check. Refs #1049 Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> * fix(auth): renumber bundle snapshot migration after main's V123 main |
||
|---|---|---|
| .. | ||
| api-token-capabilities | ||