Repository navigation
Conversation
Checkouts under the prototype root now appear in a local Hub before their first Build, so their Learnings pages are reachable right away. 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: 25291e01-0146-42cb-ac6d-f5e1dd5c35f5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 25291e01-0146-42cb-ac6d-f5e1dd5c35f5
Members who can see a repository now read every learning, including rejected and retired ones, with titles and decision history. Only repository administrators decide, run, and see usage. Administrators can also edit and reinstate learnings from Hub. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 25291e01-0146-42cb-ac6d-f5e1dd5c35f5
The Learnings page had grown far past the Learnings Library prototype. It now shows only what the prototype shows, and its stories are grouped under Index, Detail, and Settings. The decision-model settings are removed from the UI until the team agrees how people should manage the model. Its API stays, and the docs say so. These changes share the same route, view model, page, and stories, so splitting them would leave commits that don't compile. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 137e1253-cf5f-46e1-aa73-d44f61c1ea60
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
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
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Use the same address rules in the history and decision routes and before calling the Learning command. Valid existing identifiers are unchanged. 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
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical flaws can send decisions to stale repository scopes, misreport successful decisions during recovery, and expose administrator-only migration details to ordinary repository readers.
16 open issues
Recover pending decisions using their original store identity · New Reject cached repository IDs when the Git remote changes · New Keep configuration validation in force through the decision · New Restrict migration follow-up details to administrators · New Use neutral text for learnings excluded from recall · New Hide Accept action when rejected or retired content is unavailable · New Preserve replacement targets when reinstating suggestions · New Keep manual runs available when daily runs are enabled · New Preserve Hub run status, history, results, and usage · New Remove links to unregistered agent and evaluation routes · New Avoid duplicate Edited entries after superseding a learning · New Include contradiction evidence in accepted and rejected details · New Move activity record type out of the API route · New Move repository orchestration into the domain · New Show setup guidance for unresolved or invalid local stores · New Align guidance limits across edit and response validation · New
What changed in this PR
This PR connects local Hub to each checkout’s existing Solo learning store, letting users browse and review learnings without configuring separate Hub storage.
Changes:
- Registers local checkouts and adds Solo store discovery with repository-scope checks.
- Adds learning lists, detail history, activity summaries, and edit/reinstate support.
- Updates contracts, audits, tests, and setup guidance; removes the decision-model frontend while retaining its API.
| File | Description |
|---|---|
infrastructure/README.md |
Clarifies deployed learning setup and migration. |
hub/server/routes/index.ts |
Registers the learning-history endpoint. |
hub/server/routes/api/workspace/get/index.db.test.ts |
Covers registration on the first local workspace request. |
hub/server/routes/api/product/create-product-route-dependencies/index.ts |
Registers checkouts before listing local repositories. |
hub/server/routes/api/product-index/index.db.test.ts |
Updates learning visibility and response expectations. |
hub/server/routes/api/learnings/types.ts |
Adds history, activity, and Solo dependency contracts. |
hub/server/routes/api/learnings/history/get/index.ts |
Serves history with access rechecks. |
hub/server/routes/api/learnings/get/index.ts |
Separates library reads from administrator capabilities. |
hub/server/routes/api/learnings/decision/post/index.ts |
Accepts edit and reinstate decisions. |
hub/server/routes/api/learnings/create-learnings-route-dependencies/repository-authority.db.test.ts |
Covers reader access and Solo scope changes. |
hub/server/routes/api/learnings/create-learnings-route-dependencies/index.ts |
Selects stores and connects Solo learning operations. |
hub/server/repositories/security-audits/parse-security-audit-event/index.ts |
Parses the additional decision actions. |
hub/server/repositories/security-audits/create-security-audit/types.ts |
Extends learning-decision audit types. |
hub/server/repositories/local-repositories/register-local-repository/index.ts |
Registers checkouts and grants local administration. |
hub/server/repositories/local-builds/prepare-local-build/index.ts |
Reuses checkout registration during Build preparation. |
hub/server/repositories/learning-decision-operations/create-learning-decision-operation/index.ts |
Records edit and reinstate operations. |
hub/server/repositories/learning-decision-operations/create-learning-decision-operation/index.db.test.ts |
Covers allowed decision values. |
hub/server/index.ts |
Connects checkout registration to startup and workspace reads. |
hub/server/domains/local-development/register-local-repositories/index.ts |
Discovers checkouts without creating Builds. |
hub/server/domains/local-development/register-local-repositories/index.db.test.ts |
Covers registration and administrator grants. |
hub/server/domains/learning/types.ts |
Adds titles, digests, rejected records, and history types. |
hub/server/domains/learning/reconcile-learning-decision-operation/index.ts |
Extends recovery to the new decision actions. |
hub/server/domains/learning/list-local-learning-activity/index.ts |
Aggregates Solo activity by UTC day. |
hub/server/domains/learning/list-local-learning-activity/index.test.ts |
Covers daily aggregation and malformed records. |
hub/server/domains/learning/learning-store-arguments/index.ts |
Supports Solo scopes without Hub legacy identifiers. |
hub/server/domains/learning/get-learning-overview/index.ts |
Reads Solo stores and projects rejected learnings. |
hub/server/domains/learning/get-learning-overview/index.test.ts |
Covers mixed evidence and rejected-record projection. |
hub/server/domains/learning/get-learning-history/index.ts |
Projects stored decisions and supporting evidence. |
hub/server/domains/learning/get-learning-history/index.test.ts |
Covers history projection and evidence batching. |
hub/server/domains/learning/find-solo-learning-store/index.ts |
Locates checkout stores and reads their scope. |
hub/server/domains/learning/find-solo-learning-store/index.test.ts |
Covers supported scopes and symbolic-link rejection. |
hub/server/domains/learning/execute-learning-decision/index.ts |
Applies Solo decisions and passes edit fields privately. |
hub/server/domains/learning/execute-learning-decision/index.test.ts |
Covers Solo targeting and temporary-file cleanup. |
hub/server/domains/learning/create-learning-job-processors/index.ts |
Selects Solo stores during decision recovery. |
hub/schema/migrations/20261220120000_learning_decision_actions/migration.sql |
Allows edit and reinstate operation records. |
hub/docs/storybook.md |
Updates learning index and detail story links. |
hub/docs/README.md |
Updates the learning guide description. |
hub/docs/frontend.md |
Documents the API-only decision-model boundary. |
hub/docs/development.md |
Explains checkout discovery and shared Solo storage. |
hub/docs/decision-model-control-plane.md |
Documents removal of decision-model page controls. |
hub/docs/copilot.md |
Clarifies deployed Copilot connection setup. |
hub/client/storybook/fixtures/learnings.ts |
Adds shared library and detail fixtures. |
hub/client/pages/learnings-page/types.ts |
Defines the redesigned learning page data. |
hub/client/pages/learnings-page/styles.css |
Styles the revised page layout. |
hub/client/pages/learnings-page/detail/stories.tsx |
Adds learning detail and decision states. |
hub/client/features/learnings-library/types.ts |
Defines library rows, details, and history entries. |
hub/client/features/learnings-library/styles.css |
Styles lists, details, evidence, and decision forms. |
hub/client/features/learning-activity-grid/types.ts |
Defines daily activity presentation data. |
hub/client/features/learning-activity-grid/styles.css |
Styles the responsive activity calendar. |
hub/client/features/learning-activity-grid/index.tsx |
Adds activity selection and keyboard navigation. |
hub/client/features/learning-activity-grid/index.test.tsx |
Covers calendar interaction and year changes. |
hub/client/features/decision-model-panel/types.ts |
Removes decision-model panel data types. |
hub/client/features/decision-model-panel/styles.css |
Removes decision-model panel styling. |
hub/client/application/hub/view-models/settings-learnings/index.test.ts |
Updates page mapping and Solo activity coverage. |
hub/client/application/hub/view-models/learnings-library/index.ts |
Maps filtering, pagination, details, and decisions. |
hub/client/application/hub/view-models/learnings-library/index.test.ts |
Covers library navigation and detail mapping. |
hub/client/application/hub/routes/settings-learnings/index.test.ts |
Removes decision-model route-action tests. |
hub/client/application/hub/routes/route-naming.test.tsx |
Updates learning navigation and decision assertions. |
hub/client/application/hub/routes/fixtures/empty-learnings/index.ts |
Extends the empty learning response fixture. |
hub/client/application/hub/learnings-contracts/types.ts |
Adds Solo, history, activity, and decision response types. |
hub/client/application/hub/learnings-contracts/index.ts |
Validates the expanded learning API contracts. |
hub/client/application/hub/learnings-contracts/index.test.ts |
Covers expanded responses and Solo activity. |
hub/client/application/hub/decision-model-contracts/types.ts |
Removes frontend decision-model response types. |
hub/client/application/hub/decision-model-contracts/index.ts |
Removes frontend decision-model validators. |
hub/client/application/hub/decision-model-contracts/index.test.ts |
Removes decision-model contract tests. |
Review effort: Max (adaptive)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
…daries Return export follow-up details only after the current administrator check. Keep Solo activity types in the domain and compose checkout registration and Build preparation in one domain transaction. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Keep the manual first run available with daily runs. Show status, results, and Copilot usage in an expandable summary, and do not link to destinations before they exist. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Keep excluded guidance and withheld decisions honest. Show opposing evidence and replacement targets before reconsidering rejected guidance, and do not count a carried-forward edit as a second decision. Accept Solo-length guidance throughout the edit flow. 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
Keep checkout identity checks and decisions under Solo's config lock. Record the original scope and store key so recovery can verify an interrupted decision without opening a replacement store. 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
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
Deploy later migrations after the access migration under test, not into a schema that intentionally lacks its columns. Keep the populated record, backfill, and authority assertions intact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 459b160c-a7ab-4c14-8a06-098ca9096352
nshki
marked this pull request as ready for review
December 1, 2026 01:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Why
Developers using local Hub should be able to review the same learnings their agents use in Solo mode, without maintaining a second learning store.
What changes
Local Hub discovers prototype checkouts at startup. The Learnings page shows Solo activity and setup guidance, lets members browse suggestions and past decisions, and lets repository administrators decide which guidance to keep. Hub rechecks the local configuration before saving a decision.
Administrators can open Recent runs to see a run's status, results, and Copilot usage. Before accepting a rejected learning again, they can see what it would replace and read conflicting feedback. Hub keeps the decision history visible when the wording is unavailable, but does not offer to accept it. The default index example now covers starting a run; it replaces the separate WithoutDailyRuns example.
On the published revision (
2269f43fa), the Hub database checks reached the tests but failed when Hub could not read the learning command's output.Storybook screenshots
Hub/Pages/Learnings/Index
Hub/Pages/Learnings/Detail
Hub/Features/Settings form boundary