feat(identity): redirect legacy Zhuyuan ids to ICE-P
This commit is contained in:
parent
263142cc6b
commit
aa6652a646
28 changed files with 491 additions and 106 deletions
|
|
@ -12,6 +12,7 @@
|
|||
- Legacy Fifth Domain history: https://guanghulab.com/fifth-domain/bingshuo/fifth-domain
|
||||
- Repository number map: https://guanghulab.com/api/ai/v1/repositories
|
||||
- Server node and persona route map: https://guanghulab.com/api/ai/v1/nodes
|
||||
- Human, persona and system subject registry: https://guanghulab.com/api/ai/v1/subjects
|
||||
- Search: https://guanghulab.com/api/ai/v1/search?q=光湖语言世界%20第五域
|
||||
- Resolve a code: https://guanghulab.com/api/ai/v1/resolve?id=REPO-001
|
||||
- Resolve Zhuyuan current loop: https://guanghulab.com/api/ai/v1/resolve?id=ZY-OPS-LOOP-001
|
||||
|
|
@ -30,8 +31,10 @@ historical backup routes only.
|
|||
|
||||
FD-NODE-MAP-001 publishes public-safe server node ids and persona route ids. Resolve
|
||||
the node id, read its navigation map, and obtain separate Lake Lamp authorization
|
||||
before any write operation. ICE-GL-ZY001 currently maps through ZY-OPS-LOOP-001 to
|
||||
JD-FD-PRIMARY.
|
||||
before any write operation. ICE-GL-ZY001 and ICE-PZY-001 first redirect through
|
||||
FD-SUBJECT-ID-ALIAS-MAP-001 to the canonical Zhuyuan persona id ICE-P-ZY001, which
|
||||
then maps through ZY-OPS-LOOP-001 to JD-FD-PRIMARY. The redirect changes navigation,
|
||||
not authority.
|
||||
|
||||
For any write operation from a phone or a non-local AI instance, create a public
|
||||
no-authority workorder. Give the returned request_url to Ice Shuo. The URL cannot
|
||||
|
|
|
|||
|
|
@ -20,7 +20,8 @@ test("front door keeps the legally required ICP link", () => {
|
|||
test("front door makes the new code channel the primary route", () => {
|
||||
assert.match(html, /href="\/code\/"/);
|
||||
assert.match(html, /光湖代码频道/);
|
||||
assert.match(llms, /https:\/\/guanghulab\.com\/code\/bingshuo\/fifth-domain/);
|
||||
assert.match(llms, /https:\/\/guanghulab\.com\/code\/bingshuo\/guanghu-ice-heart/);
|
||||
assert.match(llms, /ICE-GL-ZY001[\s\S]*ICE-P-ZY001/);
|
||||
assert.match(robots, /Allow: \/code\//);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue