feat: add per-project native server and SSE command streaming
build / jvm (push) Waiting to run
build / native (macos-15, macos-arm64) (push) Waiting to run
build / native (ubuntu-24.04, linux-x86_64) (push) Waiting to run
build / native (windows-2025, windows-x86_64) (push) Waiting to run
Test / Tests and coverage
Intrepid/AI Engineering/pipeline/head This commit looks good

Keep Spring in a persistent project server with lightweight clients, managed start/stop, bounded SSE subscriptions, cursor recovery and durable mutation outcomes. Preserve SQLite authority and transaction limits, and document reproducible native measurements.

Validation: 269 tests, 11 pipeline scenarios, full native/SSE smoke, native package verification and 17 installer tests passed. Implements WRK-000E / DEC-0001 / DEC-0002.
This commit is contained in:
2026-11-22 23:08:47 +00:00
parent 20bb4f02bc
commit 9a555cb3c6
64 changed files with 5062 additions and 29 deletions
+440
View File
@@ -0,0 +1,440 @@
{
"observedAt": "2026-11-22T21:05:40.551988+00:00",
"environment": {
"platform": "macOS-27.2.1-arm64-arm-64bit",
"machine": "arm64",
"logicalCpus": 10,
"initialLoadAverage": [
5.93603515625,
4.7822265625,
3.5390625
],
"cpu": "Apple M2 Pro",
"physicalMemoryBytes": "17179869184"
},
"method": {
"works": 100,
"notesPerWork": 10,
"storage": "sqlite",
"git": false,
"provider": false,
"freshClientPerSample": true,
"percentile": "nearest rank",
"cold": "process cold; OS file caches not flushed",
"copiedFixture": "/private/tmp/aie-wrk000e-benchmark-1/nominal",
"command": [
"work",
"show",
"WRK-0064",
"--format",
"json"
],
"memoryWorkload": "Fresh server then work show per project; first project has 100 Works/1000 notes, remaining projects one Work each. Summed process RSS, shared pages may be counted repeatedly."
},
"candidate": {
"path": "/Users/niltonconstantino/personal/workspace.personal/intrepid/ai-engineering/build/native/package/ai-engineering",
"sha256": "4764f522935d8fdb1600f5a925e845ddb62689a4743a9e17f8eb433347d1e8c2",
"package": {
"schemaVersion": 1,
"aieVersion": "0.1.0",
"protocolVersion": 4,
"sqliteVersion": "3.54.1",
"localServerProtocol": 1,
"buildIdentity": "79f2d2b1a929f76c59d3214ffe55a635e87ab9f536e3f8c28f88438f2a421747",
"files": {
"LICENSE": "975eef35ea2ca6532c53302a8bf202b99231cc7387ebbb022b1af1d58e4852b6",
"README.md": "584c14e6eb74928674c75d1778a692157f63723aad1f51b949dca1055e04f136",
"ai-engineering": "4764f522935d8fdb1600f5a925e845ddb62689a4743a9e17f8eb433347d1e8c2",
"docs/architecture.md": "64f6429677d8073f31d56882f42bed1fcab9820b1c6174026cf46149b90ffb5f",
"docs/cli-adapters.md": "bbf42d7953cb3ff48e75f0ce2228d83afc87c5e10b69d02d555bcd25ca3e32e1",
"docs/compatibility.md": "c127cb6440f561a976b696af5b99a9659da124a7151c170de3413e40cd377cfc",
"docs/discussion-import.md": "de1e09cd8b576da796a6af7dd4b4c8bac6ec08d8cf3c21389155b0710cf5ecda",
"docs/discussion-slice.md": "3aa8b75ddb6c7ba546740594d6709ba78fcffc553a63e0366cd6b56771eae1e5",
"docs/epics.md": "67ea357a91f1fbe64330b1b5a4fd26432e846bd687f961e23e3deca6cb23ceba",
"docs/experiments.md": "cf6ed18390d16f9483bb8a26f77b3ae040e1cabdc6570ab3300bb1bfb4cd2646",
"docs/latency-scenario.md": "d98b5a16c00b6e97f2af33d736515252c39bfdb2ea0ca214c22efbba69ef1183",
"docs/legacy-file-storage.md": "97613b0b58baf02f9c5ef31dfe95ee4b33ef742296c6d94ca3e660205b92d598",
"docs/local-server.md": "26ab737dfa424a35eceffe25177a7b6b006e535e7ccf2c2df41eb97e69ad498e",
"docs/plan-consolidation.md": "9fdc22aab9975e46bb67b1b1aefab0e71af3f069762770662e590483ae1a68cc",
"docs/protocol.md": "c5bf6bf2d459312a3d92e477a1b43dcbdd86aa41c45bd5c10a314560df8a419a",
"docs/roadmap.md": "b3f7d396ad9c4a41a8a02136529f628febf53c4bf2b97acb331668efb76dbeff",
"docs/sqlite-migration-design.md": "21f775427602af06820e6fbeb4d08ff639c803bf923aa0277574df8b2a60488d",
"docs/storage-migration.md": "ac54b7bd2c963367a47d488a32c16720154243378e82b10ba3b78209c8d16aad",
"docs/work-guidance.md": "45e7934db455d427ac1374a1694707d8075ca80b63eef7e13b875e1531474562",
"libawt.dylib": "c794235bd609c8ce066aa3d5b2a3dd5b99d40b5fcd595aceddf4f54051be5d24",
"libawt_lwawt.dylib": "ff09e5e47be4b96c3560b42c890c851ff18e99ddf4d8085525a3244c0aeeba4e",
"libfontmanager.dylib": "3b33fb98dc2937c495ca7833396ad1d613e261e5b6164115821915353ddcdde4",
"libfreetype.dylib": "9a88ef02fe6522f024c2d1e2dee8c1dd053a8ab87d1f61d2b62ea1806b2b189d",
"libjava.dylib": "465aac4cf94ccbd19c4849b89c61284b459c648ecc0f813e8452ad8c6905f444",
"libjavajpeg.dylib": "9370b79daf271c2da78275baa782cfb987c49f0a554585fd35a9edf32211e716",
"libjvm.dylib": "d535b761c960e4f4d1867fc2a977dbc28f7d8fb2a32d7db9bf478c56c175b71d",
"liblcms.dylib": "8d554b5fdb043bb7daff0c305c4464e934387576cb64955b39889ff29a7b0c60",
"libmlib_image.dylib": "e7d5a248aa7956f476aaba2483d7e7684406c3eff3c3984a2a5bba4f9e05fb30",
"libosxapp.dylib": "18fbd74e41bad5e3cb4e6c1a212c75a9590aa863947d5edcdd3571aa5e550105",
"libsqlitejdbc.dylib": "47fa68b43f34552fbfedeed25e82875a42cfd53e81c33c7cee20ac3f729c060e",
"sqlite3": "440575f732a7ff117b604ddd87d742833685a3a6cb3faff414c258b87fc2204c"
}
}
},
"baseline": {
"path": "/private/tmp/aie-wrk000e-baseline-package/ai-engineering",
"sha256": "ba200c28e3ddc6d78668aecf5587524d718902fc6c5eeb607bbca07ee8947658",
"version": "ai-engineering 0.1.0",
"roundtrip": {
"samples": 100,
"minMs": 247.445416,
"p50Ms": 252.974063,
"p95Ms": 261.317167,
"maxMs": 304.625167,
"rawMs": [
268.521708,
254.163208,
256.5805,
261.317167,
261.239666,
253.7125,
257.63675,
256.982542,
267.667291,
275.230333,
304.625167,
258.132,
258.471917,
259.315084,
258.914041,
259.164042,
257.749292,
262.5925,
258.094667,
257.1155,
259.613375,
253.663459,
257.907166,
255.933375,
252.463625,
253.408792,
255.750458,
253.95325,
253.314583,
257.598625,
256.163916,
251.938834,
253.836416,
251.739417,
259.45825,
256.917875,
253.146458,
251.406209,
252.231542,
253.109917,
260.89875,
257.021667,
249.817,
253.119375,
255.144666,
252.735417,
255.235792,
253.881875,
247.609333,
253.901875,
258.764708,
253.395709,
251.726,
251.737917,
260.889166,
256.221375,
249.932084,
250.57375,
253.190459,
249.324666,
250.355708,
250.061625,
252.521708,
251.533917,
251.143,
249.875917,
251.143125,
249.146625,
249.2565,
250.736,
252.253917,
252.331083,
249.038334,
251.9965,
248.102125,
253.843042,
253.604666,
250.204083,
248.605334,
250.113792,
251.64275,
249.621666,
251.095542,
249.856709,
249.101167,
248.752667,
250.381458,
249.596791,
248.69575,
248.897709,
251.597042,
249.719542,
251.313083,
247.445416,
250.167083,
250.555209,
250.437209,
254.228291,
252.838209,
249.669208
]
}
},
"fixture": {
"version": "ai-engineering 0.1.0",
"binary": "/Users/niltonconstantino/personal/workspace.personal/intrepid/ai-engineering/build/native/package/ai-engineering",
"binarySha256": "0c360680bc0355bce8dedb3342d73aed73f0de7042ffe7c25755561b752f7ef7",
"platform": "macOS-27.2.1-arm64-arm-64bit",
"machine": "arm64",
"storage": "sqlite",
"works": 100,
"entriesPerWork": 10,
"selectedWork": "WRK-0064",
"measurementPerformed": false
},
"readiness": {
"samples": 10,
"minMs": 282.047083,
"p50Ms": 285.55010400000003,
"p95Ms": 291.382583,
"maxMs": 291.382583,
"rawMs": [
283.0605,
285.501125,
285.599083,
287.131917,
284.372167,
291.382583,
287.331959,
282.047083,
285.464584,
289.92775
]
},
"firstUse": {
"samples": 10,
"minMs": 100.095708,
"p50Ms": 111.2676455,
"p95Ms": 113.496833,
"maxMs": 113.496833,
"rawMs": [
112.433709,
113.496833,
111.254208,
111.281083,
112.570084,
108.870625,
100.095708,
106.646417,
105.978834,
111.470458
]
},
"warm": {
"samples": 100,
"minMs": 26.557542,
"p50Ms": 35.218104,
"p95Ms": 41.14075,
"maxMs": 42.382333,
"rawMs": [
33.88125,
36.989583,
34.185625,
29.017625,
27.42275,
28.245041,
29.785333,
29.249541,
28.716958,
30.025958,
30.989417,
29.065208,
29.590458,
36.089584,
30.737875,
26.557542,
31.29225,
32.926042,
33.800708,
34.699875,
33.855541,
34.618083,
31.49375,
35.277584,
32.1785,
33.593083,
31.66925,
33.369875,
34.948667,
35.501875,
35.512917,
35.540625,
36.302042,
32.873209,
31.992708,
33.572792,
31.732875,
30.520917,
32.404167,
33.450208,
32.768791,
34.907958,
35.174709,
33.51675,
33.488041,
31.866125,
40.012125,
36.609209,
34.749792,
35.063667,
35.200666,
33.954875,
34.587375,
35.932417,
35.235542,
42.052709,
36.228166,
40.43725,
40.294458,
35.560459,
33.457584,
37.474333,
34.867917,
36.002583,
34.254167,
34.740208,
36.901667,
35.502666,
37.060042,
38.721458,
36.296792,
41.23625,
36.4405,
35.404042,
38.128375,
37.312917,
37.402708,
38.815875,
41.14075,
37.794,
40.049333,
36.435208,
38.26925,
36.971208,
39.96675,
35.615459,
36.847042,
41.504542,
37.211541,
40.59225,
38.550666,
42.23325,
36.535041,
42.382333,
37.893375,
38.973959,
34.611125,
33.259667,
36.928208,
37.128541
]
},
"memory": [
{
"projects": 1,
"processes": [
{
"pid": 31132,
"rssMiB": 48.515625
}
],
"totalRssMiB": 48.515625
},
{
"projects": 5,
"processes": [
{
"pid": 31132,
"rssMiB": 48.546875
},
{
"pid": 31142,
"rssMiB": 48.578125
},
{
"pid": 31150,
"rssMiB": 48.546875
},
{
"pid": 31157,
"rssMiB": 48.53125
},
{
"pid": 31165,
"rssMiB": 48.484375
}
],
"totalRssMiB": 242.6875
},
{
"projects": 10,
"processes": [
{
"pid": 31132,
"rssMiB": 48.59375
},
{
"pid": 31142,
"rssMiB": 48.609375
},
{
"pid": 31150,
"rssMiB": 48.578125
},
{
"pid": 31157,
"rssMiB": 48.5625
},
{
"pid": 31165,
"rssMiB": 48.515625
},
{
"pid": 31182,
"rssMiB": 48.484375
},
{
"pid": 31189,
"rssMiB": 48.515625
},
{
"pid": 31196,
"rssMiB": 48.46875
},
{
"pid": 31203,
"rssMiB": 48.5625
},
{
"pid": 31230,
"rssMiB": 48.578125
}
],
"totalRssMiB": 485.46875
}
],
"acceptance": {
"warmP95AtMost100Ms": true,
"allReadinessAtMost1000Ms": true
}
}