@open-mercato/cezar 0.19.0-pr1908.4332 → 0.19.0-pr1908.4683
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.
- package/README.md +3 -2
- package/dist/agent-config/account-identity.js +3 -0
- package/dist/agent-config/account-identity.js.map +1 -1
- package/dist/agent-config/catalog.d.ts +7 -1
- package/dist/agent-config/catalog.js +174 -4
- package/dist/agent-config/catalog.js.map +1 -1
- package/dist/agent-config/model-settings/gemini.d.ts +8 -0
- package/dist/agent-config/model-settings/gemini.js +16 -0
- package/dist/agent-config/model-settings/gemini.js.map +1 -0
- package/dist/agent-config/model-settings/kimi.d.ts +7 -0
- package/dist/agent-config/model-settings/kimi.js +13 -0
- package/dist/agent-config/model-settings/kimi.js.map +1 -0
- package/dist/agent-config/model-settings/omp.d.ts +11 -0
- package/dist/agent-config/model-settings/omp.js +17 -0
- package/dist/agent-config/model-settings/omp.js.map +1 -0
- package/dist/agent-config/model-settings/shared.d.ts +6 -0
- package/dist/agent-config/model-settings/shared.js +17 -3
- package/dist/agent-config/model-settings/shared.js.map +1 -1
- package/dist/agent-config/models.js +6 -0
- package/dist/agent-config/models.js.map +1 -1
- package/dist/agent-config/validate.js +15 -0
- package/dist/agent-config/validate.js.map +1 -1
- package/dist/automations/automation-cli.d.ts +2 -0
- package/dist/automations/automation-cli.js +82 -2
- package/dist/automations/automation-cli.js.map +1 -1
- package/dist/automations/deferred-start.d.ts +5 -4
- package/dist/automations/deferred-start.js +5 -1
- package/dist/automations/deferred-start.js.map +1 -1
- package/dist/automations/paused-work.d.ts +24 -0
- package/dist/automations/paused-work.js +61 -0
- package/dist/automations/paused-work.js.map +1 -0
- package/dist/automations/pr-head.d.ts +3 -0
- package/dist/automations/pr-head.js +8 -4
- package/dist/automations/pr-head.js.map +1 -1
- package/dist/automations/prompts.js +1 -0
- package/dist/automations/prompts.js.map +1 -1
- package/dist/automations/store.d.ts +16 -0
- package/dist/automations/store.js +44 -0
- package/dist/automations/store.js.map +1 -1
- package/dist/automations/task-template.js +1 -0
- package/dist/automations/task-template.js.map +1 -1
- package/dist/automations/templates.js +1 -0
- package/dist/automations/templates.js.map +1 -1
- package/dist/automations/types.d.ts +24 -0
- package/dist/automations/types.js +2 -0
- package/dist/automations/types.js.map +1 -1
- package/dist/automations/validate-input.d.ts +188 -0
- package/dist/automations/validate-input.js +85 -0
- package/dist/automations/validate-input.js.map +1 -0
- package/dist/config.d.ts +12 -5
- package/dist/config.js +4 -12
- package/dist/config.js.map +1 -1
- package/dist/contract/agent-config.d.ts +9 -0
- package/dist/contract/agent-profiles.d.ts +74 -20
- package/dist/contract/agent.d.ts +12 -0
- package/dist/contract/artifacts.d.ts +138 -0
- package/dist/contract/assets.d.ts +83 -0
- package/dist/contract/automations.d.ts +158 -0
- package/dist/contract/dashboard-costs.d.ts +2 -0
- package/dist/contract/dashboard.d.ts +8 -0
- package/dist/contract/deferred-start.d.ts +33 -0
- package/dist/contract/dispatch.d.ts +9 -0
- package/dist/contract/events.d.ts +6 -0
- package/dist/contract/github.d.ts +13 -0
- package/dist/contract/health.d.ts +12 -0
- package/dist/contract/impact.d.ts +134 -0
- package/dist/contract/index.d.ts +6 -0
- package/dist/contract/index.js +2955 -2547
- package/dist/contract/managers.d.ts +79 -0
- package/dist/contract/runners.d.ts +15 -0
- package/dist/contract/runs.d.ts +292 -0
- package/dist/contract/skills.d.ts +67 -0
- package/dist/contract/telemetry.d.ts +5 -1
- package/dist/contract/transfer.d.ts +1932 -0
- package/dist/contract/workflows.d.ts +87 -0
- package/dist/contract/workspace-layouts.d.ts +6 -0
- package/dist/contract/workspace.d.ts +111 -37
- package/dist/core/agent-env.js +43 -1
- package/dist/core/agent-env.js.map +1 -1
- package/dist/core/agent-errors.d.ts +3 -0
- package/dist/core/agent-errors.js +13 -0
- package/dist/core/agent-errors.js.map +1 -1
- package/dist/core/agent-model-policy.d.ts +1 -1
- package/dist/core/agent-model-policy.js +1 -1
- package/dist/core/agent-model-policy.js.map +1 -1
- package/dist/core/agent-profiles.d.ts +19 -3
- package/dist/core/agent-profiles.js +27 -3
- package/dist/core/agent-profiles.js.map +1 -1
- package/dist/core/agent-runner.d.ts +44 -10
- package/dist/core/agent-runner.js +21 -7
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/antigravity-runner.js +2 -1
- package/dist/core/antigravity-runner.js.map +1 -1
- package/dist/core/backend-detect.d.ts +3 -2
- package/dist/core/backend-detect.js +80 -1
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/core/claude-cli-runner.js +30 -3
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/claude-model-catalog.d.ts +6 -1
- package/dist/core/claude-model-catalog.js +20 -0
- package/dist/core/claude-model-catalog.js.map +1 -1
- package/dist/core/claude-usage-status.d.ts +8 -0
- package/dist/core/claude-usage-status.js +48 -0
- package/dist/core/claude-usage-status.js.map +1 -0
- package/dist/core/codex-app-server-runner.d.ts +8 -0
- package/dist/core/codex-app-server-runner.js +84 -13
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/codex-model-catalog.js +42 -0
- package/dist/core/codex-model-catalog.js.map +1 -1
- package/dist/core/codex-ui-mapper.d.ts +7 -0
- package/dist/core/codex-ui-mapper.js +12 -2
- package/dist/core/codex-ui-mapper.js.map +1 -1
- package/dist/core/copilot-acp-runner.js +5 -1
- package/dist/core/copilot-acp-runner.js.map +1 -1
- package/dist/core/cursor-agent-runner.js +5 -1
- package/dist/core/cursor-agent-runner.js.map +1 -1
- package/dist/core/gemini-acp-runner.d.ts +37 -0
- package/dist/core/gemini-acp-runner.js +537 -0
- package/dist/core/gemini-acp-runner.js.map +1 -0
- package/dist/core/gemini-credentials.d.ts +21 -0
- package/dist/core/gemini-credentials.js +80 -0
- package/dist/core/gemini-credentials.js.map +1 -0
- package/dist/core/gemini-sessions.d.ts +18 -0
- package/dist/core/gemini-sessions.js +41 -0
- package/dist/core/gemini-sessions.js.map +1 -0
- package/dist/core/gemini-ui-mapper.d.ts +30 -0
- package/dist/core/gemini-ui-mapper.js +80 -0
- package/dist/core/gemini-ui-mapper.js.map +1 -0
- package/dist/core/junie-runner.js +2 -1
- package/dist/core/junie-runner.js.map +1 -1
- package/dist/core/kimi-home.d.ts +7 -0
- package/dist/core/kimi-home.js +13 -0
- package/dist/core/kimi-home.js.map +1 -0
- package/dist/core/kimi-model-catalog.d.ts +17 -0
- package/dist/core/kimi-model-catalog.js +45 -0
- package/dist/core/kimi-model-catalog.js.map +1 -0
- package/dist/core/kimi-runner.d.ts +90 -0
- package/dist/core/kimi-runner.js +874 -0
- package/dist/core/kimi-runner.js.map +1 -0
- package/dist/core/kimi-ui-mapper.d.ts +71 -0
- package/dist/core/kimi-ui-mapper.js +399 -0
- package/dist/core/kimi-ui-mapper.js.map +1 -0
- package/dist/core/model-identity.js +11 -0
- package/dist/core/model-identity.js.map +1 -1
- package/dist/core/model-presets.js +10 -0
- package/dist/core/model-presets.js.map +1 -1
- package/dist/core/omp-rpc-runner.d.ts +41 -0
- package/dist/core/omp-rpc-runner.js +451 -0
- package/dist/core/omp-rpc-runner.js.map +1 -0
- package/dist/core/omp-ui-mapper.d.ts +56 -0
- package/dist/core/omp-ui-mapper.js +468 -0
- package/dist/core/omp-ui-mapper.js.map +1 -0
- package/dist/core/opencode-http.d.ts +2 -0
- package/dist/core/opencode-http.js +2 -2
- package/dist/core/opencode-http.js.map +1 -1
- package/dist/core/opencode-server-runner.d.ts +3 -1
- package/dist/core/opencode-server-runner.js +197 -25
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/opencode-v2-events.d.ts +11 -0
- package/dist/core/opencode-v2-events.js +105 -0
- package/dist/core/opencode-v2-events.js.map +1 -0
- package/dist/core/pi-runner.js +5 -1
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/core/private-mcp.d.ts +1 -1
- package/dist/core/private-mcp.js +2 -2
- package/dist/core/private-mcp.js.map +1 -1
- package/dist/core/process-signals.d.ts +29 -0
- package/dist/core/process-signals.js +85 -0
- package/dist/core/process-signals.js.map +1 -0
- package/dist/core/provider-auth.d.ts +25 -2
- package/dist/core/provider-auth.js +132 -12
- package/dist/core/provider-auth.js.map +1 -1
- package/dist/core/runner-factory.d.ts +1 -0
- package/dist/core/runner-factory.js +38 -1
- package/dist/core/runner-factory.js.map +1 -1
- package/dist/core/runner-model-catalog.d.ts +8 -0
- package/dist/core/runner-model-catalog.js +3 -0
- package/dist/core/runner-model-catalog.js.map +1 -1
- package/dist/core/tool-display.js +2 -0
- package/dist/core/tool-display.js.map +1 -1
- package/dist/core/ui-events.d.ts +1 -1
- package/dist/core/usage-limit.d.ts +2 -2
- package/dist/core/usage-limit.js +5 -3
- package/dist/core/usage-limit.js.map +1 -1
- package/dist/data-gitignore.d.ts +1 -1
- package/dist/data-gitignore.js +1 -0
- package/dist/data-gitignore.js.map +1 -1
- package/dist/dispatch/engine.d.ts +4 -0
- package/dist/dispatch/engine.js +9 -0
- package/dist/dispatch/engine.js.map +1 -1
- package/dist/e2e-setup.d.ts +8 -3
- package/dist/e2e-setup.js +31 -16
- package/dist/e2e-setup.js.map +1 -1
- package/dist/handoff.d.ts +2 -2
- package/dist/handoff.js +5 -5
- package/dist/handoff.js.map +1 -1
- package/dist/impact/demo-review.json +781 -0
- package/dist/impact/diff.d.ts +21 -0
- package/dist/impact/diff.js +81 -0
- package/dist/impact/diff.js.map +1 -0
- package/dist/impact/evidence.d.ts +67 -0
- package/dist/impact/evidence.js +238 -0
- package/dist/impact/evidence.js.map +1 -0
- package/dist/impact/impact-cli.d.ts +12 -0
- package/dist/impact/impact-cli.js +141 -0
- package/dist/impact/impact-cli.js.map +1 -0
- package/dist/impact/launch.d.ts +46 -0
- package/dist/impact/launch.js +145 -0
- package/dist/impact/launch.js.map +1 -0
- package/dist/impact/model.d.ts +551 -0
- package/dist/impact/model.js +188 -0
- package/dist/impact/model.js.map +1 -0
- package/dist/impact/publish.d.ts +30 -0
- package/dist/impact/publish.js +119 -0
- package/dist/impact/publish.js.map +1 -0
- package/dist/impact/render.d.ts +41 -0
- package/dist/impact/render.js +109 -0
- package/dist/impact/render.js.map +1 -0
- package/dist/impact/template.html +670 -0
- package/dist/impact/validate.d.ts +25 -0
- package/dist/impact/validate.js +273 -0
- package/dist/impact/validate.js.map +1 -0
- package/dist/index.js +19 -4
- package/dist/index.js.map +1 -1
- package/dist/managers/engine.js +5 -2
- package/dist/managers/engine.js.map +1 -1
- package/dist/pack-check.d.ts +1 -0
- package/dist/pack-check.js +14 -0
- package/dist/pack-check.js.map +1 -1
- package/dist/paths.d.ts +6 -0
- package/dist/paths.js +19 -1
- package/dist/paths.js.map +1 -1
- package/dist/runs/agent-error-telemetry.js +7 -4
- package/dist/runs/agent-error-telemetry.js.map +1 -1
- package/dist/runs/agent-tmpdir.d.ts +25 -6
- package/dist/runs/agent-tmpdir.js +136 -25
- package/dist/runs/agent-tmpdir.js.map +1 -1
- package/dist/runs/artifacts.d.ts +52 -0
- package/dist/runs/artifacts.js +243 -0
- package/dist/runs/artifacts.js.map +1 -0
- package/dist/runs/event-history.d.ts +12 -0
- package/dist/runs/event-history.js +61 -0
- package/dist/runs/event-history.js.map +1 -1
- package/dist/runs/project-assets.d.ts +9 -0
- package/dist/runs/project-assets.js +57 -0
- package/dist/runs/project-assets.js.map +1 -0
- package/dist/runs/review-gate.d.ts +10 -0
- package/dist/runs/review-gate.js +12 -0
- package/dist/runs/review-gate.js.map +1 -1
- package/dist/runs/store.d.ts +70 -4
- package/dist/runs/store.js +139 -26
- package/dist/runs/store.js.map +1 -1
- package/dist/server/agent-setup.d.ts +1 -1
- package/dist/server/agent-setup.js +2 -1
- package/dist/server/agent-setup.js.map +1 -1
- package/dist/server/artifacts.d.ts +33 -0
- package/dist/server/artifacts.js +133 -0
- package/dist/server/artifacts.js.map +1 -0
- package/dist/server/dashboard.d.ts +5 -0
- package/dist/server/forge/github-assets.d.ts +7 -0
- package/dist/server/forge/github-assets.js +100 -0
- package/dist/server/forge/github-assets.js.map +1 -0
- package/dist/server/forge/github.d.ts +11 -0
- package/dist/server/forge/github.js +42 -0
- package/dist/server/forge/github.js.map +1 -1
- package/dist/server/open-in-app.js +3 -0
- package/dist/server/open-in-app.js.map +1 -1
- package/dist/server/provider-action-gate.js +12 -4
- package/dist/server/provider-action-gate.js.map +1 -1
- package/dist/server/server.d.ts +10012 -6701
- package/dist/server/server.js +353 -193
- package/dist/server/server.js.map +1 -1
- package/dist/server/star-count.d.ts +5 -5
- package/dist/server/star-count.js +5 -5
- package/dist/server/star-count.js.map +1 -1
- package/dist/server-install/steps.js +1 -0
- package/dist/server-install/steps.js.map +1 -1
- package/dist/skills-provision.js +7 -1
- package/dist/skills-provision.js.map +1 -1
- package/dist/skills.d.ts +10 -6
- package/dist/skills.js +11 -6
- package/dist/skills.js.map +1 -1
- package/dist/transfer/automations-file.d.ts +46 -0
- package/dist/transfer/automations-file.js +172 -0
- package/dist/transfer/automations-file.js.map +1 -0
- package/dist/transfer/config-bundle.d.ts +100 -0
- package/dist/transfer/config-bundle.js +430 -0
- package/dist/transfer/config-bundle.js.map +1 -0
- package/dist/webhooks/outbox.js +83 -63
- package/dist/webhooks/outbox.js.map +1 -1
- package/dist/workflows/graph.d.ts +27 -0
- package/dist/workflows/load.js +2 -2
- package/dist/workflows/load.js.map +1 -1
- package/dist/workflows/resume-fallback.d.ts +13 -6
- package/dist/workflows/resume-fallback.js +26 -6
- package/dist/workflows/resume-fallback.js.map +1 -1
- package/dist/workflows/run.d.ts +121 -10
- package/dist/workflows/run.js +363 -61
- package/dist/workflows/run.js.map +1 -1
- package/dist/workflows/templates.d.ts +27 -16
- package/dist/workflows/templates.js +17 -0
- package/dist/workflows/templates.js.map +1 -1
- package/dist/workflows/types.d.ts +21 -0
- package/dist/workflows/types.js +3 -1
- package/dist/workflows/types.js.map +1 -1
- package/dist/workspace/agent-accounts.d.ts +27 -15
- package/dist/workspace/agent-accounts.js +4 -14
- package/dist/workspace/agent-accounts.js.map +1 -1
- package/dist/workspace/agent-profiles.js +3 -0
- package/dist/workspace/agent-profiles.js.map +1 -1
- package/dist/workspace/config.d.ts +12 -6
- package/dist/workspace/config.js +3 -13
- package/dist/workspace/config.js.map +1 -1
- package/dist/workspace/dashboard-costs.d.ts +1 -0
- package/dist/workspace/dashboard-costs.js +1 -0
- package/dist/workspace/dashboard-costs.js.map +1 -1
- package/dist/workspace/dashboard-insights.d.ts +1 -0
- package/dist/workspace/dashboard-insights.js +5 -2
- package/dist/workspace/dashboard-insights.js.map +1 -1
- package/dist/workspace/dashboard-overview.js +2 -0
- package/dist/workspace/dashboard-overview.js.map +1 -1
- package/dist/workspace/dashboard.d.ts +1 -0
- package/package.json +5 -4
- package/scripts/check-pack.mjs +3 -2
- package/scripts/copy-assets.mjs +17 -0
- package/scripts/mock-claude.mjs +106 -1
- package/scripts/mock-gemini-acp.mjs +195 -0
- package/scripts/mock-kimi-acp.mjs +126 -0
- package/scripts/mock-omp-rpc.mjs +194 -0
- package/skills/change-impact/SKILL.md +117 -0
- package/skills/change-impact/references/analysis-contract.md +141 -0
- package/skills/change-impact/references/public-api.md +92 -0
- package/skills/change-impact/references/visual-contract.md +71 -0
- package/web/dist/assets/{active-forge-DEmP_h4r.js → active-forge-DO2AaQ-s.js} +1 -1
- package/web/dist/assets/agent-task-pickers-CZpw4vcZ.js +1 -0
- package/web/dist/assets/{alert-dialog-BZkKvKiu.js → alert-dialog-BihfE0uZ.js} +1 -1
- package/web/dist/assets/arrow-down-DACdHKjc.js +1 -0
- package/web/dist/assets/arrow-left-BtT8zuL0.js +1 -0
- package/web/dist/assets/arrow-up-BAPSgozC.js +1 -0
- package/web/dist/assets/ask-answer-Co3javaA.js +1 -0
- package/web/dist/assets/{ask-card-CfNUHYt9.js → ask-card-DLtNyMH_.js} +2 -2
- package/web/dist/assets/assets-view-CLCckPll.js +1 -0
- package/web/dist/assets/{automation-format-BPrWgGBz.js → automation-format-BXwiLf2G.js} +1 -1
- package/web/dist/assets/automations-route-JizzZrRf.js +1 -0
- package/web/dist/assets/blink-1oEUjxch.webp +0 -0
- package/web/dist/assets/blink-B4Y4PYCR.webp +0 -0
- package/web/dist/assets/blink-BpqW08tf.webp +0 -0
- package/web/dist/assets/blink-C380t2a5.webp +0 -0
- package/web/dist/assets/blink-CLn5VMYQ.webp +0 -0
- package/web/dist/assets/blink-Cn_tI5Yd.webp +0 -0
- package/web/dist/assets/blink-D4EaTnc2.webp +0 -0
- package/web/dist/assets/blink-DY4Sm5aw.webp +0 -0
- package/web/dist/assets/blink-mcM10OfP.webp +0 -0
- package/web/dist/assets/body-CXEwT_gR.webp +0 -0
- package/web/dist/assets/body-D-UrLURv.webp +0 -0
- package/web/dist/assets/body-D7Q8eJDv.webp +0 -0
- package/web/dist/assets/body-DdNSx4-d.webp +0 -0
- package/web/dist/assets/body-DlFNtp32.webp +0 -0
- package/web/dist/assets/body-EreQeu3g.webp +0 -0
- package/web/dist/assets/body-Goc64z5o.webp +0 -0
- package/web/dist/assets/body-_FLmHm_q.webp +0 -0
- package/web/dist/assets/body-v5xTmq5E.webp +0 -0
- package/web/dist/assets/{bot-qZRkHkDp.js → bot-Cm-PLA1M.js} +1 -1
- package/web/dist/assets/{button-BrxohNcK.js → button-BqkA8Ovk.js} +1 -1
- package/web/dist/assets/{centered-state-CSW_o4N7.js → centered-state-CquGIOsq.js} +1 -1
- package/web/dist/assets/check-B1z-_MCO.js +1 -0
- package/web/dist/assets/chevron-left-CDAxCC2p.js +1 -0
- package/web/dist/assets/chevron-right-DPaV033p.js +1 -0
- package/web/dist/assets/chunk-KS7C4IRE-DtL2Gzw3.js +3 -0
- package/web/dist/assets/{circle-alert-COKQc-87.js → circle-alert-B7VNkPC2.js} +1 -1
- package/web/dist/assets/circle-check-LWKCYKhA.js +1 -0
- package/web/dist/assets/{collapsible-BJ0sxcz9.js → collapsible-BuSDxSYs.js} +1 -1
- package/web/dist/assets/command-CfdVVS0V.js +1 -0
- package/web/dist/assets/{commit-list-HXZj01RO.js → commit-list-D5Nuv2HC.js} +1 -1
- package/web/dist/assets/compare-variants-BBOnUKfp.js +1 -0
- package/web/dist/assets/composer-BPIW4tmM.js +18 -0
- package/web/dist/assets/composer-attachments-DyC9yyGs.js +3 -0
- package/web/dist/assets/concerned-BIuYysOA.webp +0 -0
- package/web/dist/assets/concerned-BWTrkjRS.webp +0 -0
- package/web/dist/assets/concerned-BW_ywmzK.webp +0 -0
- package/web/dist/assets/concerned-CXQVACqJ.webp +0 -0
- package/web/dist/assets/concerned-DdsJa1t2.webp +0 -0
- package/web/dist/assets/concerned-Dlln-1nu.webp +0 -0
- package/web/dist/assets/concerned-DrSCYUQV.webp +0 -0
- package/web/dist/assets/concerned-TOjmS1qX.webp +0 -0
- package/web/dist/assets/concerned-tIx9dV3J.webp +0 -0
- package/web/dist/assets/dashboard-B_ytEQ_y.js +44 -0
- package/web/dist/assets/diff-BQScRHXz.js +3 -0
- package/web/dist/assets/diff-stat-CxDTnfya.js +1 -0
- package/web/dist/assets/diff-view-8m9Rnct7.js +13 -0
- package/web/dist/assets/{directional-usage-BtjgT5nc.js → directional-usage-BerE4wJK.js} +1 -1
- package/web/dist/assets/dist-Br4Ra_c5.js +1 -0
- package/web/dist/assets/{download-DH68Y5Vz.js → download-HBguClwD.js} +1 -1
- package/web/dist/assets/dropdown-menu-CDv5Teql.js +1 -0
- package/web/dist/assets/excited-8dK2gfAF.webp +0 -0
- package/web/dist/assets/excited-B-w6ozXs.webp +0 -0
- package/web/dist/assets/excited-B4Sch7Ub.webp +0 -0
- package/web/dist/assets/excited-BPQk8ECE.webp +0 -0
- package/web/dist/assets/excited-BRFi0cue.webp +0 -0
- package/web/dist/assets/excited-BvbUAHvw.webp +0 -0
- package/web/dist/assets/excited-CCH-VUDr.webp +0 -0
- package/web/dist/assets/excited-TMExhEMj.webp +0 -0
- package/web/dist/assets/excited-cSRbau5J.webp +0 -0
- package/web/dist/assets/{external-link-BVYdhpSK.js → external-link-Bclznsu3.js} +1 -1
- package/web/dist/assets/file-preview-DQ7iQhe0.js +2 -0
- package/web/dist/assets/{file-DYpKJvYs.js → file-rCLi_p-R.js} +1 -1
- package/web/dist/assets/file-tree-Bm38qEZP.js +1 -0
- package/web/dist/assets/focused-XMnI1Trp.webp +0 -0
- package/web/dist/assets/{folder-CeFUSrsO.js → folder-leteY9jH.js} +1 -1
- package/web/dist/assets/follow-up-engine-Q1EcpRpB.js +1 -0
- package/web/dist/assets/git-pull-request-CURFMFaU.js +1 -0
- package/web/dist/assets/{git-pull-request-draft-DL1VMp1L.js → git-pull-request-draft-BZgJrUou.js} +1 -1
- package/web/dist/assets/git-tab-loading-CF0flOMS.js +1 -0
- package/web/dist/assets/github-DcvXvc4J.js +1 -0
- package/web/dist/assets/happy-B7LJPne_.webp +0 -0
- package/web/dist/assets/happy-CCpAho8w.webp +0 -0
- package/web/dist/assets/happy-Ch9wxHii.webp +0 -0
- package/web/dist/assets/happy-CnoCjXOf.webp +0 -0
- package/web/dist/assets/happy-DVeEwiyo.webp +0 -0
- package/web/dist/assets/happy-URIT6hFl.webp +0 -0
- package/web/dist/assets/happy-ZufSdCLm.webp +0 -0
- package/web/dist/assets/happy-kfLwwDLp.webp +0 -0
- package/web/dist/assets/happy-nVffy2Sx.webp +0 -0
- package/web/dist/assets/{host-usage-o1rC0TiP.js → host-usage-CX8OXl8q.js} +1 -1
- package/web/dist/assets/icon-tooltip-BMkyRHLt.js +1 -0
- package/web/dist/assets/impact-control-Deh1F44q.js +1 -0
- package/web/dist/assets/impact-model-Dj6tIycu.js +1 -0
- package/web/dist/assets/index-DuW72uFI.js +33 -0
- package/web/dist/assets/index-jRkTI5kE.css +2 -0
- package/web/dist/assets/{input-BxjGaO_P.js → input-BO795Un9.js} +1 -1
- package/web/dist/assets/laptop-D2EKUOdE.webp +0 -0
- package/web/dist/assets/layers-YoqiEcNh.js +1 -0
- package/web/dist/assets/layout-cards-Cvq2XaJL.js +1 -0
- package/web/dist/assets/{layout-grid-C4d5rrDE.js → layout-grid-CSvbdC6i.js} +1 -1
- package/web/dist/assets/left-BBmAC9hS.webp +0 -0
- package/web/dist/assets/left-BUX98ijg.webp +0 -0
- package/web/dist/assets/left-CCrTs359.webp +0 -0
- package/web/dist/assets/left-CxWtAZHp.webp +0 -0
- package/web/dist/assets/left-DDCoVDRG.webp +0 -0
- package/web/dist/assets/left-DFGwPnRL.webp +0 -0
- package/web/dist/assets/left-D_qxT7z_.webp +0 -0
- package/web/dist/assets/left-QXVHT2zO.webp +0 -0
- package/web/dist/assets/left-S_rwAL-X.webp +0 -0
- package/web/dist/assets/leg-left-0EW5L4pu.webp +0 -0
- package/web/dist/assets/leg-left-BGo9dZbQ.webp +0 -0
- package/web/dist/assets/leg-left-BZ8ETYLj.webp +0 -0
- package/web/dist/assets/leg-left-BahG1x_b.webp +0 -0
- package/web/dist/assets/leg-left-C-DJQ3Pt.webp +0 -0
- package/web/dist/assets/leg-left-C6ZvH8fW.webp +0 -0
- package/web/dist/assets/leg-left-DsfFyCf7.webp +0 -0
- package/web/dist/assets/leg-left-Iq6VC-OZ.webp +0 -0
- package/web/dist/assets/leg-left-rVU9cV-d.webp +0 -0
- package/web/dist/assets/leg-right-2MnCGKHj.webp +0 -0
- package/web/dist/assets/leg-right-BCgv_Tjj.webp +0 -0
- package/web/dist/assets/leg-right-BOxKTHZ9.webp +0 -0
- package/web/dist/assets/leg-right-BeDSbUV7.webp +0 -0
- package/web/dist/assets/leg-right-BwrF93s6.webp +0 -0
- package/web/dist/assets/leg-right-CU-y_n5h.webp +0 -0
- package/web/dist/assets/leg-right-DKSfNi2y.webp +0 -0
- package/web/dist/assets/leg-right-Dq0ze2e4.webp +0 -0
- package/web/dist/assets/leg-right-t34e1CvD.webp +0 -0
- package/web/dist/assets/lib-BQXq3kEf.js +1 -0
- package/web/dist/assets/loader-circle-DjzuGw6j.js +1 -0
- package/web/dist/assets/manager-chat-C4QqN-w6.js +1 -0
- package/web/dist/assets/manager-index-BGNDfiIy.js +1 -0
- package/web/dist/assets/manager-new-Dek6H9Bg.js +2 -0
- package/web/dist/assets/managers-Dufza9IX.js +1 -0
- package/web/dist/assets/{markdown-Di8pirEb.js → markdown-CP2EQDsL.js} +1 -1
- package/web/dist/assets/{markdown-rDA5iFAU.js → markdown-YWy3FUHK.js} +2 -2
- package/web/dist/assets/mascot-picker-0_LGzV_f.js +1 -0
- package/web/dist/assets/{message-square-CstvkIHe.js → message-square-beq8DjLH.js} +1 -1
- package/web/dist/assets/new-task-form-BgMiEphZ.js +2 -0
- package/web/dist/assets/pencil-RUM53auZ.js +1 -0
- package/web/dist/assets/picker-pill-BO6YUs1F.js +1 -0
- package/web/dist/assets/play-Cj3p2Q5t.js +1 -0
- package/web/dist/assets/plus-Bdmhj8CR.js +1 -0
- package/web/dist/assets/portrait-BJ2e30PF.webp +0 -0
- package/web/dist/assets/portrait-BeDbYw8Z.webp +0 -0
- package/web/dist/assets/portrait-Bq7D7LzX.webp +0 -0
- package/web/dist/assets/portrait-C6HtaggP.webp +0 -0
- package/web/dist/assets/portrait-CcOzDXGs.webp +0 -0
- package/web/dist/assets/portrait-D44z6yep.webp +0 -0
- package/web/dist/assets/portrait-DHLQRy13.webp +0 -0
- package/web/dist/assets/portrait-DU3qlTxc.webp +0 -0
- package/web/dist/assets/portrait-q94U_uD6.webp +0 -0
- package/web/dist/assets/project-router-xmadY-N9.js +1 -0
- package/web/dist/assets/queries-ba5qZ3kd.js +1 -0
- package/web/dist/assets/reasoning-effort-pill-B8Z1RaXL.js +1 -0
- package/web/dist/assets/reference-chip-C9pVQk05.js +1 -0
- package/web/dist/assets/reference-conflict-action-DxUm18aD.js +1 -0
- package/web/dist/assets/repo-git-DFf8ZGZv.js +1 -0
- package/web/dist/assets/right-BFOa1Ihi.webp +0 -0
- package/web/dist/assets/right-BLsBZrK1.webp +0 -0
- package/web/dist/assets/right-BVU3rYuj.webp +0 -0
- package/web/dist/assets/right-BbES4jIG.webp +0 -0
- package/web/dist/assets/right-C2klSA-G.webp +0 -0
- package/web/dist/assets/right-Cte2BTL5.webp +0 -0
- package/web/dist/assets/right-Dz7jYN17.webp +0 -0
- package/web/dist/assets/right-W2oGaUHb.webp +0 -0
- package/web/dist/assets/right-XJjUU0AU.webp +0 -0
- package/web/dist/assets/run-actions-CLIUiXwS.js +1 -0
- package/web/dist/assets/{run-diff-CFHlmgGA.js → run-diff-CxS_a1EO.js} +2 -2
- package/web/dist/assets/{save-C4TDysfG.js → save-zfKVAo2Y.js} +1 -1
- package/web/dist/assets/{scroll-within-D3mqUngk.js → scroll-within-DhWf-4MN.js} +1 -1
- package/web/dist/assets/search-CCE2KMtX.js +1 -0
- package/web/dist/assets/{search-x-BkezzsKh.js → search-x-BxcYdvqm.js} +1 -1
- package/web/dist/assets/{settings-2-DIHmg7wZ.js → settings-2-B0yYRU0q.js} +1 -1
- package/web/dist/assets/sheet-DxqNqi5S.js +1 -0
- package/web/dist/assets/skills-BmQ9hZ2c.js +1 -0
- package/web/dist/assets/sortable.esm-Dj7Kk-Wk.js +5 -0
- package/web/dist/assets/square--LrBHma0.js +1 -0
- package/web/dist/assets/standing-C42GacCE.webp +0 -0
- package/web/dist/assets/standing-C5Tul1Nv.webp +0 -0
- package/web/dist/assets/standing-CUU2Jka6.webp +0 -0
- package/web/dist/assets/standing-Ca5nprIS.webp +0 -0
- package/web/dist/assets/standing-CgOaMKRT.webp +0 -0
- package/web/dist/assets/standing-ClF4PE2-.webp +0 -0
- package/web/dist/assets/standing-CoS9fBjb.webp +0 -0
- package/web/dist/assets/standing-DZrhVTuG.webp +0 -0
- package/web/dist/assets/standing-MhG0Chks.webp +0 -0
- package/web/dist/assets/status-dot-Dxb9pPsK.js +1 -0
- package/web/dist/assets/tabs-CmEFauE4.js +1 -0
- package/web/dist/assets/{tag-B56iP2zA.js → tag-TWBVKabJ.js} +1 -1
- package/web/dist/assets/task-commits-sdhrDSta.js +1 -0
- package/web/dist/assets/{task-graph-ZjFyDrAV.js → task-graph-DqXUw-PM.js} +1 -1
- package/web/dist/assets/task-notes-ur3eZYQs.js +1 -0
- package/web/dist/assets/task-workspace-BvamqKbw.js +28 -0
- package/web/dist/assets/terminal-CmRAOyqu.js +1 -0
- package/web/dist/assets/terminal-drawer-BiRjtnip.js +1 -0
- package/web/dist/assets/{terminal-pane-CeYi-FvS.js → terminal-pane-YnSc_Vhs.js} +2 -2
- package/web/dist/assets/{textarea-BXN4nZ0d.js → textarea-C58jseO-.js} +1 -1
- package/web/dist/assets/toaster-5ad4wwJ9.js +1 -0
- package/web/dist/assets/tooltip-45rfBiq8.js +1 -0
- package/web/dist/assets/tracker-CcyqVPEo.js +4 -0
- package/web/dist/assets/triangle-alert-C1mTIqxM.js +1 -0
- package/web/dist/assets/typing-left-BWPbVi7e.webp +0 -0
- package/web/dist/assets/typing-right-HDY0V90O.webp +0 -0
- package/web/dist/assets/{upload-D_kW6AjR.js → upload-C2gxSnMR.js} +1 -1
- package/web/dist/assets/use-now-DD2atNhs.js +1 -0
- package/web/dist/assets/utils-Br_dqwn-.js +60 -0
- package/web/dist/assets/{workflow-j8scU63W.js → workflow-WvO4bTRt.js} +1 -1
- package/web/dist/assets/workflow-graph-B2oESW5u.js +13 -0
- package/web/dist/assets/worktree-lifecycle-BxYvSKsA.js +1 -0
- package/web/dist/assets/{worktree-lifecycle-operation-mYB7KCpQ.js → worktree-lifecycle-operation-BRID04bW.js} +1 -1
- package/web/dist/assets/x-CZSnHsZ4.js +1 -0
- package/web/dist/assets/{zoomable-image-CW-pQ6ZO.js → zoomable-image-DCITEnK-.js} +1 -1
- package/web/dist/index.html +70 -60
- package/web/dist/assets/agent-task-pickers-8skJH9bS.js +0 -1
- package/web/dist/assets/arrow-down-cBTb_EjO.js +0 -1
- package/web/dist/assets/arrow-left-BvR1Oqhc.js +0 -1
- package/web/dist/assets/arrow-up-Cn0IS81u.js +0 -1
- package/web/dist/assets/ask-answer-Cfb0vEFv.js +0 -1
- package/web/dist/assets/automations-route-B4axw9eb.js +0 -1
- package/web/dist/assets/check-B5omShEO.js +0 -1
- package/web/dist/assets/chevron-left-D74_-PJ_.js +0 -1
- package/web/dist/assets/chevron-right-C3fLn_fF.js +0 -1
- package/web/dist/assets/circle-check-j6r9xbE5.js +0 -1
- package/web/dist/assets/compare-variants-CDrFR7P_.js +0 -1
- package/web/dist/assets/composer-GntpkeQD.js +0 -18
- package/web/dist/assets/composer-attachments-Xa-qW8Eq.js +0 -3
- package/web/dist/assets/dashboard-CJW-Xk7f.js +0 -44
- package/web/dist/assets/diff-RPASOQVF.js +0 -3
- package/web/dist/assets/diff-view-Ckaab4uQ.js +0 -13
- package/web/dist/assets/file-preview-DOSEbcqV.js +0 -2
- package/web/dist/assets/git-tab-loading-DhclV71X.js +0 -1
- package/web/dist/assets/git-toolbar-Bk-3i42V.js +0 -1
- package/web/dist/assets/github-TdBnzj-H.js +0 -1
- package/web/dist/assets/icon-tooltip-CUJLXOxf.js +0 -1
- package/web/dist/assets/index-CDhEdFaZ.js +0 -33
- package/web/dist/assets/index-Dk1VTlxY.css +0 -2
- package/web/dist/assets/layout-cards-BYOEsNbu.js +0 -1
- package/web/dist/assets/lib-D2__YoPr.js +0 -1
- package/web/dist/assets/loader-circle-DCpZCAyT.js +0 -1
- package/web/dist/assets/manager-chat-B1Taq3Eg.js +0 -1
- package/web/dist/assets/manager-index-COwisKDf.js +0 -1
- package/web/dist/assets/manager-new-BdJPiBs2.js +0 -2
- package/web/dist/assets/manager-pickers-CvYpd5cU.js +0 -1
- package/web/dist/assets/managers-CDiETPHi.js +0 -1
- package/web/dist/assets/pencil-DWtoOm2f.js +0 -1
- package/web/dist/assets/picker-pill-DQICTO2N.js +0 -1
- package/web/dist/assets/play-BYwEI1EA.js +0 -1
- package/web/dist/assets/plus-BPopgSYQ.js +0 -1
- package/web/dist/assets/popover-DzdYqnHw.js +0 -1
- package/web/dist/assets/project-router-CmpQcVZp.js +0 -1
- package/web/dist/assets/queries-DOHu2y2B.js +0 -1
- package/web/dist/assets/reference-chip-ty5g_OLC.js +0 -1
- package/web/dist/assets/reference-conflict-action-B2LrO-o3.js +0 -1
- package/web/dist/assets/repo-git-CyoBxHfP.js +0 -1
- package/web/dist/assets/sheet-7RYAcp_E.js +0 -1
- package/web/dist/assets/skills-BBqk5FoM.js +0 -1
- package/web/dist/assets/sortable.esm-O2daV3YI.js +0 -5
- package/web/dist/assets/square-BPbl10lx.js +0 -1
- package/web/dist/assets/status-dot-C_5ryAFi.js +0 -1
- package/web/dist/assets/tabs-EEnYYrJF.js +0 -1
- package/web/dist/assets/task-commits-DFalvqkF.js +0 -1
- package/web/dist/assets/task-notes-DRDKGsIw.js +0 -1
- package/web/dist/assets/task-workspace-D2ak5sTE.js +0 -28
- package/web/dist/assets/terminal-B-JX8x9P.js +0 -1
- package/web/dist/assets/terminal-drawer-S0cBMANF.js +0 -1
- package/web/dist/assets/toaster-DrFdGtNN.js +0 -3
- package/web/dist/assets/tooltip-p6YPEpXC.js +0 -1
- package/web/dist/assets/tracker-CFDEuaFt.js +0 -4
- package/web/dist/assets/triangle-alert-Crbc2knA.js +0 -1
- package/web/dist/assets/use-now-DQpgbshl.js +0 -1
- package/web/dist/assets/utils-Df_1kJEk.js +0 -60
- package/web/dist/assets/workflow-graph-Cye5SBdg.js +0 -13
- package/web/dist/assets/worktree-lifecycle-Da61xsLH.js +0 -1
- package/web/dist/assets/x-sQR-jRBj.js +0 -1
|
@@ -0,0 +1,781 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 4,
|
|
3
|
+
"meta": {
|
|
4
|
+
"title": "Access belongs to the organization.",
|
|
5
|
+
"subtitle": "Not to one employee's account.",
|
|
6
|
+
"repository": "NORTHSTAR / platform",
|
|
7
|
+
"pr": "PR #481 · example",
|
|
8
|
+
"base": "main · example state",
|
|
9
|
+
"head": "feat/org-api-keys · example state",
|
|
10
|
+
"demo": true,
|
|
11
|
+
"subject_kind": "pr"
|
|
12
|
+
},
|
|
13
|
+
"summary": "Integrations get an identity of their own, a limited set of permissions, and keys that can be rotated. A team can take away one person's access without breaking the company's automations.",
|
|
14
|
+
"scope_note": "A made-up scenario, used to judge the interface. No real repository was analysed and no tests were run.",
|
|
15
|
+
"decision": {
|
|
16
|
+
"label": "Conditionally, into the core",
|
|
17
|
+
"rationale": "The product direction holds up. Before merging, the domain has to be separated from the key store, and a migration for existing integrations has to be agreed.",
|
|
18
|
+
"evidence": [
|
|
19
|
+
"D1",
|
|
20
|
+
"D3",
|
|
21
|
+
"D5"
|
|
22
|
+
],
|
|
23
|
+
"conditions": [
|
|
24
|
+
{
|
|
25
|
+
"id": "cond-key-port",
|
|
26
|
+
"title": "A port instead of direct SQL",
|
|
27
|
+
"owner": "Architect",
|
|
28
|
+
"verification": "Auth depends on KeyResolver; the SQL adapter stays outside the domain. The domain test runs without a database.",
|
|
29
|
+
"evidence": [
|
|
30
|
+
"D3"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "cond-migration",
|
|
35
|
+
"title": "Migration without cutting anyone off",
|
|
36
|
+
"owner": "Product owner",
|
|
37
|
+
"verification": "An agreed transition period, a message to customers, and a clear condition for switching personal tokens off.",
|
|
38
|
+
"evidence": [
|
|
39
|
+
"D5"
|
|
40
|
+
],
|
|
41
|
+
"api_changes": [
|
|
42
|
+
"api-personal-tokens",
|
|
43
|
+
"api-auth-header"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "cond-isolation",
|
|
48
|
+
"title": "Tenant isolation and revocation",
|
|
49
|
+
"owner": "Maintainer / QA",
|
|
50
|
+
"verification": "Tests across organizations, plus a test that a revoked key stops working immediately, with the run's result recorded.",
|
|
51
|
+
"evidence": [
|
|
52
|
+
"D6"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"capabilities": [
|
|
58
|
+
{
|
|
59
|
+
"id": "org-access",
|
|
60
|
+
"status": "added",
|
|
61
|
+
"title": "Organization keys",
|
|
62
|
+
"before": "An integration runs on an employee's token.",
|
|
63
|
+
"after": "An admin gives the integration its own key and its own permissions.",
|
|
64
|
+
"impact": "The automation no longer depends on one particular person still being there.",
|
|
65
|
+
"components": [
|
|
66
|
+
"console",
|
|
67
|
+
"auth",
|
|
68
|
+
"keys"
|
|
69
|
+
],
|
|
70
|
+
"evidence": [
|
|
71
|
+
"D1",
|
|
72
|
+
"D2"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "permissions",
|
|
77
|
+
"status": "modified",
|
|
78
|
+
"title": "Permissions per integration",
|
|
79
|
+
"before": "A token inherits whatever the user can do.",
|
|
80
|
+
"after": "The Policy Engine judges the organization and the key's permissions.",
|
|
81
|
+
"impact": "Narrower access, but a new way for one tenant's data to leak into another's.",
|
|
82
|
+
"components": [
|
|
83
|
+
"auth",
|
|
84
|
+
"policy"
|
|
85
|
+
],
|
|
86
|
+
"evidence": [
|
|
87
|
+
"D2",
|
|
88
|
+
"D6"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "legacy-access",
|
|
93
|
+
"status": "removed",
|
|
94
|
+
"title": "Personal token as a fallback",
|
|
95
|
+
"before": "An older client still works with a user's token.",
|
|
96
|
+
"after": "The integration path requires an organization identity.",
|
|
97
|
+
"impact": "Existing integrations have to be migrated before the fallback is switched off.",
|
|
98
|
+
"components": [
|
|
99
|
+
"auth",
|
|
100
|
+
"legacy"
|
|
101
|
+
],
|
|
102
|
+
"evidence": [
|
|
103
|
+
"D5"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "key-rotation",
|
|
108
|
+
"status": "added",
|
|
109
|
+
"title": "Keys expire without anyone remembering",
|
|
110
|
+
"before": "A token stayed valid until a person deleted it, and the plaintext stayed in the database next to the user.",
|
|
111
|
+
"after": "An organization key is hashed at rest, rotated on a schedule, and its expiry is announced on the audit stream.",
|
|
112
|
+
"impact": "Removes the long-lived plaintext credential, and adds a scheduled writer that has to agree with manual revocation.",
|
|
113
|
+
"components": [
|
|
114
|
+
"rotation",
|
|
115
|
+
"keys",
|
|
116
|
+
"secrets"
|
|
117
|
+
],
|
|
118
|
+
"evidence": [
|
|
119
|
+
"D7",
|
|
120
|
+
"D8"
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"architecture": {
|
|
125
|
+
"headline": "A new identity. The same permissions engine.",
|
|
126
|
+
"description": "Two readings of the same change. The authorization path shows what now decides a request; the lifecycle view shows who owns the credential and what is stored.",
|
|
127
|
+
"nodes": [
|
|
128
|
+
{
|
|
129
|
+
"id": "console",
|
|
130
|
+
"label": "Admin Console",
|
|
131
|
+
"kind": "Screen / API client",
|
|
132
|
+
"status": "modified",
|
|
133
|
+
"before": "Manages personal tokens.",
|
|
134
|
+
"after": "Creates, rotates and revokes organization keys.",
|
|
135
|
+
"impact": "A new admin surface. Users need to be told what the permissions mean and what revoking one does.",
|
|
136
|
+
"evidence": [
|
|
137
|
+
"D1",
|
|
138
|
+
"D2"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "auth",
|
|
143
|
+
"label": "Auth Service",
|
|
144
|
+
"kind": "Domain module",
|
|
145
|
+
"status": "modified",
|
|
146
|
+
"before": "Identifies the user from a token and passes them to the policy engine.",
|
|
147
|
+
"after": "Identifies the organization and its permissions, reading the key straight from the SQL adapter.",
|
|
148
|
+
"impact": "A new tie from the core to infrastructure. If the key store is down, integrations lose access.",
|
|
149
|
+
"evidence": [
|
|
150
|
+
"D2",
|
|
151
|
+
"D3"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "policy",
|
|
156
|
+
"label": "Policy Engine",
|
|
157
|
+
"kind": "Domain module",
|
|
158
|
+
"status": "modified",
|
|
159
|
+
"before": "Judges what the signed-in user may do.",
|
|
160
|
+
"after": "Also judges an integration's identity inside its organization.",
|
|
161
|
+
"impact": "One shared policy stays in one place. Isolation between organizations and the absence of permission creep both still need proving.",
|
|
162
|
+
"evidence": [
|
|
163
|
+
"D2",
|
|
164
|
+
"D6"
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"id": "legacy",
|
|
169
|
+
"label": "Personal-token fallback",
|
|
170
|
+
"kind": "Compatibility path",
|
|
171
|
+
"status": "removed",
|
|
172
|
+
"before": "Maps a personal token to a user for older integrations.",
|
|
173
|
+
"after": "Gone from the integration path.",
|
|
174
|
+
"impact": "A breaking change for customers still on the fallback. No transition period has been agreed.",
|
|
175
|
+
"evidence": [
|
|
176
|
+
"D5"
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"id": "keys",
|
|
181
|
+
"label": "Org Key Registry",
|
|
182
|
+
"kind": "New SQL adapter",
|
|
183
|
+
"status": "added",
|
|
184
|
+
"before": "Does not exist.",
|
|
185
|
+
"after": "Stores the hashed key, the organization, the permissions and whether it has been revoked.",
|
|
186
|
+
"impact": "A new infrastructure responsibility, needing a data migration and a stated plan for when it is unavailable. Suggested port: KeyResolver.",
|
|
187
|
+
"evidence": [
|
|
188
|
+
"D2",
|
|
189
|
+
"D3"
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "audit",
|
|
194
|
+
"label": "Audit Log",
|
|
195
|
+
"kind": "Existing module",
|
|
196
|
+
"status": "unchanged",
|
|
197
|
+
"before": "Receives admin events through the shared audit mechanism.",
|
|
198
|
+
"after": "Also receives key.created, key.rotated and key.revoked, with no change to the module itself.",
|
|
199
|
+
"impact": "The code is untouched, but new events arrive. Check what is redacted and who reads the audit trail.",
|
|
200
|
+
"evidence": [
|
|
201
|
+
"D4"
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "rotation",
|
|
206
|
+
"label": "Rotation Worker",
|
|
207
|
+
"kind": "Background job",
|
|
208
|
+
"status": "added",
|
|
209
|
+
"before": "Nothing expired a credential. A personal token lived until somebody deleted the account.",
|
|
210
|
+
"after": "Expires and re-issues organization keys on a schedule, writing the new hash and an audit entry.",
|
|
211
|
+
"impact": "A second writer now touches the key registry, so a scheduled rotation and a manual revocation can race.",
|
|
212
|
+
"evidence": [
|
|
213
|
+
"D7"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "secrets",
|
|
218
|
+
"label": "Secret Store",
|
|
219
|
+
"kind": "Infrastructure",
|
|
220
|
+
"status": "added",
|
|
221
|
+
"before": "Personal tokens sat in plaintext columns next to the user row.",
|
|
222
|
+
"after": "Keeps only the hash of a key; the plaintext is shown once at creation and never stored.",
|
|
223
|
+
"impact": "The database stops holding usable credentials, at the cost of a key nobody can recover if the admin loses it.",
|
|
224
|
+
"evidence": [
|
|
225
|
+
"D8"
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"id": "notify",
|
|
230
|
+
"label": "Notification Service",
|
|
231
|
+
"kind": "Existing module",
|
|
232
|
+
"status": "unchanged",
|
|
233
|
+
"before": "Sends account-level mail to one named person.",
|
|
234
|
+
"after": "Untouched by the PR, but now receives expiry events addressed to an organization rather than a person.",
|
|
235
|
+
"impact": "An unchanged consumer inherits a new audience; who actually receives an organization-level alert is not settled.",
|
|
236
|
+
"evidence": [
|
|
237
|
+
"D7"
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"edges": [
|
|
242
|
+
{
|
|
243
|
+
"id": "e-console-auth",
|
|
244
|
+
"from": "console",
|
|
245
|
+
"to": "auth",
|
|
246
|
+
"label": "HTTPS / org key",
|
|
247
|
+
"before_label": "HTTPS / personal token",
|
|
248
|
+
"status": "modified",
|
|
249
|
+
"evidence": [
|
|
250
|
+
"D2"
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"id": "e-auth-policy",
|
|
255
|
+
"from": "auth",
|
|
256
|
+
"to": "policy",
|
|
257
|
+
"label": "organization plus permissions",
|
|
258
|
+
"before_label": "one person's permissions",
|
|
259
|
+
"status": "modified",
|
|
260
|
+
"evidence": [
|
|
261
|
+
"D2"
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"id": "e-auth-legacy",
|
|
266
|
+
"from": "auth",
|
|
267
|
+
"to": "legacy",
|
|
268
|
+
"label": "resolve user token",
|
|
269
|
+
"status": "removed",
|
|
270
|
+
"evidence": [
|
|
271
|
+
"D5"
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"id": "e-auth-keys",
|
|
276
|
+
"from": "auth",
|
|
277
|
+
"to": "keys",
|
|
278
|
+
"label": "reads SQL directly",
|
|
279
|
+
"status": "added",
|
|
280
|
+
"evidence": [
|
|
281
|
+
"D3"
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "e-keys-audit",
|
|
286
|
+
"from": "keys",
|
|
287
|
+
"to": "audit",
|
|
288
|
+
"label": "sends key.* events",
|
|
289
|
+
"status": "added",
|
|
290
|
+
"evidence": [
|
|
291
|
+
"D4"
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"id": "e-rotation-keys",
|
|
296
|
+
"from": "rotation",
|
|
297
|
+
"to": "keys",
|
|
298
|
+
"label": "rotates and expires",
|
|
299
|
+
"status": "added",
|
|
300
|
+
"evidence": [
|
|
301
|
+
"D7"
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"id": "e-keys-secrets",
|
|
306
|
+
"from": "keys",
|
|
307
|
+
"to": "secrets",
|
|
308
|
+
"label": "writes only the hash",
|
|
309
|
+
"status": "added",
|
|
310
|
+
"evidence": [
|
|
311
|
+
"D8"
|
|
312
|
+
]
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"id": "e-audit-notify",
|
|
316
|
+
"from": "audit",
|
|
317
|
+
"to": "notify",
|
|
318
|
+
"label": "emits key.expiring",
|
|
319
|
+
"status": "added",
|
|
320
|
+
"evidence": [
|
|
321
|
+
"D7"
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"views": [
|
|
326
|
+
{
|
|
327
|
+
"id": "authorization",
|
|
328
|
+
"title": "Authorization path",
|
|
329
|
+
"description": "A map of parts, not of separately deployed services. The new key store lands on the critical path for authorization, while deciding what is allowed still belongs to the Policy Engine.",
|
|
330
|
+
"before_caption": "User identity · depends on one employee's account",
|
|
331
|
+
"after_caption": "Integration identity · organization plus permissions",
|
|
332
|
+
"focus": "auth",
|
|
333
|
+
"places": [
|
|
334
|
+
{
|
|
335
|
+
"node": "console",
|
|
336
|
+
"col": 0,
|
|
337
|
+
"row": 0
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"node": "auth",
|
|
341
|
+
"col": 1,
|
|
342
|
+
"row": 0
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"node": "policy",
|
|
346
|
+
"col": 2,
|
|
347
|
+
"row": 0
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"node": "legacy",
|
|
351
|
+
"col": 0,
|
|
352
|
+
"row": 1
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"node": "keys",
|
|
356
|
+
"col": 1,
|
|
357
|
+
"row": 1
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"node": "audit",
|
|
361
|
+
"col": 2,
|
|
362
|
+
"row": 1
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"id": "lifecycle",
|
|
368
|
+
"title": "Key lifecycle and ownership",
|
|
369
|
+
"description": "The same change seen from the data side: who issues a key, what is actually stored, and which untouched consumer starts hearing about organizations instead of people.",
|
|
370
|
+
"before_caption": "Personal tokens · plaintext at rest, no expiry",
|
|
371
|
+
"after_caption": "Organization keys · hashed at rest, rotated on a schedule",
|
|
372
|
+
"focus": "secrets",
|
|
373
|
+
"places": [
|
|
374
|
+
{
|
|
375
|
+
"node": "rotation",
|
|
376
|
+
"col": 0,
|
|
377
|
+
"row": 0
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"node": "keys",
|
|
381
|
+
"col": 1,
|
|
382
|
+
"row": 0
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"node": "secrets",
|
|
386
|
+
"col": 2,
|
|
387
|
+
"row": 0
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"node": "audit",
|
|
391
|
+
"col": 1,
|
|
392
|
+
"row": 1
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"node": "notify",
|
|
396
|
+
"col": 2,
|
|
397
|
+
"row": 1
|
|
398
|
+
}
|
|
399
|
+
]
|
|
400
|
+
}
|
|
401
|
+
]
|
|
402
|
+
},
|
|
403
|
+
"flows": [
|
|
404
|
+
{
|
|
405
|
+
"id": "authorize",
|
|
406
|
+
"title": "An integration calls the API",
|
|
407
|
+
"outcome": "Who the caller is changes; deciding what they may do stays in one place.",
|
|
408
|
+
"failure": "A new thing that can break: the key store. A timeout should refuse the request rather than let it through, and that behaviour needs a test.",
|
|
409
|
+
"evidence": [
|
|
410
|
+
"D2",
|
|
411
|
+
"D3",
|
|
412
|
+
"D6"
|
|
413
|
+
],
|
|
414
|
+
"before": {
|
|
415
|
+
"steps": [
|
|
416
|
+
{
|
|
417
|
+
"id": "b1",
|
|
418
|
+
"label": "Employee's token",
|
|
419
|
+
"component": "console",
|
|
420
|
+
"status": "unchanged"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"id": "b2",
|
|
424
|
+
"label": "Identify the user",
|
|
425
|
+
"component": "legacy",
|
|
426
|
+
"status": "removed"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"id": "b3",
|
|
430
|
+
"label": "Judge that person's permissions",
|
|
431
|
+
"component": "policy",
|
|
432
|
+
"status": "modified"
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"links": [
|
|
436
|
+
{
|
|
437
|
+
"from": "b1",
|
|
438
|
+
"to": "b2",
|
|
439
|
+
"label": "API request"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"from": "b2",
|
|
443
|
+
"to": "b3",
|
|
444
|
+
"label": "user identity"
|
|
445
|
+
}
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
"after": {
|
|
449
|
+
"steps": [
|
|
450
|
+
{
|
|
451
|
+
"id": "a1",
|
|
452
|
+
"label": "Organization key",
|
|
453
|
+
"component": "console",
|
|
454
|
+
"status": "modified"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"id": "a2",
|
|
458
|
+
"label": "Check the key and the tenant",
|
|
459
|
+
"component": "keys",
|
|
460
|
+
"status": "added"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"id": "a3",
|
|
464
|
+
"label": "Judge the organization's permissions",
|
|
465
|
+
"component": "policy",
|
|
466
|
+
"status": "modified"
|
|
467
|
+
}
|
|
468
|
+
],
|
|
469
|
+
"links": [
|
|
470
|
+
{
|
|
471
|
+
"from": "a1",
|
|
472
|
+
"to": "a2",
|
|
473
|
+
"label": "API request"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"from": "a2",
|
|
477
|
+
"to": "a3",
|
|
478
|
+
"label": "organization plus permissions"
|
|
479
|
+
}
|
|
480
|
+
]
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"id": "revoke",
|
|
485
|
+
"title": "Taking an integration's access away",
|
|
486
|
+
"outcome": "Revoking one key should not switch off any of the others.",
|
|
487
|
+
"failure": "Not known: can a revoked key still be accepted from a cache? Proving revocation works is a condition of this review.",
|
|
488
|
+
"evidence": [
|
|
489
|
+
"D1",
|
|
490
|
+
"D2",
|
|
491
|
+
"D6"
|
|
492
|
+
],
|
|
493
|
+
"before": {
|
|
494
|
+
"steps": [
|
|
495
|
+
{
|
|
496
|
+
"id": "r1",
|
|
497
|
+
"label": "Disable the person's token",
|
|
498
|
+
"component": "console",
|
|
499
|
+
"status": "modified"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"id": "r2",
|
|
503
|
+
"label": "Every integration on it stops too",
|
|
504
|
+
"component": "legacy",
|
|
505
|
+
"status": "removed"
|
|
506
|
+
}
|
|
507
|
+
],
|
|
508
|
+
"links": [
|
|
509
|
+
{
|
|
510
|
+
"from": "r1",
|
|
511
|
+
"to": "r2",
|
|
512
|
+
"label": "one shared identity"
|
|
513
|
+
}
|
|
514
|
+
]
|
|
515
|
+
},
|
|
516
|
+
"after": {
|
|
517
|
+
"steps": [
|
|
518
|
+
{
|
|
519
|
+
"id": "r3",
|
|
520
|
+
"label": "Pick the integration's key",
|
|
521
|
+
"component": "console",
|
|
522
|
+
"status": "modified"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"id": "r4",
|
|
526
|
+
"label": "Mark it revoked",
|
|
527
|
+
"component": "keys",
|
|
528
|
+
"status": "added"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"id": "r5",
|
|
532
|
+
"label": "Record the audit event",
|
|
533
|
+
"component": "audit",
|
|
534
|
+
"status": "unchanged"
|
|
535
|
+
}
|
|
536
|
+
],
|
|
537
|
+
"links": [
|
|
538
|
+
{
|
|
539
|
+
"from": "r3",
|
|
540
|
+
"to": "r4",
|
|
541
|
+
"label": "revoke"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"from": "r4",
|
|
545
|
+
"to": "r5",
|
|
546
|
+
"label": "key.revoked"
|
|
547
|
+
}
|
|
548
|
+
]
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
"tradeoffs": [
|
|
553
|
+
{
|
|
554
|
+
"id": "trade-own-identity",
|
|
555
|
+
"title": "Integrations that stand on their own",
|
|
556
|
+
"pro": "Someone leaving the team no longer breaks the company's automations.",
|
|
557
|
+
"con": "Older integrations have to be moved off personal tokens.",
|
|
558
|
+
"alternative": "A period where both work, with usage figures for the fallback and a date for switching it off.",
|
|
559
|
+
"evidence": [
|
|
560
|
+
"D1",
|
|
561
|
+
"D5"
|
|
562
|
+
]
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"id": "trade-simple-read",
|
|
566
|
+
"title": "Reading the key the simple way",
|
|
567
|
+
"pro": "One place holds the truth about permissions and revocation.",
|
|
568
|
+
"con": "Auth becomes tied to SQL; if the store is down, integrations stop.",
|
|
569
|
+
"alternative": "A KeyResolver port in the domain and the SQL adapter in infrastructure, so the behaviour on failure stays explicit.",
|
|
570
|
+
"evidence": [
|
|
571
|
+
"D3"
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"id": "trade-least-access",
|
|
576
|
+
"title": "Giving out the least access needed",
|
|
577
|
+
"pro": "Each integration gets only the permissions it needs.",
|
|
578
|
+
"con": "More authorization states, and more room to confuse one tenant with another.",
|
|
579
|
+
"alternative": "One shared Policy Engine with contract tests covering both kinds of identity.",
|
|
580
|
+
"evidence": [
|
|
581
|
+
"D2",
|
|
582
|
+
"D6"
|
|
583
|
+
]
|
|
584
|
+
}
|
|
585
|
+
],
|
|
586
|
+
"fit": [
|
|
587
|
+
{
|
|
588
|
+
"id": "fit-product",
|
|
589
|
+
"title": "Product direction",
|
|
590
|
+
"status": "aligned",
|
|
591
|
+
"rule": "Assumed for this example: business integrations are managed at the organization level.",
|
|
592
|
+
"assessment": "Organization keys serve that goal, and this is a platform feature rather than an integration with one particular vendor.",
|
|
593
|
+
"evidence": [
|
|
594
|
+
"D1"
|
|
595
|
+
]
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"id": "fit-boundaries",
|
|
599
|
+
"title": "Domain boundaries",
|
|
600
|
+
"status": "tension",
|
|
601
|
+
"rule": "Assumed for this example: a domain module depends on a port, not on a SQL adapter.",
|
|
602
|
+
"assessment": "Reading SQL straight from Auth breaks that boundary. Move the dependency onto a KeyResolver interface.",
|
|
603
|
+
"evidence": [
|
|
604
|
+
"D3"
|
|
605
|
+
]
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"id": "fit-policy",
|
|
609
|
+
"title": "One shared access policy",
|
|
610
|
+
"status": "aligned",
|
|
611
|
+
"rule": "Assumed for this example: every access decision belongs to the Policy Engine.",
|
|
612
|
+
"assessment": "The PR extends the existing engine instead of building a second permissions mechanism beside it.",
|
|
613
|
+
"evidence": [
|
|
614
|
+
"D2"
|
|
615
|
+
]
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"id": "fit-migration",
|
|
619
|
+
"title": "Are customers ready to migrate",
|
|
620
|
+
"status": "unknown",
|
|
621
|
+
"rule": "There is no data on how many current integrations use personal tokens.",
|
|
622
|
+
"assessment": "No date for removing the fallback can be approved without that data and a plan for telling customers.",
|
|
623
|
+
"evidence": [
|
|
624
|
+
"D5"
|
|
625
|
+
]
|
|
626
|
+
}
|
|
627
|
+
],
|
|
628
|
+
"questions": [
|
|
629
|
+
{
|
|
630
|
+
"id": "q-fallback",
|
|
631
|
+
"owner": "Product owner",
|
|
632
|
+
"question": "Can the fallback be removed in this same release?",
|
|
633
|
+
"why": "We do not know how many customers would have to migrate.",
|
|
634
|
+
"evidence": [
|
|
635
|
+
"D5"
|
|
636
|
+
]
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"id": "q-timeout",
|
|
640
|
+
"owner": "Architect / SRE",
|
|
641
|
+
"question": "What does authorization do when the key store times out?",
|
|
642
|
+
"why": "A new infrastructure dependency has landed on the critical path.",
|
|
643
|
+
"evidence": [
|
|
644
|
+
"D3",
|
|
645
|
+
"D6"
|
|
646
|
+
]
|
|
647
|
+
}
|
|
648
|
+
],
|
|
649
|
+
"api_changes": [
|
|
650
|
+
{
|
|
651
|
+
"id": "api-personal-tokens",
|
|
652
|
+
"surface": "http",
|
|
653
|
+
"name": "Authorization: Bearer <personal token> on /api/*",
|
|
654
|
+
"status": "removed",
|
|
655
|
+
"breaking": true,
|
|
656
|
+
"impact": "Integrations that still send an employee's personal token are refused once the compatibility path is gone.",
|
|
657
|
+
"before": "Any /api/* route accepts a personal token and acts as that employee.",
|
|
658
|
+
"after": "Only organization keys are accepted; a personal token answers 401.",
|
|
659
|
+
"consumers": [
|
|
660
|
+
"Customer integrations",
|
|
661
|
+
"console"
|
|
662
|
+
],
|
|
663
|
+
"migration": "Create an organization key in the console, replace the personal token in every integration, then confirm the audit log shows no personal-token calls.",
|
|
664
|
+
"evidence": [
|
|
665
|
+
"D5",
|
|
666
|
+
"D2"
|
|
667
|
+
]
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"id": "api-auth-header",
|
|
671
|
+
"surface": "http",
|
|
672
|
+
"name": "X-Org-Key request header",
|
|
673
|
+
"status": "added",
|
|
674
|
+
"breaking": false,
|
|
675
|
+
"after": "X-Org-Key: <key id>.<secret> identifies the organization and its scopes.",
|
|
676
|
+
"consumers": [
|
|
677
|
+
"Customer integrations"
|
|
678
|
+
],
|
|
679
|
+
"evidence": [
|
|
680
|
+
"D2"
|
|
681
|
+
]
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"id": "api-key-events",
|
|
685
|
+
"surface": "event",
|
|
686
|
+
"name": "org_key.rotated / org_key.revoked",
|
|
687
|
+
"status": "added",
|
|
688
|
+
"breaking": false,
|
|
689
|
+
"after": "Emitted on every rotation and revocation, carrying the key id and the actor.",
|
|
690
|
+
"consumers": [
|
|
691
|
+
"audit",
|
|
692
|
+
"notify"
|
|
693
|
+
],
|
|
694
|
+
"evidence": [
|
|
695
|
+
"D4",
|
|
696
|
+
"D7"
|
|
697
|
+
]
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"id": "api-key-store",
|
|
701
|
+
"surface": "extension-point",
|
|
702
|
+
"name": "KeyResolver port",
|
|
703
|
+
"status": "added",
|
|
704
|
+
"breaking": "unknown",
|
|
705
|
+
"impact": "The made-up PR does not say whether third-party auth plugins must implement the new port.",
|
|
706
|
+
"after": "interface KeyResolver { resolve(keyId): OrgKey | null }",
|
|
707
|
+
"evidence": [
|
|
708
|
+
"D3"
|
|
709
|
+
]
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"id": "api-keys-table",
|
|
713
|
+
"surface": "schema",
|
|
714
|
+
"name": "org_keys table",
|
|
715
|
+
"status": "added",
|
|
716
|
+
"breaking": false,
|
|
717
|
+
"after": "org_keys(id, org_id, scopes, hash, rotated_at) — only a hash of the secret is stored.",
|
|
718
|
+
"evidence": [
|
|
719
|
+
"D8"
|
|
720
|
+
]
|
|
721
|
+
}
|
|
722
|
+
],
|
|
723
|
+
"evidence": [
|
|
724
|
+
{
|
|
725
|
+
"id": "D1",
|
|
726
|
+
"kind": "demo",
|
|
727
|
+
"title": "The product goal",
|
|
728
|
+
"source": "Made-up product brief",
|
|
729
|
+
"detail": "For this demonstration we assume a business platform where integrations belong to an organization. This is not a verified strategy for any real product."
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"id": "D2",
|
|
733
|
+
"kind": "demo",
|
|
734
|
+
"title": "The change to identity and permissions",
|
|
735
|
+
"source": "Made-up model of the change",
|
|
736
|
+
"detail": "The scenario assumes a new Org Key Registry and an extension of the existing Auth and Policy Engine. The diagram shows that model; it was not derived from code."
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"id": "D3",
|
|
740
|
+
"kind": "demo",
|
|
741
|
+
"title": "A new dependency from Auth to SQL",
|
|
742
|
+
"source": "Made-up diff and architecture rule",
|
|
743
|
+
"detail": "To show the trade-off, we assume the domain reads SQL directly, and a ports-and-adapters rule. Both are inventions of this example, not findings from an audit."
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"id": "D4",
|
|
747
|
+
"kind": "demo",
|
|
748
|
+
"title": "More audit events",
|
|
749
|
+
"source": "Made-up event contract",
|
|
750
|
+
"detail": "The example adds key.created, key.rotated and key.revoked, reusing the existing Audit Log as the receiver. A real review would check who sends them, what the contract is, and who reads them."
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"id": "D5",
|
|
754
|
+
"kind": "demo",
|
|
755
|
+
"title": "Removing the compatibility path",
|
|
756
|
+
"source": "Made-up migration scenario",
|
|
757
|
+
"detail": "We assume the personal-token fallback is removed. The example deliberately leaves out a migration plan and customer data, so that the decision stays open for the product owner."
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"id": "D6",
|
|
761
|
+
"kind": "demo",
|
|
762
|
+
"title": "Error paths nobody has checked",
|
|
763
|
+
"source": "No tests were run",
|
|
764
|
+
"detail": "There are no results for tenant isolation, key revocation or a key-store outage. The list describes the checks that are needed; it does not mean those tests exist or passed."
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"id": "D7",
|
|
768
|
+
"kind": "demo",
|
|
769
|
+
"title": "Rotation schedule in the made-up PR",
|
|
770
|
+
"source": "demo · workers/key_rotation.py:1-84",
|
|
771
|
+
"detail": "Fictional example content. In a real review this record would quote the scheduled job, its interval, and what it writes, read from the diff at the exact head commit."
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"id": "D8",
|
|
775
|
+
"kind": "demo",
|
|
776
|
+
"title": "Hash-at-rest in the made-up PR",
|
|
777
|
+
"source": "demo · migrations/0042_org_keys.sql:1-31",
|
|
778
|
+
"detail": "Fictional example content. In a real review this record would name the column, the hashing routine and the migration that drops the plaintext token, all read in the source."
|
|
779
|
+
}
|
|
780
|
+
]
|
|
781
|
+
}
|