@ankhorage/atlas 0.19.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +4 -4
  3. package/.next/fallback-build-manifest.json +3 -3
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/server/app/_global-error/page/build-manifest.json +1 -1
  6. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  7. package/.next/server/app/_global-error.html +1 -1
  8. package/.next/server/app/_global-error.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  12. package/.next/server/app/_not-found/page/build-manifest.json +1 -1
  13. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  14. package/.next/server/app/_not-found.html +1 -1
  15. package/.next/server/app/_not-found.rsc +1 -1
  16. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  19. package/.next/server/app/api/auth/github/callback/route.js +2 -2
  20. package/.next/server/app/api/auth/github/callback/route.js.nft.json +1 -1
  21. package/.next/server/app/api/auth/github/login/route.js +2 -2
  22. package/.next/server/app/api/auth/github/login/route.js.nft.json +1 -1
  23. package/.next/server/app/api/auth/github/logout/route.js +2 -2
  24. package/.next/server/app/api/auth/github/logout/route.js.nft.json +1 -1
  25. package/.next/server/app/api/dependency-graph/route.js.nft.json +1 -1
  26. package/.next/server/app/api/workspace/retry/route.js +3 -3
  27. package/.next/server/app/api/workspace/retry/route.js.nft.json +1 -1
  28. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  29. package/.next/server/app/page/build-manifest.json +1 -1
  30. package/.next/server/app/page/server-reference-manifest.json +5 -5
  31. package/.next/server/app/page.js +3 -3
  32. package/.next/server/app/page.js.nft.json +1 -1
  33. package/.next/server/chunks/[externals]__16594cb._.js +3 -0
  34. package/.next/server/chunks/[root-of-the-server]__112op4w._.js +3 -0
  35. package/.next/server/chunks/[root-of-the-server]__112op4w._.js.map +1 -0
  36. package/.next/server/chunks/[root-of-the-server]__1z32dpt._.js +3 -0
  37. package/.next/server/chunks/[root-of-the-server]__1z32dpt._.js.map +1 -0
  38. package/.next/server/chunks/[turbopack]_runtime.js +0 -132
  39. package/.next/server/chunks/[turbopack]_runtime.js.map +4 -5
  40. package/.next/server/chunks/_0clm3_5._.js +3 -0
  41. package/.next/server/chunks/_0clm3_5._.js.map +1 -0
  42. package/.next/server/chunks/_12-q8rr._.js +3 -0
  43. package/.next/server/chunks/_12-q8rr._.js.map +1 -0
  44. package/.next/server/chunks/_1m2ujwq._.js +3 -0
  45. package/.next/server/chunks/_1m2ujwq._.js.map +1 -0
  46. package/.next/server/chunks/_1upfrua._.js +3 -0
  47. package/.next/server/chunks/_1upfrua._.js.map +1 -0
  48. package/.next/server/chunks/ssr/[root-of-the-server]__0_6mxrx._.js +1 -1
  49. package/.next/server/chunks/ssr/[root-of-the-server]__1rpv02p._.js +3 -0
  50. package/.next/server/chunks/ssr/{[root-of-the-server]__1qwwuix._.js.map → [root-of-the-server]__1rpv02p._.js.map} +1 -1
  51. package/.next/server/chunks/ssr/[turbopack]_runtime.js +0 -132
  52. package/.next/server/chunks/ssr/[turbopack]_runtime.js.map +4 -5
  53. package/.next/server/chunks/ssr/{_0itx4l8._.js → _0lahb16._.js} +4 -4
  54. package/.next/server/chunks/ssr/_0lahb16._.js.map +1 -0
  55. package/.next/server/chunks/ssr/{_0jl3v86._.js → _14-yori._.js} +4 -21
  56. package/.next/server/chunks/ssr/_14-yori._.js.map +1 -0
  57. package/.next/server/middleware-build-manifest.js +4 -4
  58. package/.next/server/pages/404.html +1 -1
  59. package/.next/server/pages/500.html +1 -1
  60. package/.next/server/server-reference-manifest.js +1 -1
  61. package/.next/server/server-reference-manifest.json +6 -6
  62. package/.next/static/chunks/turbopack-16xk2dc34e79s.js +1 -0
  63. package/CHANGELOG.md +6 -0
  64. package/README.md +1 -1
  65. package/package.json +1 -3
  66. package/paradox/badges/npm.svg +3 -3
  67. package/paradox/diagrams/architecture-overview.mmd +9 -10
  68. package/paradox/diagrams/export-graph.mmd +2 -3
  69. package/paradox/diagrams/module-relationships.mmd +7 -7
  70. package/paradox/index.html +138 -177
  71. package/paradox/paradox.json +295 -519
  72. package/src/app/api/auth/github/callback/route.ts +5 -8
  73. package/src/app/api/auth/github/login/route.ts +6 -10
  74. package/src/app/api/auth/github/logout/route.ts +5 -2
  75. package/src/features/github-auth/adapters/inbound/next/createGitHubAuthCookieStores.ts +58 -0
  76. package/src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts +9 -39
  77. package/src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts +3 -9
  78. package/src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts +102 -14
  79. package/src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts +7 -7
  80. package/src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts +23 -48
  81. package/.next/server/chunks/[externals]__047_j9_._.js +0 -3
  82. package/.next/server/chunks/[root-of-the-server]__0kl17_6._.js +0 -3
  83. package/.next/server/chunks/[root-of-the-server]__0kl17_6._.js.map +0 -1
  84. package/.next/server/chunks/[root-of-the-server]__0zc0_9_._.js +0 -3
  85. package/.next/server/chunks/[root-of-the-server]__0zc0_9_._.js.map +0 -1
  86. package/.next/server/chunks/[root-of-the-server]__1-qgr16._.js +0 -3
  87. package/.next/server/chunks/[root-of-the-server]__1-qgr16._.js.map +0 -1
  88. package/.next/server/chunks/_0-0lsnu._.js +0 -3
  89. package/.next/server/chunks/_0-0lsnu._.js.map +0 -1
  90. package/.next/server/chunks/_0fcwlfe._.js +0 -20
  91. package/.next/server/chunks/_0fcwlfe._.js.map +0 -1
  92. package/.next/server/chunks/_0y7dqpe._.js +0 -20
  93. package/.next/server/chunks/_0y7dqpe._.js.map +0 -1
  94. package/.next/server/chunks/ssr/[root-of-the-server]__1qwwuix._.js +0 -3
  95. package/.next/server/chunks/ssr/_0itx4l8._.js.map +0 -1
  96. package/.next/server/chunks/ssr/_0jl3v86._.js.map +0 -1
  97. package/.next/static/chunks/turbopack-07w1w1kq0_rvo.js +0 -1
  98. package/src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts +0 -235
  99. package/src/features/github-auth/ports/githubAuthPersistence.ts +0 -18
  100. /package/.next/server/chunks/{[externals]__047_j9_._.js.map → [externals]__16594cb._.js.map} +0 -0
  101. /package/.next/static/{jK4WG3twdKtlEqfqG7nM8 → NwI5a9X0nGevMfhoRcBQT}/_buildManifest.js +0 -0
  102. /package/.next/static/{jK4WG3twdKtlEqfqG7nM8 → NwI5a9X0nGevMfhoRcBQT}/_clientMiddlewareManifest.js +0 -0
  103. /package/.next/static/{jK4WG3twdKtlEqfqG7nM8 → NwI5a9X0nGevMfhoRcBQT}/_ssgManifest.js +0 -0
@@ -14,7 +14,7 @@
14
14
  {
15
15
  "id": "npm",
16
16
  "label": "npm",
17
- "value": "v0.19.0",
17
+ "value": "v0.19.1",
18
18
  "color": "cb3837"
19
19
  },
20
20
  {
@@ -169,6 +169,7 @@
169
169
  "isEntrypoint": false,
170
170
  "dependencies": [
171
171
  "src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts",
172
+ "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
172
173
  "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
173
174
  ],
174
175
  "exports": [
@@ -644,6 +645,14 @@
644
645
  "projectDependencyGraph"
645
646
  ]
646
647
  },
648
+ {
649
+ "path": "src/features/github-auth/adapters/inbound/next/createGitHubAuthCookieStores.ts",
650
+ "isEntrypoint": false,
651
+ "dependencies": [],
652
+ "exports": [
653
+ "createGitHubAuthCookieStores"
654
+ ]
655
+ },
647
656
  {
648
657
  "path": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts",
649
658
  "isEntrypoint": false,
@@ -671,9 +680,11 @@
671
680
  "exports": [
672
681
  "clearGitHubAuthAttemptCookie",
673
682
  "clearGitHubAuthSessionCookie",
674
- "ensureGitHubAuthSessionId",
675
- "githubAuthCookieNames",
676
- "setGitHubAuthAttemptCookie"
683
+ "hasGitHubAuthCookieEncryptionKey",
684
+ "readGitHubAuthAttempt",
685
+ "readGitHubAuthSession",
686
+ "setGitHubAuthAttemptCookie",
687
+ "setGitHubAuthSessionCookie"
677
688
  ]
678
689
  },
679
690
  {
@@ -700,16 +711,6 @@
700
711
  "GitHubAuthControls"
701
712
  ]
702
713
  },
703
- {
704
- "path": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
705
- "isEntrypoint": false,
706
- "dependencies": [
707
- "src/features/github-auth/ports/githubAuthPersistence.ts"
708
- ],
709
- "exports": [
710
- "createPostgresGitHubAuthPersistence"
711
- ]
712
- },
713
714
  {
714
715
  "path": "src/features/github-auth/application/githubAuthConfiguration.ts",
715
716
  "isEntrypoint": false,
@@ -723,23 +724,14 @@
723
724
  "path": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts",
724
725
  "isEntrypoint": false,
725
726
  "dependencies": [
726
- "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
727
- "src/features/github-auth/application/githubAuthConfiguration.ts",
728
- "src/features/github-auth/ports/githubAuthPersistence.ts"
727
+ "src/features/github-auth/adapters/inbound/next/createGitHubAuthCookieStores.ts",
728
+ "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
729
+ "src/features/github-auth/application/githubAuthConfiguration.ts"
729
730
  ],
730
731
  "exports": [
731
732
  "createGitHubAuthAdapterAsync",
732
733
  "GitHubAuthAdapterAvailability",
733
- "rotateGitHubAuthSessionAsync"
734
- ]
735
- },
736
- {
737
- "path": "src/features/github-auth/ports/githubAuthPersistence.ts",
738
- "isEntrypoint": false,
739
- "dependencies": [],
740
- "exports": [
741
- "GitHubAuthPersistence",
742
- "GitHubAuthSessionWriteState"
734
+ "GitHubAuthAdapterInput"
743
735
  ]
744
736
  },
745
737
  {
@@ -2725,26 +2717,27 @@
2725
2717
  "exports": []
2726
2718
  },
2727
2719
  {
2728
- "path": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts",
2720
+ "path": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts",
2729
2721
  "isEntrypoint": false,
2730
2722
  "dependencies": [
2731
- "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts"
2723
+ "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
2732
2724
  ],
2733
2725
  "exports": []
2734
2726
  },
2735
2727
  {
2736
- "path": "test/src/features/github-auth/createGitHubLogoutRoute.spec.ts",
2728
+ "path": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts",
2737
2729
  "isEntrypoint": false,
2738
2730
  "dependencies": [
2739
- "src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts"
2731
+ "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts",
2732
+ "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
2740
2733
  ],
2741
2734
  "exports": []
2742
2735
  },
2743
2736
  {
2744
- "path": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
2737
+ "path": "test/src/features/github-auth/createGitHubLogoutRoute.spec.ts",
2745
2738
  "isEntrypoint": false,
2746
2739
  "dependencies": [
2747
- "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
2740
+ "src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts"
2748
2741
  ],
2749
2742
  "exports": []
2750
2743
  },
@@ -3278,7 +3271,7 @@
3278
3271
  "security": [],
3279
3272
  "sourceLocation": {
3280
3273
  "filePath": "src/app/api/auth/github/login/route.ts",
3281
- "line": 14,
3274
+ "line": 11,
3282
3275
  "column": 1
3283
3276
  }
3284
3277
  },
@@ -3289,7 +3282,7 @@
3289
3282
  "security": [],
3290
3283
  "sourceLocation": {
3291
3284
  "filePath": "src/app/api/auth/github/login/route.ts",
3292
- "line": 44,
3285
+ "line": 40,
3293
3286
  "column": 1
3294
3287
  }
3295
3288
  },
@@ -3300,7 +3293,7 @@
3300
3293
  "security": [],
3301
3294
  "sourceLocation": {
3302
3295
  "filePath": "src/app/api/auth/github/login/route.ts",
3303
- "line": 50,
3296
+ "line": 46,
3304
3297
  "column": 1
3305
3298
  }
3306
3299
  },
@@ -3311,7 +3304,7 @@
3311
3304
  "security": [],
3312
3305
  "sourceLocation": {
3313
3306
  "filePath": "src/app/api/auth/github/login/route.ts",
3314
- "line": 57,
3307
+ "line": 53,
3315
3308
  "column": 1
3316
3309
  }
3317
3310
  },
@@ -4548,24 +4541,24 @@
4548
4541
  }
4549
4542
  },
4550
4543
  {
4551
- "name": "createGitHubCallbackRoute",
4552
- "description": "Create the OAuth callback edge so failed session promotion never authenticates the pre-login browser identifier.",
4544
+ "name": "createGitHubAuthCookieStores",
4545
+ "description": "Adapt one request's encrypted cookie values to the published GitHub adapter stores without introducing a provider-specific OAuth flow.",
4553
4546
  "see": [],
4554
4547
  "security": [],
4555
4548
  "sourceLocation": {
4556
- "filePath": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts",
4557
- "line": 12,
4549
+ "filePath": "src/features/github-auth/adapters/inbound/next/createGitHubAuthCookieStores.ts",
4550
+ "line": 9,
4558
4551
  "column": 1
4559
4552
  }
4560
4553
  },
4561
4554
  {
4562
- "name": "readCookies",
4563
- "description": "Parse only the two host-owned opaque identifiers; all credential values remain server-side.",
4555
+ "name": "createGitHubCallbackRoute",
4556
+ "description": "Create the OAuth callback edge so failed session promotion never authenticates the pre-login browser identifier.",
4564
4557
  "see": [],
4565
4558
  "security": [],
4566
4559
  "sourceLocation": {
4567
4560
  "filePath": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts",
4568
- "line": 41,
4561
+ "line": 13,
4569
4562
  "column": 1
4570
4563
  }
4571
4564
  },
@@ -4576,13 +4569,13 @@
4576
4569
  "security": [],
4577
4570
  "sourceLocation": {
4578
4571
  "filePath": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts",
4579
- "line": 58,
4572
+ "line": 35,
4580
4573
  "column": 1
4581
4574
  }
4582
4575
  },
4583
4576
  {
4584
4577
  "name": "createGitHubLogoutRoute",
4585
- "description": "Create a same-origin logout route that only clears browser credentials after the server confirms session invalidation.",
4578
+ "description": "Create a same-origin local logout route; stateless cookies cannot centrally revoke copied sessions.",
4586
4579
  "see": [],
4587
4580
  "security": [],
4588
4581
  "sourceLocation": {
@@ -4592,35 +4585,24 @@
4592
4585
  }
4593
4586
  },
4594
4587
  {
4595
- "name": "readSessionId",
4596
- "description": "Read the host-only opaque session cookie without accepting similarly named cookies.",
4597
- "see": [],
4598
- "security": [],
4599
- "sourceLocation": {
4600
- "filePath": "src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts",
4601
- "line": 26,
4602
- "column": 1
4603
- }
4604
- },
4605
- {
4606
- "name": "ensureGitHubAuthSessionId",
4607
- "description": "Issue one opaque server-session identifier with production-safe browser attributes.",
4588
+ "name": "setGitHubAuthAttemptCookie",
4589
+ "description": "Store a short-lived OAuth attempt so the callback state is bound to the initiating browser.",
4608
4590
  "see": [],
4609
4591
  "security": [],
4610
4592
  "sourceLocation": {
4611
4593
  "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4612
- "line": 12,
4594
+ "line": 14,
4613
4595
  "column": 1
4614
4596
  }
4615
4597
  },
4616
4598
  {
4617
- "name": "setGitHubAuthAttemptCookie",
4618
- "description": "Bind the one-time OAuth attempt to the browser session without exposing provider state in URLs.",
4599
+ "name": "setGitHubAuthSessionCookie",
4600
+ "description": "Store a locally bounded GitHub session; provider tokens never appear in readable browser storage.",
4619
4601
  "see": [],
4620
4602
  "security": [],
4621
4603
  "sourceLocation": {
4622
4604
  "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4623
- "line": 23,
4605
+ "line": 25,
4624
4606
  "column": 1
4625
4607
  }
4626
4608
  },
@@ -4631,7 +4613,7 @@
4631
4613
  "security": [],
4632
4614
  "sourceLocation": {
4633
4615
  "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4634
- "line": 28,
4616
+ "line": 35,
4635
4617
  "column": 1
4636
4618
  }
4637
4619
  },
@@ -4642,7 +4624,7 @@
4642
4624
  "security": [],
4643
4625
  "sourceLocation": {
4644
4626
  "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4645
- "line": 33,
4627
+ "line": 40,
4646
4628
  "column": 1
4647
4629
  }
4648
4630
  },
@@ -4653,161 +4635,128 @@
4653
4635
  "security": [],
4654
4636
  "sourceLocation": {
4655
4637
  "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4656
- "line": 38,
4657
- "column": 1
4658
- }
4659
- },
4660
- {
4661
- "name": "readGitHubAuthViewAsync",
4662
- "description": "Read only client-safe GitHub account presentation data from the request-scoped server session.",
4663
- "see": [],
4664
- "security": [],
4665
- "sourceLocation": {
4666
- "filePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts",
4667
- "line": 8,
4668
- "column": 1
4669
- }
4670
- },
4671
- {
4672
- "name": "readGitHubRepositoryAuthenticationAsync",
4673
- "description": "Resolve a GitHub credential exclusively from the current server session for repository operations.",
4674
- "see": [],
4675
- "security": [],
4676
- "sourceLocation": {
4677
- "filePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts",
4678
- "line": 23,
4679
- "column": 1
4680
- }
4681
- },
4682
- {
4683
- "name": "GitHubAuthControls",
4684
- "description": "Render GitHub account actions in the existing ZORA header without exposing credentials to the client.",
4685
- "see": [],
4686
- "security": [],
4687
- "sourceLocation": {
4688
- "filePath": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx",
4689
- "line": 8,
4638
+ "line": 45,
4690
4639
  "column": 1
4691
4640
  }
4692
4641
  },
4693
4642
  {
4694
- "name": "createPostgresGitHubAuthPersistence",
4695
- "description": "Create encrypted, server-only PostgreSQL persistence for the GitHub OAuth port.",
4643
+ "name": "readGitHubAuthSession",
4644
+ "description": "Decode a verified session only in a server route or server component.",
4696
4645
  "see": [],
4697
4646
  "security": [],
4698
4647
  "sourceLocation": {
4699
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4700
- "line": 13,
4648
+ "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4649
+ "line": 50,
4701
4650
  "column": 1
4702
4651
  }
4703
4652
  },
4704
4653
  {
4705
- "name": "rotateSessionAsync",
4706
- "description": "Atomically replace the adapter-created pre-login session so crashes and database failures never authorize both cookie identifiers.",
4654
+ "name": "readGitHubAuthAttempt",
4655
+ "description": "Decode a verified authorization attempt only for the OAuth callback.",
4707
4656
  "see": [],
4708
4657
  "security": [],
4709
4658
  "sourceLocation": {
4710
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4711
- "line": 33,
4659
+ "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4660
+ "line": 58,
4712
4661
  "column": 1
4713
4662
  }
4714
4663
  },
4715
4664
  {
4716
- "name": "createAuthorizationAttemptStore",
4717
- "description": null,
4665
+ "name": "hasGitHubAuthCookieEncryptionKey",
4666
+ "description": "Report whether the deployment has a valid cookie key without exposing or deriving its value.",
4718
4667
  "see": [],
4719
4668
  "security": [],
4720
4669
  "sourceLocation": {
4721
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4722
- "line": 77,
4670
+ "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4671
+ "line": 70,
4723
4672
  "column": 1
4724
4673
  }
4725
4674
  },
4726
4675
  {
4727
- "name": "createSessionStore",
4728
- "description": null,
4676
+ "name": "sealCookieValue",
4677
+ "description": "Encrypt and authenticate cookie content with the deployment-owned 256-bit key.",
4729
4678
  "see": [],
4730
4679
  "security": [],
4731
4680
  "sourceLocation": {
4732
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4733
- "line": 116,
4681
+ "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4682
+ "line": 80,
4734
4683
  "column": 1
4735
4684
  }
4736
4685
  },
4737
4686
  {
4738
- "name": "saveSessionAsync",
4739
- "description": "Write an encrypted session through either a pooled query or the rotation transaction.",
4687
+ "name": "openCookieValue",
4688
+ "description": "Reject malformed, tampered, or incorrectly purposed cookie values without revealing their content.",
4740
4689
  "see": [],
4741
4690
  "security": [],
4742
4691
  "sourceLocation": {
4743
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4744
- "line": 163,
4692
+ "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4693
+ "line": 89,
4745
4694
  "column": 1
4746
4695
  }
4747
4696
  },
4748
4697
  {
4749
4698
  "name": "readEncryptionKey",
4750
- "description": "Reject malformed deployment secrets before any OAuth record can be read or written.",
4699
+ "description": "Require a stable, server-only encryption key rather than falling back to plaintext or process memory.",
4751
4700
  "see": [],
4752
4701
  "security": [],
4753
4702
  "sourceLocation": {
4754
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4755
- "line": 185,
4703
+ "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4704
+ "line": 112,
4756
4705
  "column": 1
4757
4706
  }
4758
4707
  },
4759
4708
  {
4760
- "name": "hashOpaqueId",
4761
- "description": "Hash browser-controlled opaque identifiers before durable storage.",
4709
+ "name": "isExpired",
4710
+ "description": "Reject locally expired sealed values even if a browser or attacker retains their cookie.",
4762
4711
  "see": [],
4763
4712
  "security": [],
4764
4713
  "sourceLocation": {
4765
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4766
- "line": 193,
4714
+ "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4715
+ "line": 121,
4767
4716
  "column": 1
4768
4717
  }
4769
4718
  },
4770
4719
  {
4771
- "name": "encryptPayload",
4772
- "description": "Encrypt one JSON payload with independent authenticated encryption material.",
4720
+ "name": "readCookie",
4721
+ "description": "Read only an exact host-owned cookie name.",
4773
4722
  "see": [],
4774
4723
  "security": [],
4775
4724
  "sourceLocation": {
4776
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4777
- "line": 198,
4725
+ "filePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
4726
+ "line": 126,
4778
4727
  "column": 1
4779
4728
  }
4780
4729
  },
4781
4730
  {
4782
- "name": "decryptPayload",
4783
- "description": "Decrypt only an authenticated record bound to its storage role and opaque session identifier.",
4731
+ "name": "readGitHubAuthViewAsync",
4732
+ "description": "Read only client-safe GitHub account presentation data from the request-scoped server session.",
4784
4733
  "see": [],
4785
4734
  "security": [],
4786
4735
  "sourceLocation": {
4787
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4788
- "line": 207,
4736
+ "filePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts",
4737
+ "line": 8,
4789
4738
  "column": 1
4790
4739
  }
4791
4740
  },
4792
4741
  {
4793
- "name": "authorizationAttemptAad",
4794
- "description": "Bind authorization attempts to their record purpose and their originating browser session.",
4742
+ "name": "readGitHubRepositoryAuthenticationAsync",
4743
+ "description": "Resolve a GitHub credential exclusively from the current server session for repository operations.",
4795
4744
  "see": [],
4796
4745
  "security": [],
4797
4746
  "sourceLocation": {
4798
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4799
- "line": 222,
4747
+ "filePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts",
4748
+ "line": 23,
4800
4749
  "column": 1
4801
4750
  }
4802
4751
  },
4803
4752
  {
4804
- "name": "sessionAad",
4805
- "description": "Bind sessions to their record purpose and their opaque browser identifier.",
4753
+ "name": "GitHubAuthControls",
4754
+ "description": "Render GitHub account actions in the existing ZORA header without exposing credentials to the client.",
4806
4755
  "see": [],
4807
4756
  "security": [],
4808
4757
  "sourceLocation": {
4809
- "filePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
4810
- "line": 227,
4758
+ "filePath": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx",
4759
+ "line": 8,
4811
4760
  "column": 1
4812
4761
  }
4813
4762
  },
@@ -4824,34 +4773,12 @@
4824
4773
  },
4825
4774
  {
4826
4775
  "name": "createGitHubAuthAdapterAsync",
4827
- "description": "Compose a request-scoped GitHub adapter only from trusted server configuration and durable storage.",
4828
- "see": [],
4829
- "security": [],
4830
- "sourceLocation": {
4831
- "filePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts",
4832
- "line": 12,
4833
- "column": 1
4834
- }
4835
- },
4836
- {
4837
- "name": "rotateGitHubAuthSessionAsync",
4838
- "description": "Rotate the opaque browser identifier after successful authorization so the pre-login session cannot authorize later requests.",
4776
+ "description": "Compose the released GitHub adapter against request-scoped encrypted-cookie values.",
4839
4777
  "see": [],
4840
4778
  "security": [],
4841
4779
  "sourceLocation": {
4842
4780
  "filePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts",
4843
- "line": 42,
4844
- "column": 1
4845
- }
4846
- },
4847
- {
4848
- "name": "getGitHubAuthPersistence",
4849
- "description": "Reuse one bounded server-side connection pool for identical deployment configuration.",
4850
- "see": [],
4851
- "security": [],
4852
- "sourceLocation": {
4853
- "filePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts",
4854
- "line": 54,
4781
+ "line": 10,
4855
4782
  "column": 1
4856
4783
  }
4857
4784
  },
@@ -4862,7 +4789,7 @@
4862
4789
  "security": [],
4863
4790
  "sourceLocation": {
4864
4791
  "filePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts",
4865
- "line": 69,
4792
+ "line": 45,
4866
4793
  "column": 1
4867
4794
  }
4868
4795
  },
@@ -10466,17 +10393,17 @@
10466
10393
  },
10467
10394
  {
10468
10395
  "fromPath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts",
10469
- "toPath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
10396
+ "toPath": "src/features/github-auth/adapters/inbound/next/createGitHubAuthCookieStores.ts",
10470
10397
  "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
10471
10398
  },
10472
10399
  {
10473
10400
  "fromPath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts",
10474
- "toPath": "src/features/github-auth/application/githubAuthConfiguration.ts",
10401
+ "toPath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
10475
10402
  "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
10476
10403
  },
10477
10404
  {
10478
10405
  "fromPath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts",
10479
- "toPath": "src/features/github-auth/ports/githubAuthPersistence.ts",
10406
+ "toPath": "src/features/github-auth/application/githubAuthConfiguration.ts",
10480
10407
  "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
10481
10408
  },
10482
10409
  {
@@ -11209,21 +11136,26 @@
11209
11136
  "toPath": "src/features/project-analysis/composition/readProjectSnapshotAsync.ts",
11210
11137
  "sourcePath": "test/src/features/dependency-analysis/typescriptDependencyGraph.spec.ts"
11211
11138
  },
11139
+ {
11140
+ "fromPath": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts",
11141
+ "toPath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts",
11142
+ "sourcePath": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts"
11143
+ },
11212
11144
  {
11213
11145
  "fromPath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts",
11214
11146
  "toPath": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts",
11215
11147
  "sourcePath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts"
11216
11148
  },
11149
+ {
11150
+ "fromPath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts",
11151
+ "toPath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
11152
+ "sourcePath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts"
11153
+ },
11217
11154
  {
11218
11155
  "fromPath": "test/src/features/github-auth/createGitHubLogoutRoute.spec.ts",
11219
11156
  "toPath": "src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts",
11220
11157
  "sourcePath": "test/src/features/github-auth/createGitHubLogoutRoute.spec.ts"
11221
11158
  },
11222
- {
11223
- "fromPath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
11224
- "toPath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
11225
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
11226
- },
11227
11159
  {
11228
11160
  "fromPath": "test/src/features/graph-view/createCompoundOpacityIndex.spec.ts",
11229
11161
  "toPath": "src/features/graph-view/utils/createCompoundOpacityIndex.ts",
@@ -11974,6 +11906,11 @@
11974
11906
  "toPath": "src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts",
11975
11907
  "sourcePath": "src/app/api/auth/github/logout/route.ts"
11976
11908
  },
11909
+ {
11910
+ "fromPath": "src/app/api/auth/github/logout/route.ts",
11911
+ "toPath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts",
11912
+ "sourcePath": "src/app/api/auth/github/logout/route.ts"
11913
+ },
11977
11914
  {
11978
11915
  "fromPath": "src/app/api/auth/github/logout/route.ts",
11979
11916
  "toPath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts",
@@ -12119,11 +12056,6 @@
12119
12056
  "toPath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts",
12120
12057
  "sourcePath": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx"
12121
12058
  },
12122
- {
12123
- "fromPath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts",
12124
- "toPath": "src/features/github-auth/ports/githubAuthPersistence.ts",
12125
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
12126
- },
12127
12059
  {
12128
12060
  "fromPath": "src/features/graph-view/adapters/inbound/cytoscape/constants.ts",
12129
12061
  "toPath": "src/features/graph-view/adapters/inbound/cytoscape/breadthfirst/layout.ts",
@@ -15002,50 +14934,20 @@
15002
14934
  },
15003
14935
  {
15004
14936
  "fromSymbol": "createGitHubAuthAdapterAsync",
15005
- "toSymbol": "getGitHubAuthPersistence",
15006
- "callExpression": "getGitHubAuthPersistence",
15007
- "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
15008
- },
15009
- {
15010
- "fromSymbol": "createGitHubAuthAdapterAsync",
15011
- "toSymbol": "createGitHubAuthAdapter",
15012
- "callExpression": "createGitHubAuthAdapter",
14937
+ "toSymbol": "hasGitHubAuthCookieEncryptionKey",
14938
+ "callExpression": "hasGitHubAuthCookieEncryptionKey",
15013
14939
  "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
15014
14940
  },
15015
14941
  {
15016
14942
  "fromSymbol": "createGitHubAuthAdapterAsync",
15017
- "toSymbol": "createAuthorizationAttemptStore",
15018
- "callExpression": "persistence.createAuthorizationAttemptStore",
14943
+ "toSymbol": "createGitHubAuthCookieStores",
14944
+ "callExpression": "createGitHubAuthCookieStores",
15019
14945
  "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
15020
14946
  },
15021
14947
  {
15022
14948
  "fromSymbol": "createGitHubAuthAdapterAsync",
15023
- "toSymbol": "createSessionStore",
15024
- "callExpression": "persistence.createSessionStore",
15025
- "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
15026
- },
15027
- {
15028
- "fromSymbol": "rotateGitHubAuthSessionAsync",
15029
- "toSymbol": "readGitHubAuthEnvironment",
15030
- "callExpression": "readGitHubAuthEnvironment",
15031
- "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
15032
- },
15033
- {
15034
- "fromSymbol": "rotateGitHubAuthSessionAsync",
15035
- "toSymbol": "getGitHubAuthPersistence",
15036
- "callExpression": "getGitHubAuthPersistence",
15037
- "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
15038
- },
15039
- {
15040
- "fromSymbol": "rotateGitHubAuthSessionAsync",
15041
- "toSymbol": "rotateSessionAsync",
15042
- "callExpression": "persistence.rotateSessionAsync",
15043
- "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
15044
- },
15045
- {
15046
- "fromSymbol": "getGitHubAuthPersistence",
15047
- "toSymbol": "createPostgresGitHubAuthPersistence",
15048
- "callExpression": "createPostgresGitHubAuthPersistence",
14949
+ "toSymbol": "createGitHubAuthAdapter",
14950
+ "callExpression": "createGitHubAuthAdapter",
15049
14951
  "sourcePath": "src/features/github-auth/composition/createGitHubAuthAdapterAsync.ts"
15050
14952
  },
15051
14953
  {
@@ -17322,6 +17224,30 @@
17322
17224
  "callExpression": "rm",
17323
17225
  "sourcePath": "test/src/features/dependency-analysis/typescriptDependencyGraph.spec.ts"
17324
17226
  },
17227
+ {
17228
+ "fromSymbol": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts",
17229
+ "toSymbol": "describe",
17230
+ "callExpression": "describe",
17231
+ "sourcePath": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts"
17232
+ },
17233
+ {
17234
+ "fromSymbol": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts",
17235
+ "toSymbol": "it",
17236
+ "callExpression": "it",
17237
+ "sourcePath": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts"
17238
+ },
17239
+ {
17240
+ "fromSymbol": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts",
17241
+ "toSymbol": "createGitHubAuthAdapterAsync",
17242
+ "callExpression": "createGitHubAuthAdapterAsync",
17243
+ "sourcePath": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts"
17244
+ },
17245
+ {
17246
+ "fromSymbol": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts",
17247
+ "toSymbol": "restoreEnvironmentValue",
17248
+ "callExpression": "restoreEnvironmentValue",
17249
+ "sourcePath": "test/src/features/github-auth/createGitHubAuthAdapterAsync.spec.ts"
17250
+ },
17325
17251
  {
17326
17252
  "fromSymbol": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts",
17327
17253
  "toSymbol": "describe",
@@ -17352,6 +17278,48 @@
17352
17278
  "callExpression": "callbackRequest",
17353
17279
  "sourcePath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts"
17354
17280
  },
17281
+ {
17282
+ "fromSymbol": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts",
17283
+ "toSymbol": "sessionCookie",
17284
+ "callExpression": "sessionCookie",
17285
+ "sourcePath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts"
17286
+ },
17287
+ {
17288
+ "fromSymbol": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts",
17289
+ "toSymbol": "readGitHubAuthSession",
17290
+ "callExpression": "readGitHubAuthSession",
17291
+ "sourcePath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts"
17292
+ },
17293
+ {
17294
+ "fromSymbol": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts",
17295
+ "toSymbol": "readGitHubAuthAttempt",
17296
+ "callExpression": "readGitHubAuthAttempt",
17297
+ "sourcePath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts"
17298
+ },
17299
+ {
17300
+ "fromSymbol": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts",
17301
+ "toSymbol": "attemptCookie",
17302
+ "callExpression": "attemptCookie",
17303
+ "sourcePath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts"
17304
+ },
17305
+ {
17306
+ "fromSymbol": "callbackRequest",
17307
+ "toSymbol": "setGitHubAuthAttemptCookie",
17308
+ "callExpression": "setGitHubAuthAttemptCookie",
17309
+ "sourcePath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts"
17310
+ },
17311
+ {
17312
+ "fromSymbol": "attemptCookie",
17313
+ "toSymbol": "setGitHubAuthAttemptCookie",
17314
+ "callExpression": "setGitHubAuthAttemptCookie",
17315
+ "sourcePath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts"
17316
+ },
17317
+ {
17318
+ "fromSymbol": "sessionCookie",
17319
+ "toSymbol": "setGitHubAuthSessionCookie",
17320
+ "callExpression": "setGitHubAuthSessionCookie",
17321
+ "sourcePath": "test/src/features/github-auth/createGitHubCallbackRoute.spec.ts"
17322
+ },
17355
17323
  {
17356
17324
  "fromSymbol": "test/src/features/github-auth/createGitHubLogoutRoute.spec.ts",
17357
17325
  "toSymbol": "describe",
@@ -17382,132 +17350,6 @@
17382
17350
  "callExpression": "logoutRequest",
17383
17351
  "sourcePath": "test/src/features/github-auth/createGitHubLogoutRoute.spec.ts"
17384
17352
  },
17385
- {
17386
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17387
- "toSymbol": "randomBytes",
17388
- "callExpression": "randomBytes",
17389
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17390
- },
17391
- {
17392
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17393
- "toSymbol": "describe",
17394
- "callExpression": "describe",
17395
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17396
- },
17397
- {
17398
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17399
- "toSymbol": "it",
17400
- "callExpression": "it",
17401
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17402
- },
17403
- {
17404
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17405
- "toSymbol": "createPersistence",
17406
- "callExpression": "createPersistence",
17407
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17408
- },
17409
- {
17410
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17411
- "toSymbol": "createSessionStore",
17412
- "callExpression": "persistence.createSessionStore",
17413
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17414
- },
17415
- {
17416
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17417
- "toSymbol": "session",
17418
- "callExpression": "session",
17419
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17420
- },
17421
- {
17422
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17423
- "toSymbol": "createDatabasePool",
17424
- "callExpression": "createDatabasePool",
17425
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17426
- },
17427
- {
17428
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17429
- "toSymbol": "rotateSessionAsync",
17430
- "callExpression": "persistence.rotateSessionAsync",
17431
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17432
- },
17433
- {
17434
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17435
- "toSymbol": "createAuthorizationAttemptStore",
17436
- "callExpression": "persistence.createAuthorizationAttemptStore",
17437
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17438
- },
17439
- {
17440
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17441
- "toSymbol": "attempt",
17442
- "callExpression": "attempt",
17443
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17444
- },
17445
- {
17446
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17447
- "toSymbol": "createAuthorizationAttemptStore",
17448
- "callExpression": "persistence\n .createAuthorizationAttemptStore",
17449
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17450
- },
17451
- {
17452
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17453
- "toSymbol": "createSessionStore",
17454
- "callExpression": "firstProcess.createSessionStore",
17455
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17456
- },
17457
- {
17458
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17459
- "toSymbol": "createSessionStore",
17460
- "callExpression": "restartedProcess.createSessionStore",
17461
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17462
- },
17463
- {
17464
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17465
- "toSymbol": "createHash",
17466
- "callExpression": "createHash",
17467
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17468
- },
17469
- {
17470
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17471
- "toSymbol": "createPostgresGitHubAuthPersistence",
17472
- "callExpression": "createPostgresGitHubAuthPersistence",
17473
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17474
- },
17475
- {
17476
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17477
- "toSymbol": "requiredDatabaseUrl",
17478
- "callExpression": "requiredDatabaseUrl",
17479
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17480
- },
17481
- {
17482
- "fromSymbol": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts",
17483
- "toSymbol": "createSessionStore",
17484
- "callExpression": "unavailable.createSessionStore",
17485
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17486
- },
17487
- {
17488
- "fromSymbol": "createPersistence",
17489
- "toSymbol": "createPostgresGitHubAuthPersistence",
17490
- "callExpression": "createPostgresGitHubAuthPersistence",
17491
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17492
- },
17493
- {
17494
- "fromSymbol": "createPersistence",
17495
- "toSymbol": "requiredDatabaseUrl",
17496
- "callExpression": "requiredDatabaseUrl",
17497
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17498
- },
17499
- {
17500
- "fromSymbol": "createDatabasePool",
17501
- "toSymbol": "requiredDatabaseUrl",
17502
- "callExpression": "requiredDatabaseUrl",
17503
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17504
- },
17505
- {
17506
- "fromSymbol": "attempt",
17507
- "toSymbol": "randomBytes",
17508
- "callExpression": "randomBytes",
17509
- "sourcePath": "test/src/features/github-auth/postgresGitHubAuthPersistence.spec.ts"
17510
- },
17511
17353
  {
17512
17354
  "fromSymbol": "test/src/features/graph-view/createCompoundOpacityIndex.spec.ts",
17513
17355
  "toSymbol": "describe",
@@ -20976,12 +20818,6 @@
20976
20818
  "callExpression": "readPrivateRepositoryAccess",
20977
20819
  "sourcePath": "src/app/api/auth/github/login/route.ts"
20978
20820
  },
20979
- {
20980
- "fromSymbol": "POST",
20981
- "toSymbol": "ensureGitHubAuthSessionId",
20982
- "callExpression": "ensureGitHubAuthSessionId",
20983
- "sourcePath": "src/app/api/auth/github/login/route.ts"
20984
- },
20985
20821
  {
20986
20822
  "fromSymbol": "POST",
20987
20823
  "toSymbol": "createGitHubAuthAdapterAsync",
@@ -20994,6 +20830,12 @@
20994
20830
  "callExpression": "githubAuthorizationScopes",
20995
20831
  "sourcePath": "src/app/api/auth/github/login/route.ts"
20996
20832
  },
20833
+ {
20834
+ "fromSymbol": "POST",
20835
+ "toSymbol": "readAuthorizationAttempt",
20836
+ "callExpression": "auth.readAuthorizationAttempt",
20837
+ "sourcePath": "src/app/api/auth/github/login/route.ts"
20838
+ },
20997
20839
  {
20998
20840
  "fromSymbol": "POST",
20999
20841
  "toSymbol": "setGitHubAuthAttemptCookie",
@@ -21018,6 +20860,12 @@
21018
20860
  "callExpression": "createGitHubLogoutRoute",
21019
20861
  "sourcePath": "src/app/api/auth/github/logout/route.ts"
21020
20862
  },
20863
+ {
20864
+ "fromSymbol": "src/app/api/auth/github/logout/route.ts",
20865
+ "toSymbol": "readGitHubAuthSession",
20866
+ "callExpression": "readGitHubAuthSession",
20867
+ "sourcePath": "src/app/api/auth/github/logout/route.ts"
20868
+ },
21021
20869
  {
21022
20870
  "fromSymbol": "src/app/api/auth/github/logout/route.ts",
21023
20871
  "toSymbol": "createGitHubAuthAdapterAsync",
@@ -21290,14 +21138,14 @@
21290
21138
  },
21291
21139
  {
21292
21140
  "fromSymbol": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts",
21293
- "toSymbol": "readCookies",
21294
- "callExpression": "readCookies",
21141
+ "toSymbol": "clearGitHubAuthAttemptCookie",
21142
+ "callExpression": "clearGitHubAuthAttemptCookie",
21295
21143
  "sourcePath": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts"
21296
21144
  },
21297
21145
  {
21298
21146
  "fromSymbol": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts",
21299
- "toSymbol": "clearGitHubAuthAttemptCookie",
21300
- "callExpression": "clearGitHubAuthAttemptCookie",
21147
+ "toSymbol": "readGitHubAuthAttempt",
21148
+ "callExpression": "readGitHubAuthAttempt",
21301
21149
  "sourcePath": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts"
21302
21150
  },
21303
21151
  {
@@ -21314,14 +21162,8 @@
21314
21162
  },
21315
21163
  {
21316
21164
  "fromSymbol": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts",
21317
- "toSymbol": "ensureGitHubAuthSessionId",
21318
- "callExpression": "ensureGitHubAuthSessionId",
21319
- "sourcePath": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts"
21320
- },
21321
- {
21322
- "fromSymbol": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts",
21323
- "toSymbol": "rotateSessionAsync",
21324
- "callExpression": "rotateSessionAsync",
21165
+ "toSymbol": "setGitHubAuthSessionCookie",
21166
+ "callExpression": "setGitHubAuthSessionCookie",
21325
21167
  "sourcePath": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts"
21326
21168
  },
21327
21169
  {
@@ -21330,12 +21172,6 @@
21330
21172
  "callExpression": "clearGitHubAuthSessionCookie",
21331
21173
  "sourcePath": "src/features/github-auth/adapters/inbound/next/createGitHubCallbackRoute.ts"
21332
21174
  },
21333
- {
21334
- "fromSymbol": "src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts",
21335
- "toSymbol": "readSessionId",
21336
- "callExpression": "readSessionId",
21337
- "sourcePath": "src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts"
21338
- },
21339
21175
  {
21340
21176
  "fromSymbol": "src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts",
21341
21177
  "toSymbol": "signOutAsync",
@@ -21355,214 +21191,154 @@
21355
21191
  "sourcePath": "src/features/github-auth/adapters/inbound/next/createGitHubLogoutRoute.ts"
21356
21192
  },
21357
21193
  {
21358
- "fromSymbol": "ensureGitHubAuthSessionId",
21359
- "toSymbol": "randomUUID",
21360
- "callExpression": "randomUUID",
21194
+ "fromSymbol": "setGitHubAuthAttemptCookie",
21195
+ "toSymbol": "sealCookieValue",
21196
+ "callExpression": "sealCookieValue",
21361
21197
  "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21362
21198
  },
21363
21199
  {
21364
- "fromSymbol": "ensureGitHubAuthSessionId",
21200
+ "fromSymbol": "setGitHubAuthAttemptCookie",
21365
21201
  "toSymbol": "cookieOptions",
21366
21202
  "callExpression": "cookieOptions",
21367
21203
  "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21368
21204
  },
21369
21205
  {
21370
- "fromSymbol": "setGitHubAuthAttemptCookie",
21371
- "toSymbol": "cookieOptions",
21372
- "callExpression": "cookieOptions",
21206
+ "fromSymbol": "setGitHubAuthSessionCookie",
21207
+ "toSymbol": "sealCookieValue",
21208
+ "callExpression": "sealCookieValue",
21373
21209
  "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21374
21210
  },
21375
21211
  {
21376
- "fromSymbol": "readGitHubAuthViewAsync",
21377
- "toSymbol": "cookies",
21378
- "callExpression": "cookies",
21379
- "sourcePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts"
21212
+ "fromSymbol": "setGitHubAuthSessionCookie",
21213
+ "toSymbol": "cookieOptions",
21214
+ "callExpression": "cookieOptions",
21215
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21380
21216
  },
21381
21217
  {
21382
- "fromSymbol": "readGitHubAuthViewAsync",
21383
- "toSymbol": "createGitHubAuthAdapterAsync",
21384
- "callExpression": "createGitHubAuthAdapterAsync",
21385
- "sourcePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts"
21218
+ "fromSymbol": "readGitHubAuthSession",
21219
+ "toSymbol": "readCookie",
21220
+ "callExpression": "readCookie",
21221
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21386
21222
  },
21387
21223
  {
21388
- "fromSymbol": "readGitHubRepositoryAuthenticationAsync",
21389
- "toSymbol": "cookies",
21390
- "callExpression": "cookies",
21391
- "sourcePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts"
21224
+ "fromSymbol": "readGitHubAuthSession",
21225
+ "toSymbol": "openCookieValue",
21226
+ "callExpression": "openCookieValue",
21227
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21392
21228
  },
21393
21229
  {
21394
- "fromSymbol": "readGitHubRepositoryAuthenticationAsync",
21395
- "toSymbol": "createGitHubAuthAdapterAsync",
21396
- "callExpression": "createGitHubAuthAdapterAsync",
21397
- "sourcePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts"
21230
+ "fromSymbol": "readGitHubAuthSession",
21231
+ "toSymbol": "isExpired",
21232
+ "callExpression": "isExpired",
21233
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21398
21234
  },
21399
21235
  {
21400
- "fromSymbol": "GitHubAuthControls",
21401
- "toSymbol": "useRef",
21402
- "callExpression": "useRef",
21403
- "sourcePath": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx"
21236
+ "fromSymbol": "readGitHubAuthAttempt",
21237
+ "toSymbol": "readCookie",
21238
+ "callExpression": "readCookie",
21239
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21404
21240
  },
21405
21241
  {
21406
- "fromSymbol": "GitHubAuthControls",
21407
- "toSymbol": "useState",
21408
- "callExpression": "useState",
21409
- "sourcePath": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx"
21242
+ "fromSymbol": "readGitHubAuthAttempt",
21243
+ "toSymbol": "openCookieValue",
21244
+ "callExpression": "openCookieValue",
21245
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21410
21246
  },
21411
21247
  {
21412
- "fromSymbol": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx",
21413
- "toSymbol": "setPrivateRepositoryAccess",
21414
- "callExpression": "setPrivateRepositoryAccess",
21415
- "sourcePath": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx"
21248
+ "fromSymbol": "readGitHubAuthAttempt",
21249
+ "toSymbol": "isExpired",
21250
+ "callExpression": "isExpired",
21251
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21416
21252
  },
21417
21253
  {
21418
- "fromSymbol": "createPostgresGitHubAuthPersistence",
21254
+ "fromSymbol": "hasGitHubAuthCookieEncryptionKey",
21419
21255
  "toSymbol": "readEncryptionKey",
21420
21256
  "callExpression": "readEncryptionKey",
21421
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21422
- },
21423
- {
21424
- "fromSymbol": "createAuthorizationAttemptStore",
21425
- "toSymbol": "createAuthorizationAttemptStore",
21426
- "callExpression": "createAuthorizationAttemptStore",
21427
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21428
- },
21429
- {
21430
- "fromSymbol": "createSessionStore",
21431
- "toSymbol": "createSessionStore",
21432
- "callExpression": "createSessionStore",
21433
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21434
- },
21435
- {
21436
- "fromSymbol": "rotateSessionAsync",
21437
- "toSymbol": "rotateSessionAsync",
21438
- "callExpression": "rotateSessionAsync",
21439
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21440
- },
21441
- {
21442
- "fromSymbol": "rotateSessionAsync",
21443
- "toSymbol": "hashOpaqueId",
21444
- "callExpression": "hashOpaqueId",
21445
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21446
- },
21447
- {
21448
- "fromSymbol": "rotateSessionAsync",
21449
- "toSymbol": "encryptPayload",
21450
- "callExpression": "encryptPayload",
21451
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21452
- },
21453
- {
21454
- "fromSymbol": "rotateSessionAsync",
21455
- "toSymbol": "sessionAad",
21456
- "callExpression": "sessionAad",
21457
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21458
- },
21459
- {
21460
- "fromSymbol": "rotateSessionAsync",
21461
- "toSymbol": "saveSessionAsync",
21462
- "callExpression": "saveSessionAsync",
21463
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21464
- },
21465
- {
21466
- "fromSymbol": "createAuthorizationAttemptStore",
21467
- "toSymbol": "hashOpaqueId",
21468
- "callExpression": "hashOpaqueId",
21469
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21470
- },
21471
- {
21472
- "fromSymbol": "create",
21473
- "toSymbol": "hashOpaqueId",
21474
- "callExpression": "hashOpaqueId",
21475
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21476
- },
21477
- {
21478
- "fromSymbol": "create",
21479
- "toSymbol": "encryptPayload",
21480
- "callExpression": "encryptPayload",
21481
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21257
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21482
21258
  },
21483
21259
  {
21484
- "fromSymbol": "create",
21485
- "toSymbol": "authorizationAttemptAad",
21486
- "callExpression": "authorizationAttemptAad",
21487
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21260
+ "fromSymbol": "sealCookieValue",
21261
+ "toSymbol": "randomBytes",
21262
+ "callExpression": "randomBytes",
21263
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21488
21264
  },
21489
21265
  {
21490
- "fromSymbol": "consume",
21491
- "toSymbol": "hashOpaqueId",
21492
- "callExpression": "hashOpaqueId",
21493
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21266
+ "fromSymbol": "sealCookieValue",
21267
+ "toSymbol": "createCipheriv",
21268
+ "callExpression": "createCipheriv",
21269
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21494
21270
  },
21495
21271
  {
21496
- "fromSymbol": "consume",
21497
- "toSymbol": "decryptPayload",
21498
- "callExpression": "decryptPayload",
21499
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21272
+ "fromSymbol": "sealCookieValue",
21273
+ "toSymbol": "readEncryptionKey",
21274
+ "callExpression": "readEncryptionKey",
21275
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21500
21276
  },
21501
21277
  {
21502
- "fromSymbol": "consume",
21503
- "toSymbol": "authorizationAttemptAad",
21504
- "callExpression": "authorizationAttemptAad",
21505
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21278
+ "fromSymbol": "openCookieValue",
21279
+ "toSymbol": "createDecipheriv",
21280
+ "callExpression": "createDecipheriv",
21281
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21506
21282
  },
21507
21283
  {
21508
- "fromSymbol": "createSessionStore",
21509
- "toSymbol": "hashOpaqueId",
21510
- "callExpression": "hashOpaqueId",
21511
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21284
+ "fromSymbol": "openCookieValue",
21285
+ "toSymbol": "readEncryptionKey",
21286
+ "callExpression": "readEncryptionKey",
21287
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/githubAuthCookies.ts"
21512
21288
  },
21513
21289
  {
21514
- "fromSymbol": "get",
21515
- "toSymbol": "decryptPayload",
21516
- "callExpression": "decryptPayload",
21517
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21290
+ "fromSymbol": "readGitHubAuthViewAsync",
21291
+ "toSymbol": "readGitHubAuthSession",
21292
+ "callExpression": "readGitHubAuthSession",
21293
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts"
21518
21294
  },
21519
21295
  {
21520
- "fromSymbol": "get",
21521
- "toSymbol": "sessionAad",
21522
- "callExpression": "sessionAad",
21523
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21296
+ "fromSymbol": "readGitHubAuthViewAsync",
21297
+ "toSymbol": "cookies",
21298
+ "callExpression": "cookies",
21299
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts"
21524
21300
  },
21525
21301
  {
21526
- "fromSymbol": "save",
21527
- "toSymbol": "saveSessionAsync",
21528
- "callExpression": "saveSessionAsync",
21529
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21302
+ "fromSymbol": "readGitHubAuthViewAsync",
21303
+ "toSymbol": "createGitHubAuthAdapterAsync",
21304
+ "callExpression": "createGitHubAuthAdapterAsync",
21305
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts"
21530
21306
  },
21531
21307
  {
21532
- "fromSymbol": "save",
21533
- "toSymbol": "encryptPayload",
21534
- "callExpression": "encryptPayload",
21535
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21308
+ "fromSymbol": "readGitHubRepositoryAuthenticationAsync",
21309
+ "toSymbol": "readGitHubAuthSession",
21310
+ "callExpression": "readGitHubAuthSession",
21311
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts"
21536
21312
  },
21537
21313
  {
21538
- "fromSymbol": "save",
21539
- "toSymbol": "sessionAad",
21540
- "callExpression": "sessionAad",
21541
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21314
+ "fromSymbol": "readGitHubRepositoryAuthenticationAsync",
21315
+ "toSymbol": "cookies",
21316
+ "callExpression": "cookies",
21317
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts"
21542
21318
  },
21543
21319
  {
21544
- "fromSymbol": "hashOpaqueId",
21545
- "toSymbol": "createHash",
21546
- "callExpression": "createHash",
21547
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21320
+ "fromSymbol": "readGitHubRepositoryAuthenticationAsync",
21321
+ "toSymbol": "createGitHubAuthAdapterAsync",
21322
+ "callExpression": "createGitHubAuthAdapterAsync",
21323
+ "sourcePath": "src/features/github-auth/adapters/inbound/next/readGitHubAuthViewAsync.ts"
21548
21324
  },
21549
21325
  {
21550
- "fromSymbol": "encryptPayload",
21551
- "toSymbol": "randomBytes",
21552
- "callExpression": "randomBytes",
21553
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21326
+ "fromSymbol": "GitHubAuthControls",
21327
+ "toSymbol": "useRef",
21328
+ "callExpression": "useRef",
21329
+ "sourcePath": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx"
21554
21330
  },
21555
21331
  {
21556
- "fromSymbol": "encryptPayload",
21557
- "toSymbol": "createCipheriv",
21558
- "callExpression": "createCipheriv",
21559
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21332
+ "fromSymbol": "GitHubAuthControls",
21333
+ "toSymbol": "useState",
21334
+ "callExpression": "useState",
21335
+ "sourcePath": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx"
21560
21336
  },
21561
21337
  {
21562
- "fromSymbol": "decryptPayload",
21563
- "toSymbol": "createDecipheriv",
21564
- "callExpression": "createDecipheriv",
21565
- "sourcePath": "src/features/github-auth/adapters/outbound/postgres/createPostgresGitHubAuthPersistence.ts"
21338
+ "fromSymbol": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx",
21339
+ "toSymbol": "setPrivateRepositoryAccess",
21340
+ "callExpression": "setPrivateRepositoryAccess",
21341
+ "sourcePath": "src/features/github-auth/adapters/inbound/react/GitHubAuthControls.tsx"
21566
21342
  },
21567
21343
  {
21568
21344
  "fromSymbol": "createPackageGraphElements",