Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
76579c6
feat(learning): add PostgreSQL storage, scoring, and update contracts
nshki Nov 28, 2026
455803b
fix(hub): update SDK image smoke check
nshki Nov 25, 2026
1a274f0
fix(learning): address review of storage and update contracts
nshki Nov 28, 2026
a2c5c3d
fix(learning): let no-label reassessments retire labels on comment co…
nshki Nov 28, 2026
8acf836
fix(learning): keep shared screenshots and hide withdrawn score text
nshki Nov 28, 2026
eded1a6
fix(learning): keep an image a concurrent save still claims
nshki Nov 28, 2026
ca0f770
fix(learning): clean up abandoned screenshots
nshki Nov 29, 2026
38cc435
test(learning): cover interrupted screenshot writes
nshki Nov 29, 2026
4629a3a
fix(learning): scrub secrets from scoring and drafting
nshki Nov 29, 2026
d731fe4
fix(learning): address storage review findings
nshki Nov 29, 2026
d18a542
fix(learning): preserve drafting evidence and redact secrets
nshki Nov 29, 2026
2de7039
fix(learning): guard concurrent storage operations
nshki Nov 29, 2026
cdee740
fix(learning): preserve dismissed evidence boundaries
nshki Nov 29, 2026
99babd5
docs(learning): clarify recurrence thresholds
nshki Nov 29, 2026
5fdf02b
docs(learning): correct repository scope examples
nshki Nov 29, 2026
8b806f8
fix(learning): align record types with contracts
nshki Nov 29, 2026
3440e39
fix(learning): require screenshot consent for local reports and skip …
nshki Nov 29, 2026
668de00
fix(learning): recheck consent before drafting updates
nshki Nov 29, 2026
76a983a
fix(learning): keep migration working after deletions and report retries
nshki Nov 29, 2026
5e9b4cb
fix(learning): keep an edited session message's time
nshki Nov 29, 2026
ff1c41a
fix(learning): keep untrusted text from steering Copilot labels and s…
nshki Nov 29, 2026
6eed349
fix(learning): send only the exact screenshot a report named to the e…
nshki Nov 29, 2026
bd4d935
fix(learning): stabilize dissent evidence ordering
nshki Nov 30, 2026
31f55e3
style(learning): match recurrence formatter output
nshki Nov 30, 2026
f057ab7
fix(learning): harden Copilot data boundaries
nshki Nov 30, 2026
f3d19d2
fix(learning): preserve fenced design examples
nshki Nov 30, 2026
0dfc4cb
fix(learning): format layer one tests
nshki Nov 30, 2026
53c15f9
fix(learning): exclude host auth env from Copilot runtime
nshki Nov 30, 2026
1c06311
fix(learning): fence screenshot writes with consent
nshki Nov 30, 2026
afb36c1
fix(learning): keep proxy credentials out of the Copilot runtime
nshki Nov 30, 2026
a44c928
fix(learning): select stable evidence for retained comment copies
nshki Nov 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/learning-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ jobs:
fail-fast: false
matrix:
node: [24, 26]
services:
postgres:
image: postgres:17.12-bookworm
env:
POSTGRES_USER: replica
POSTGRES_PASSWORD: replica
POSTGRES_DB: replica_learning_test
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -h 127.0.0.1 -U replica -d replica_learning_test"
--health-interval 5s
--health-timeout 5s
--health-retries 10
defaults:
run:
working-directory: packages/learning
Expand All @@ -29,8 +43,9 @@ jobs:
- run: npm ci --ignore-scripts --engine-strict
- run: npm run schema:check
- run: npm test
- run: npm run demo
- run: npm run demo:agent-memory-repo
- run: npm run test:database
env:
REPLICA_LEARNING_TEST_DATABASE_URL: postgresql://replica:replica@127.0.0.1:5432/replica_learning_test
- name: Brand check environment tests
if: matrix.node == 24
working-directory: packages/learning/environments/brand-check
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ cd packages/learning
npm ci
npm run schema:check
npm test
npm run demo
```

`npm ci` also installs the optional Copilot SDK, which labels review comments; the tests replace it with a stand-in, so they need no Copilot access. After changing a schema in `contracts/v1`, run `npm run schema:generate` and commit the regenerated `src/contracts-validators.cjs`. Hub's `npm run lint` lints and checks the formatting of this package. A new memory provider must pass the conformance suite described in [the package guide](packages/learning/README.md).
Expand Down
24 changes: 12 additions & 12 deletions docs/adr/0001-learning-extension-architecture.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hub/script/check-image/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function checkImage() {
image,
"sh",
"-c",
'test -w /app/storage/learning && test -f /opt/replica/learning/bin/replica-learning.mjs && cd /opt/replica/learning && node --input-type=module -e \'import {readFile} from "node:fs/promises"; await import("@github/copilot-sdk"); const manifest = JSON.parse(await readFile("node_modules/@github/copilot-sdk/package.json", "utf8")); if (manifest.version !== "1.0.28") process.exit(1)\'',
'test -w /app/storage/learning && test -f /opt/replica/learning/bin/replica-learning.mjs && cd /opt/replica/learning && node --input-type=module -e \'import {readFile} from "node:fs/promises"; await import("@github/copilot-sdk"); const manifest = JSON.parse(await readFile("node_modules/@github/copilot-sdk/package.json", "utf8")); if (manifest.version !== "1.0.34") process.exit(1)\'',
)
docker("network", "create", network)
networkCreated = true
Expand Down
160 changes: 128 additions & 32 deletions packages/learning/README.md

Large diffs are not rendered by default.

Loading
Loading