Skip to content

feat(hub): complete the Learning agent experience - #445

Open
nshki wants to merge 37 commits into
nshki/feat/hub/04-learnings-pagefrom
nshki/feat/hub/05-learning-experience
Open

nshki wants to merge 37 commits into
nshki/feat/hub/04-learnings-pagefrom
nshki/feat/hub/05-learning-experience

Conversation

@nshki

@nshki nshki commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Why

People using Hub need to give coding agents access to accepted repository learnings without sharing chat history. Repository administrators need to control review-comment and Pick & Polish evidence separately, while deployment administrators need a clear consent setup path.

What changes

People can connect or revoke a coding agent from the Learnings page. Before approval, Hub shows where access will go and what it allows: agents can read accepted guidance, report what they used, and submit Pick & Polish notes. Hub stores those notes only for repositories that allow it, never the surrounding chat. Local Hub repositories continue to use the checkout’s MCP server in local learning mode.

Repository administrators control review comments and notes separately in Learning settings. Requesting a manual run shows which repository’s comments Hub can import for this and future runs. Confirming does not turn imports back on if they are off. Allowed notes can still be processed when review comments are not allowed.

Azure’s post-setup menu now includes learning consent. When deployment-wide review-comment consent is enabled, the Copilot connection screen explains that connecting or checking Copilot records consent across repositories. Repository administrators can opt out for their repository.
Learnings uses the sticky repository header on the index, detail, settings and connected-agent pages. Members can browse the year’s activity, inspect evidence and read decision history. Administrators can compare suggested wording and manage eligible shared guidance. The selected Build shows what agents report using. A Hub administrator without repository administration sees only the shared evaluation budget, not the repository’s consent settings.

The activity grid shows the selected day’s run status without a separate recent-runs list. The standalone Recent Runs story was removed; Failed Learning Run now shows the selected day in the grid.

Storybook screenshots

Captured from 90ba0f01d.

Hub/Pages/Security/Copilot — 5 stories

Hub/Pages/Security/Copilot/Connected — light theme, 1440x1000
Hub/Pages/Security/Copilot/Connected Organization Installation — light theme, 1440x1000
Hub/Pages/Security/Copilot/Not Connected — light theme, 1440x1000
Hub/Pages/Security/Copilot/Organization Installation — light theme, 1440x1000
Hub/Pages/Security/Copilot/Refused — light theme, 1440x1000

Hub/Features/Settings form boundary — 2 stories

Hub/Features/Settings form boundary/Error — light theme, 1440x1000
Hub/Features/Settings form boundary/Success — light theme, 1440x1000

Hub/Pages/Learnings/Detail — 18 stories

Hub/Pages/Learnings/Detail/Active — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Applying Suggested Update — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Earlier Guidance — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Editing Learning — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Local Learning Suggestion — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Member — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Not Evaluated Yet — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Not Recalled — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Rejected — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Rejected Still Shared — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Shared By This Repository — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Shared From Another Repository — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Suggested Update — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Suggestion — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Suggestion With Opposing Evidence — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Unavailable Rejected Wording — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Unavailable Wording — light theme, 1440x1000
Hub/Pages/Learnings/Detail/Update Needs More Evidence — light theme, 1440x1000

Hub/Pages/Learnings/Index — 16 stories

Hub/Pages/Learnings/Index/Access Denied — light theme, 1440x1000
Hub/Pages/Learnings/Index/Copilot Not Connected — light theme, 1440x1000
Hub/Pages/Learnings/Index/Copilot Refused — light theme, 1440x1000
Hub/Pages/Learnings/Index/Default — light theme, 1440x1000
Hub/Pages/Learnings/Index/Empty Status — light theme, 1440x1000
Hub/Pages/Learnings/Index/Failed Learning Run — light theme, 1440x1000
Hub/Pages/Learnings/Index/First Visit — light theme, 1440x1000
Hub/Pages/Learnings/Index/Identity Revalidation — light theme, 1440x1000
Hub/Pages/Learnings/Index/Load Error — light theme, 1440x1000
Hub/Pages/Learnings/Index/Local Learning — light theme, 1440x1000
Hub/Pages/Learnings/Index/Local Learning Setup — light theme, 1440x1000
Hub/Pages/Learnings/Index/Many Learnings — light theme, 1440x1000
Hub/Pages/Learnings/Index/No Search Results — light theme, 1440x1000
Hub/Pages/Learnings/Index/Readable Member — light theme, 1440x1000
Hub/Pages/Learnings/Index/Redaction Follow Up — light theme, 1440x1000
Hub/Pages/Learnings/Index/Run Confirmation — light theme, 1440x1000

Hub/Pages/Learnings/Settings/Agent connections — 7 stories

Hub/Pages/Learnings/Settings/Agent connections/Approval Request — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Agent connections/Connected Agents — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Agent connections/Local Repository — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Agent connections/No Connected Agents — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Agent connections/Remote Approval Request — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Agent connections/Revoke Confirmation — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Agent connections/Revoked — light theme, 1440x1000

Hub/Pages/Learnings/Settings/Learning settings — 8 stories

Hub/Pages/Learnings/Settings/Learning settings/Budget Reached — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Learning settings/Defaults — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Learning settings/Failed — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Learning settings/Hub Administrator — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Learning settings/Repository Administrator — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Learning settings/Saved — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Learning settings/Saving — light theme, 1440x1000
Hub/Pages/Learnings/Settings/Learning settings/Zero Budget — light theme, 1440x1000

Hub/Pages/Prototype Review — 2 stories

Hub/Pages/Prototype Review/Applied Learnings — light theme, 1440x1000
Hub/Pages/Prototype Review/Applied Learnings Without Screenshots — light theme, 1440x1000

Add the persistence and initial user-facing connection page needed for authenticated learning agents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Connect authenticated agents to repository learnings, add consent controls for review comments and Pick & Polish notes, and expose deployed setup through the Azure wizard.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Mark MCP routes private before parsing request bodies.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
List the new agent management and approval screens beside their stories.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Explain how disabling and re-enabling deployment-wide learning consent affects the saved administrator grant. Make the lifecycle visible in the Azure setup prompt and operator guidance.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Keep the new agent tables consistent with Hub schema conventions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
@nshki
nshki added this pull request to stack #446 November 30, 2026 21:32
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Copilot AI adaptive review requested due to automatic review settings November 30, 2026 21:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved critical privacy and authorization flaws allow surrounding chat to reach Hub, record deployment-wide learning consent without explicit acknowledgement, and leave agent tokens usable after sign-out.

21 open issues

And 1 more that still need to be addressed.

1 file not reviewed
  • hub/package-lock.json: Generated file
What changed in this PR

Extends Hub’s Learning v2 with OAuth-connected coding agents and administrator-controlled evidence consent, while retaining Solo for local repositories.

Changes:

  • Adds agent approval, token refresh and revocation, and repository MCP endpoints for guidance, usage reports, and note submissions.
  • Adds separate review-comment and Pick & Polish consent settings, persistence, scheduling, and audit support.
  • Adds Azure consent configuration, frontend routes, Storybook states, and focused tests.
File Description
infrastructure/​README.md Documents deployment consent setup and lifecycle.
infrastructure/​installer/​types.ts Adds the Learning post-setup action.
infrastructure/​installer/​entry/​index.ts Adds Learning consent to the menu.
infrastructure/​installer/​entry/​index.test.ts Covers the new menu action.
infrastructure/​azure/​post/​progress/​index.ts Persists Learning consent answers for recovery.
infrastructure/​azure/​post/​index.ts Applies consent-only deployment updates.
infrastructure/​azure/​post/​configure/​index.ts Prompts for deployment-wide consent.
infrastructure/​azure/​post/​configure/​index.test.ts Covers consent choices.
hub/​server/​start-server-processes/​index.ts Accepts agent connection dependencies.
hub/​server/​run-api/​index.ts Passes agent dependencies into the app.
hub/​server/​routes/​types.ts Extends shared route dependencies.
hub/​server/​routes/​index.ts Registers agent and Learning settings routes.
hub/​server/​routes/​api/​security-audits/​present-security-audit/​index.ts Presents new connection and settings audit events.
hub/​server/​routes/​api/​learnings/​types.ts Defines settings operations and audit contracts.
hub/​server/​routes/​api/​learnings/​settings/​patch/​index.ts Adds administrator-authorized settings updates.
hub/​server/​routes/​api/​learnings/​settings/​get/​index.ts Adds authorized settings retrieval.
hub/​server/​routes/​api/​learnings/​index.test.ts Adds settings dependency fixtures.
hub/​server/​routes/​api/​learnings/​create-learnings-route-dependencies/​repository-authority.db.test.ts Covers authority loss before consent changes.
hub/​server/​routes/​api/​learnings/​create-learnings-route-dependencies/​index.ts Implements consent reads and guarded changes.
hub/​server/​routes/​api/​copilot-connection/​create-copilot-connection-route-dependencies/​index.ts Passes deployment consent into Copilot connection.
hub/​server/​routes/​agent-connections/​types.ts Defines agent route configuration.
hub/​server/​routes/​agent-connections/​index.ts Implements browser management and repository MCP access.
hub/​server/​routes/​agent-connections/​index.db.test.ts Covers OAuth approval, rotation, and revocation.
hub/​server/​repositories/​security-audits/​parse-security-audit-event/​index.ts Accepts Learning settings denial events.
hub/​server/​repositories/​security-audits/​create-security-audit/​types.ts Extends typed denial audit operations.
hub/​server/​repositories/​learning-settings/​save-repository-learning-setting/​index.ts Saves repository consent settings.
hub/​server/​repositories/​learning-settings/​record-pick-and-polish-notes-received/​index.ts Marks incoming notes for learning discovery.
hub/​server/​repositories/​learning-settings/​get-review-comment-consent/​index.ts Resolves repository and deployment consent.
hub/​server/​repositories/​learning-settings/​get-repository-learning-setting/​index.ts Reads settings with change attribution.
hub/​server/​repositories/​learning-runs/​list-due-learning-repositories/​index.ts Accounts for consent changes and incoming notes.
hub/​server/​repositories/​learning-runs/​list-due-learning-repositories/​index.db.test.ts Covers scheduling after deployment consent changes.
hub/​server/​repositories/​copilot-connections/​replace-copilot-connection/​index.ts Accepts the consent timestamp.
hub/​server/​repositories/​agent-connections/​touch-agent-connection/​index.ts Validates access tokens and updates activity.
hub/​server/​repositories/​agent-connections/​rotate-agent-connection/​index.ts Rotates access and refresh tokens.
hub/​server/​repositories/​agent-connections/​revoke-agent-connection/​index.ts Revokes connections by token or owner.
hub/​server/​repositories/​agent-connections/​record-agent-connection-audit/​index.ts Records approval and revocation audits.
hub/​server/​repositories/​agent-connections/​list-agent-connections/​index.ts Lists current owner-bound connections.
hub/​server/​repositories/​agent-connections/​find-agent-repository/​index.ts Restricts agent access to connected GitHub repositories.
hub/​server/​repositories/​agent-connections/​create-agent-connection/​index.ts Persists agent credentials and authority references.
hub/​server/​repositories/​agent-clients/​find-agent-client/​index.ts Retrieves registered OAuth clients.
hub/​server/​repositories/​agent-clients/​create-agent-client/​index.ts Persists OAuth client registrations.
hub/​server/​repositories/​agent-authorizations/​find-pending-agent-authorization/​index.ts Retrieves pending approval requests.
hub/​server/​repositories/​agent-authorizations/​find-agent-authorization-challenge/​index.ts Retrieves valid PKCE challenges.
hub/​server/​repositories/​agent-authorizations/​decide-agent-authorization/​index.ts Settles approval requests once.
hub/​server/​repositories/​agent-authorizations/​create-agent-authorization/​index.ts Creates requests and removes expired ones.
hub/​server/​repositories/​agent-authorizations/​claim-agent-authorization/​index.ts Consumes approved authorization codes atomically.
hub/​server/​integrations/​mcp/​require-agent-token/​index.ts Enforces bearer authentication with OAuth discovery.
hub/​server/​integrations/​mcp/​handle-mcp-request/​index.ts Serves stateless MCP requests.
hub/​server/​integrations/​mcp/​handle-mcp-request/​index.test.ts Covers already-parsed MCP request bodies.
hub/​server/​integrations/​mcp/​create-agent-auth-router/​index.ts Configures OAuth discovery and endpoints.
hub/​server/​integrations/​mcp/​agent-oauth-provider/​types.ts Defines the OAuth service interface.
hub/​server/​integrations/​mcp/​agent-oauth-provider/​index.ts Adapts agent connections to the MCP SDK.
hub/​server/​integrations/​learning/​load-learning-mcp/​index.ts Loads shared Learning MCP tools lazily.
hub/​server/​integrations/​learning/​load-learning-mcp/​index.test.ts Covers shared tool loading.
hub/​server/​integrations/​express/​canvas-sign-in-return/​index.ts Allows returning to agent approval after sign-in.
hub/​server/​index.ts Configures agent services at startup.
hub/​server/​domains/​learning/​read-review-comment-consent/​index.ts Parses deployment consent configuration.
hub/​server/​domains/​learning/​read-review-comment-consent/​index.test.ts Covers the default consent setting.
hub/​server/​domains/​learning/​read-learning-configuration/​index.ts Includes consent in Learning configuration.
hub/​server/​domains/​learning/​read-learning-configuration/​index.test.ts Covers consent defaults and invalid values.
hub/​server/​domains/​learning/​process-learning-run/​index.ts Applies review-comment consent during runs.
hub/​server/​domains/​learning/​process-learning-run/​index.test.ts Covers grant selection and disabled imports.
hub/​server/​domains/​learning/​create-learning-job-processors/​index.ts Connects consent storage to workers and scheduling.
hub/​server/​domains/​learning/​change-pick-and-polish-consent/​index.ts Creates or withdraws note-learning grants.
hub/​server/​domains/​copilot-connection/​types.ts Extends connection persistence contracts.
hub/​server/​domains/​copilot-connection/​connect-copilot/​index.ts Records deployment consent on connection.
hub/​server/​domains/​copilot-connection/​connect-copilot/​index.test.ts Checks consent timestamp persistence.
hub/​server/​domains/​agent-connections/​create-learning-mcp-backend/​index.ts Implements hosted guidance, usage, and note operations.
hub/​server/​domains/​agent-connections/​create-learning-mcp-backend/​index.test.ts Covers access checks, privacy filtering, and errors.
hub/​server/​domains/​agent-connections/​create-agent-connections/​index.ts Implements the OAuth connection lifecycle.
hub/​server/​create-app/​index.ts Wires agent routes and sensitive-request protections.
hub/​server/​create-app/​index.test.ts Covers exclusion of MCP bodies from logs.
hub/​schema/​repository.prisma Links repositories to Learning settings.
hub/​schema/​repository-learning-setting.prisma Models consent, attribution, and note receipt.
hub/​schema/​migrations/​20261224120000_repository_learning_settings/​migration.sql Adds consent storage and relations.
hub/​schema/​migrations/​20261223170000_agent_connections/​migration.sql Creates OAuth client, authorization, and connection tables.
hub/​schema/​membership.prisma Adds connection and consent-attribution relations.
hub/​schema/​hub-session.prisma Links sessions to agent authorizations.
hub/​schema/​external-identity.prisma Links identities to agent connections.
hub/​schema/​copilot-connection.prisma Stores deployment consent time.
hub/​schema/​authentication-provider-revision.prisma Links provider revisions to agent connections.
hub/​schema/​agent-connection.prisma Models token digests and connection authority.
hub/​schema/​agent-client.prisma Models registered OAuth clients.
hub/​schema/​agent-authorization.prisma Models approval requests and one-time codes.
hub/​package.json Adds the MCP SDK dependency.
hub/​package-lock.json Locks the MCP SDK dependency tree.
hub/​docs/​storybook.md Adds links to agent and settings stories.
hub/​client/​storybook/​fixtures/​learnings.ts Replaces the evaluation link with settings.
hub/​client/​pages/​learnings-page/​types.ts Renames the settings navigation property.
hub/​client/​pages/​learnings-page/​styles.css Styles header actions.
hub/​client/​pages/​learnings-page/​stories.tsx Updates settings-link fixtures.
hub/​client/​pages/​learnings-page/​index.tsx Links to Learning settings.
hub/​client/​pages/​learning-settings-page/​types.ts Defines settings presentation data.
hub/​client/​pages/​learning-settings-page/​styles.css Styles consent controls.
hub/​client/​pages/​learning-settings-page/​stories.tsx Adds settings save and error states.
hub/​client/​pages/​learning-settings-page/​index.tsx Presents separate evidence-consent switches.
hub/​client/​pages/​agent-connections-page/​types.ts Defines approval and connection-list data.
hub/​client/​pages/​agent-connections-page/​styles.css Styles agent setup and approval views.
hub/​client/​pages/​agent-connections-page/​stories.tsx Adds approval, listing, and revocation states.
hub/​client/​pages/​agent-connections-page/​index.tsx Presents setup, approval, and revocation controls.
hub/​client/​pages/​agent-connections-page/​index.test.tsx Covers configuration copying and revoke confirmation.
hub/​client/​application/​hub/​view-models/​settings-learnings/​index.ts Gates Learning settings navigation by repository authority.
hub/​client/​application/​hub/​routes/​real-workspace-navigation.test.tsx Covers approval return paths through sign-in.
hub/​client/​application/​hub/​routes/​product-routes.ts Registers repository agent and settings pages.
hub/​client/​application/​hub/​routes/​learning-settings/​index.tsx Loads settings and submits consent changes.
hub/​client/​application/​hub/​routes/​learning-agents/​index.tsx Loads connections and handles revocation.
hub/​client/​application/​hub/​routes/​agent-approval/​index.tsx Loads requests and submits approval decisions.
hub/​client/​application/​hub/​routes.ts Registers standalone agent approval.
hub/​client/​application/​hub/​learnings-contracts/​types.ts Defines settings request and response types.
hub/​client/​application/​hub/​learnings-contracts/​index.ts Adds settings validation schemas.
hub/​client/​application/​hub/​agent-connections/​contract.ts Validates agent API responses.
hub/​client/​application/​hub-application/​index.tsx Adds agent-specific sign-in copy.

Review effort: Max (adaptive)

nshki and others added 4 commits November 30, 2026 14:55
Tie agent tokens to the approving session and bound OAuth registrations. Accept only Pick & Polish notes through Hub MCP and keep their scheduled work separate from review-comment consent.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Keep deployment consent off by default, describe what connecting Copilot permits, and leave the first manual run available. Return the updated settings and report denied or busy requests consistently.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
The standalone agent page uses Primer components, not Hub theme state. Its test no longer depends on the location of Hub’s theme provider on the stack base.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Comment thread packages/learning/src/mcp.mjs Resolved
nshki and others added 2 commits November 30, 2026 15:10
Return fixed host recovery messages by error code. Do not log request errors or let their text become instructions for the agent.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved critical flaws can expose OAuth credentials, allow learning evidence to be processed without valid consent, and permit fabricated reviewer attribution.

16 open issues
21 resolved since last review

And 1 more resolved.

1 file not reviewed
  • hub/package-lock.json: Generated file

Review effort: Max (adaptive)

Comment thread hub/server/create-app/index.ts Resolved
Comment thread infrastructure/azure/post/index.ts Resolved
Comment thread packages/learning/mcp.d.mts Resolved
Comment thread packages/learning/src/mcp.mjs Resolved
Comment thread packages/learning/test/mcp.test.mjs Resolved
nshki and others added 4 commits November 30, 2026 15:31
Exclude OAuth payloads before parsing and ensure a transcript-only backend cannot be paired with the hosted notes schema.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Explain ongoing repository comment imports before a manual run and the note storage allowed by agent approval. After an account switch, show the current approval session without replaying the decision.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
nshki and others added 6 commits November 30, 2026 15:36
Use committed note and reply event versions as receipts so retries can finish marking learning work without rescheduling unchanged evidence. Split large batches without renumbering replies and attribute human feedback to the authenticated submitter.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Limit processing to permitted grants and reconcile note consent after interrupted saves. Keep review checkpoints tied to real imports and let unfinished notes continue independently.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Preserve the Hub-specific agent and settings destinations and first-run confirmation, alongside the restored administrator history, expanded evidence, and Solo store identity safeguards.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Show the Hub origin after a restart, the Copilot page after Learning setup, and GitHub setup after sign-in changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
@nshki
nshki marked this pull request as ready for review December 1, 2026 01:39
@nshki
nshki requested a review from a team as a code owner December 1, 2026 01:39
nshki and others added 7 commits November 30, 2026 18:20
Resolve suggested-update dismissals from their operation receipts and keep store-bound reads and decisions pinned to the original checkout.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Restore the reviewed data paths behind the Learning UI. Keep private run details, shared versions, and screenshot evidence behind their current authority and consent checks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Bring back the sticky repository bar, activity grid, guidance history, and Build and settings flows from the accepted design. Drive Storybook from the live pages and retain the consent and access boundaries added by the stack.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Recheck the request revision, last report time and matching successful Build in the delete so cleanup cannot discard renewed work.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Tell hosts when a publication projection must be discarded even if no writer has changed the store.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Fence cross-repository publication, read screenshot permission inside the serialized recall, and withhold repository settings from budget-only administrators. Keep the final denial audit and repository-scoped lookups.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Keep the title and back link visible above each repository settings view. Render only the budget for budget-only administrators, and keep standalone agent approval separate.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Keep run feedback in the selected activity day rather than showing a separate list and credit breakdown above the library.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each screenshot projection now has its own function directory. The agent connection query describes its owner without importing another repository.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
nshki and others added 4 commits November 30, 2026 19:18
Keep the run completion and atomic increments in one transaction. Normalize the transaction timezone before reading stored run timestamps.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Resolve history after the last reader-access check so withdrawn images cannot expose derived reasoning or suggested wording.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Bound pending registrations separately and reclaim unused entries without interrupting active approvals, exchanges or connections.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Hold the lifecycle lock and perform the capacity checks on one transaction. Share the pending-registration predicate and cutoff without coupling separate repositories.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants