@timurproko/a1 0.1.8-dev.157 → 0.1.8-dev.214
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 +32 -0
- package/bin/cli.js +2 -2
- package/bin/sync-pi-tui-proxy.js +1 -1
- package/bin/ui.js +18 -3
- package/dist/cli/dispatch.js +3 -3
- package/dist/cli/packages.js +1 -1
- package/dist/cli/version-stats.js +3 -3
- package/dist/composition/owned-ui.d.ts +4 -1
- package/dist/composition/owned-ui.js +9 -6
- package/dist/composition/settings-route-host.js +6 -4
- package/dist/contracts/agent-engine/capability-ports.d.ts +2 -2
- package/dist/contracts/agent-engine/domain-validation.js +22 -4
- package/dist/contracts/agent-engine/domain.d.ts +17 -0
- package/dist/contracts/owned-ui/model.d.ts +8 -0
- package/dist/contracts/owned-ui/validation.js +11 -0
- package/dist/features/launch/development-launch.js +1 -1
- package/dist/features/owned-ui/customization.d.ts +2 -0
- package/dist/features/owned-ui/customization.js +2 -0
- package/dist/features/owned-ui/diagnostics.d.ts +1 -0
- package/dist/features/owned-ui/diagnostics.js +1 -0
- package/dist/features/owned-ui/index.d.ts +1 -0
- package/dist/features/owned-ui/index.js +1 -0
- package/dist/features/owned-ui/project-trust-prompt.d.ts +25 -0
- package/dist/features/owned-ui/project-trust-prompt.js +149 -0
- package/dist/features/owned-ui/settings-app.js +69 -44
- package/dist/features/workspace/reducer.d.ts +1 -0
- package/dist/features/workspace/reducer.js +1 -0
- package/dist/features/workspace/router.d.ts +1 -0
- package/dist/features/workspace/router.js +1 -0
- package/dist/features/workspace/store.d.ts +1 -0
- package/dist/features/workspace/store.js +1 -0
- package/dist/foundation/launch-guardian/main.js +1 -1
- package/dist/foundation/native-host-protocol/codec.d.ts +2 -0
- package/dist/foundation/native-host-protocol/codec.js +2 -0
- package/dist/foundation/process-containment/linux-process-inspector.d.ts +1 -0
- package/dist/foundation/process-containment/linux-process-inspector.js +1 -0
- package/dist/foundation/process-containment/native-guardian-containment.d.ts +1 -0
- package/dist/foundation/process-containment/native-guardian-containment.js +1 -0
- package/dist/foundation/process-containment/windows-process-inspector.d.ts +1 -0
- package/dist/foundation/process-containment/windows-process-inspector.js +1 -0
- package/dist/foundation/protocol/client.d.ts +1 -0
- package/dist/foundation/protocol/client.js +1 -0
- package/dist/foundation/protocol/messages.d.ts +1 -0
- package/dist/foundation/protocol/messages.js +1 -0
- package/dist/foundation/release/bootstrap.js +6 -6
- package/dist/foundation/release/cohort-state.d.ts +1 -0
- package/dist/foundation/release/cohort-state.js +1 -0
- package/dist/foundation/release/release-gc.js +1 -1
- package/dist/foundation/release/release.js +1 -1
- package/dist/foundation/release/update-transaction.d.ts +1 -0
- package/dist/foundation/release/update-transaction.js +1 -0
- package/dist/foundation/release/update.js +12 -12
- package/dist/foundation/storage/control-store.d.ts +1 -0
- package/dist/foundation/storage/control-store.js +1 -0
- package/dist/foundation/structured-agent-runtime/backpressure.d.ts +1 -0
- package/dist/foundation/structured-agent-runtime/backpressure.js +1 -0
- package/dist/foundation/structured-agent-runtime/commands.d.ts +1 -0
- package/dist/foundation/structured-agent-runtime/commands.js +1 -0
- package/dist/foundation/structured-agent-runtime/reconnection.d.ts +1 -0
- package/dist/foundation/structured-agent-runtime/reconnection.js +1 -0
- package/dist/foundation/structured-agent-runtime/state.d.ts +1 -0
- package/dist/foundation/structured-agent-runtime/state.js +1 -0
- package/dist/foundation/supervision/main.js +1 -1
- package/dist/foundation/supervision/server.d.ts +1 -0
- package/dist/foundation/supervision/server.js +4 -6
- package/dist/integrations/pi/components/conformance.d.ts +1 -0
- package/dist/integrations/pi/components/conformance.js +1 -0
- package/dist/integrations/pi/components/shell-components.d.ts +1 -0
- package/dist/integrations/pi/components/shell-components.js +1 -0
- package/dist/integrations/pi/components/shell-editor-autocomplete.js +10 -0
- package/dist/integrations/pi/components/shell-footer-status.d.ts +1 -1
- package/dist/integrations/pi/components/shell-footer-status.js +19 -13
- package/dist/integrations/pi/components/shell-presenters-info.d.ts +36 -0
- package/dist/integrations/pi/components/shell-presenters-info.js +78 -0
- package/dist/integrations/pi/components/shell-presenters-transcript.d.ts +3 -36
- package/dist/integrations/pi/components/shell-presenters-transcript.js +88 -128
- package/dist/integrations/pi/components/shell-shared-facade.d.ts +11 -1
- package/dist/integrations/pi/components/shell-shared-facade.js +1 -1
- package/dist/integrations/pi/engine/adapter.d.ts +22 -4
- package/dist/integrations/pi/engine/adapter.js +220 -70
- package/dist/integrations/pi/engine/conformance.d.ts +2 -0
- package/dist/integrations/pi/engine/conformance.js +2 -0
- package/dist/integrations/pi/engine/http-dispatcher.d.ts +4 -0
- package/dist/integrations/pi/engine/http-dispatcher.js +25 -0
- package/dist/integrations/pi/engine/index.d.ts +3 -0
- package/dist/integrations/pi/engine/index.js +3 -0
- package/dist/integrations/pi/engine/model-auth-integration.d.ts +1 -0
- package/dist/integrations/pi/engine/model-auth-integration.js +1 -0
- package/dist/integrations/pi/engine/package-integration.js +1 -1
- package/dist/integrations/pi/engine/project-trust-preflight.d.ts +22 -0
- package/dist/integrations/pi/engine/project-trust-preflight.js +50 -0
- package/dist/integrations/pi/engine/resource-extension-integration.d.ts +1 -0
- package/dist/integrations/pi/engine/resource-extension-integration.js +1 -0
- package/dist/integrations/pi/engine/runtime-integration.d.ts +16 -1
- package/dist/integrations/pi/engine/runtime-integration.js +34 -4
- package/dist/integrations/pi/engine/session-integration.d.ts +1 -0
- package/dist/integrations/pi/engine/session-integration.js +2 -1
- package/dist/integrations/pi/engine/settings-effects.d.ts +66 -0
- package/dist/integrations/pi/engine/settings-effects.js +249 -0
- package/dist/integrations/pi/engine/settings-integration.d.ts +14 -26
- package/dist/integrations/pi/engine/settings-integration.js +102 -108
- package/dist/integrations/pi/engine/workflow-controllers.d.ts +2 -1
- package/dist/integrations/pi/engine/workflow-controllers.js +1 -0
- package/dist/integrations/pi/session-ui/clipboard-image.d.ts +11 -0
- package/dist/integrations/pi/session-ui/clipboard-image.js +29 -0
- package/dist/integrations/pi/session-ui/index.d.ts +1 -0
- package/dist/integrations/pi/session-ui/index.js +1 -0
- package/dist/integrations/pi/session-ui/prompt-chips.js +6 -2
- package/dist/integrations/pi/session-ui/session-shell-root.d.ts +39 -4
- package/dist/integrations/pi/session-ui/session-shell-root.js +215 -80
- package/dist/integrations/pi/session-ui/session-shell.d.ts +10 -1
- package/dist/integrations/pi/session-ui/session-shell.js +256 -45
- package/dist/integrations/pi/session-ui/session-viewport-controller.d.ts +5 -0
- package/dist/integrations/pi/session-ui/session-viewport-controller.js +76 -11
- package/dist/integrations/pi/session-ui/stream-presentation-coalescer.d.ts +29 -0
- package/dist/integrations/pi/session-ui/stream-presentation-coalescer.js +79 -0
- package/dist/integrations/pi/session-ui/system-clipboard.d.ts +9 -0
- package/dist/integrations/pi/session-ui/system-clipboard.js +38 -9
- package/dist/integrations/pi/tui-runtime/adapter.d.ts +6 -0
- package/dist/integrations/pi/tui-runtime/adapter.js +166 -8
- package/dist/integrations/pi/tui-runtime/contracts.d.ts +25 -0
- package/dist/integrations/pi/tui-runtime/damage-aware-terminal.d.ts +63 -0
- package/dist/integrations/pi/tui-runtime/damage-aware-terminal.js +240 -0
- package/dist/integrations/pi/tui-runtime/index.d.ts +2 -0
- package/dist/integrations/pi/tui-runtime/index.js +2 -0
- package/dist/integrations/pi/tui-runtime/input-presentation-coordinator.d.ts +39 -0
- package/dist/integrations/pi/tui-runtime/input-presentation-coordinator.js +139 -0
- package/dist/native/darwin-arm64/manifest.json +1 -1
- package/dist/native/linux-x64/manifest.json +1 -1
- package/dist/native/win32-x64/manifest.json +2 -2
- package/dist/native/win32-x64/process-guardian.exe +0 -0
- package/dist/ui/apps/host.js +5 -9
- package/dist/ui/apps/registry.d.ts +1 -0
- package/dist/ui/apps/registry.js +1 -0
- package/dist/ui/components/dialog-panel.js +5 -3
- package/dist/ui/components/frame.d.ts +1 -0
- package/dist/ui/components/frame.js +1 -0
- package/dist/ui/components/index.d.ts +1 -0
- package/dist/ui/components/index.js +1 -0
- package/dist/ui/components/line-input.d.ts +1 -6
- package/dist/ui/components/line-input.js +4 -9
- package/dist/ui/components/list-view.d.ts +0 -6
- package/dist/ui/components/list-view.js +14 -7
- package/dist/ui/components/progress-status.d.ts +2 -0
- package/dist/ui/components/progress-status.js +4 -0
- package/dist/ui/components/scrollbar.js +1 -1
- package/dist/ui/components/shortcuts.d.ts +1 -0
- package/dist/ui/components/shortcuts.js +1 -0
- package/dist/ui/components/spans.d.ts +2 -5
- package/dist/ui/components/spans.js +28 -8
- package/dist/ui/components/surface.d.ts +0 -5
- package/dist/ui/components/surface.js +1 -5
- package/dist/ui/components/text-selection.d.ts +10 -1
- package/dist/ui/components/text-selection.js +96 -29
- package/dist/ui/components/text.js +3 -3
- package/dist/ui/components/transcript-viewport.d.ts +42 -0
- package/dist/ui/components/transcript-viewport.js +287 -39
- package/dist/ui/settings/sections.d.ts +6 -19
- package/dist/ui/settings/sections.js +17 -15
- package/dist/ui/settings/session.d.ts +8 -18
- package/dist/ui/settings/session.js +60 -52
- package/dist/ui/settings/store.d.ts +1 -0
- package/dist/ui/settings/store.js +2 -1
- package/docs/architecture/code-documentation.md +77 -0
- package/docs/architecture/project-structure.md +15 -1
- package/docs/architecture/ui-reference-provenance.md +23 -3
- package/docs/ci-release-runbook.md +98 -7
- package/docs/manual-owned-ui-checkpoint.md +28 -1
- package/docs/manual-terminal-colour-check.md +4 -3
- package/docs/repository-governance-live-acceptance.md +77 -0
- package/package.json +11 -3
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Repository governance live acceptance
|
|
2
|
+
|
|
3
|
+
## Implementation lifecycle
|
|
4
|
+
|
|
5
|
+
- PR #165 was manually squash-merged by `timurproko` from validated head
|
|
6
|
+
`45aab61c5e4568d3d26dc970f76e9ec86918f323` to `develop` commit
|
|
7
|
+
`e4cdc67555e9f25d03f251be19baa8fc446ac313`.
|
|
8
|
+
- Cleanup run `33185942656` used trusted `develop` policy with `contents: write` only
|
|
9
|
+
and reported `already-absent`; the implementation branch remained absent.
|
|
10
|
+
- The read-only live governance report matched every declared field after merge.
|
|
11
|
+
|
|
12
|
+
## Acceptance defect and correction
|
|
13
|
+
|
|
14
|
+
- Initial OpenSpec probe PR #166 automatically squash-merged validated head
|
|
15
|
+
`c30c0a091a6a6a727057befcdd775422988be382` to
|
|
16
|
+
`f8d60080cfd9925b33a19a5d40c707637ac00b08`, but GitHub suppressed the recursive
|
|
17
|
+
close-event workflow because integration was authored with `GITHUB_TOKEN`.
|
|
18
|
+
- Its exact unchanged branch remained, proving the first implementation incomplete.
|
|
19
|
+
The branch was manually deleted only after its expected SHA and lack of an open PR
|
|
20
|
+
were reverified.
|
|
21
|
+
- Corrective PR #167 was manually squash-merged from validated head
|
|
22
|
+
`3a09042386df2501accc1eec3b424b94ae84daa4` to
|
|
23
|
+
`e8d639985a811f01cd5daeb027db5069d1724596`. Cleanup run `33188206793`
|
|
24
|
+
succeeded with `already-absent`.
|
|
25
|
+
|
|
26
|
+
## Automatic OpenSpec acceptance
|
|
27
|
+
|
|
28
|
+
- PR #168 contained only `openspec/**` paths.
|
|
29
|
+
- Development validation run `33188285639` passed for exact head
|
|
30
|
+
`6678d9237ca7c4109beaed0d97d5fb1183fe5f97` without product tests.
|
|
31
|
+
- `github-actions` automatically squash-merged it to
|
|
32
|
+
`c2fa730a4b070f9f6717329c24158def5c766f11`.
|
|
33
|
+
- Trusted documentation reconciliation run `33188329123` reported `deleted` for the
|
|
34
|
+
same expected head SHA, and the remote branch was verified absent.
|
|
35
|
+
|
|
36
|
+
## Automatic root README acceptance
|
|
37
|
+
|
|
38
|
+
- PR #169 changed only root `README.md`.
|
|
39
|
+
- Development validation run `33188400573` passed for exact head
|
|
40
|
+
`165c5159031d80059c4d93c36c6d10113ec7ba8e` without product tests.
|
|
41
|
+
- `github-actions` automatically squash-merged it to
|
|
42
|
+
`0180088a42b7cdacaf84ec66ff5a87be1a697155`.
|
|
43
|
+
- Trusted documentation reconciliation run `33188434277` reported `deleted` for the
|
|
44
|
+
same expected head SHA, and the remote branch was verified absent.
|
|
45
|
+
|
|
46
|
+
## Mixed-path manual acceptance
|
|
47
|
+
|
|
48
|
+
PR #170 combined this evidence file outside the exact automatic allowlist with an
|
|
49
|
+
OpenSpec task update. Development validation run `33188542485` passed for exact head
|
|
50
|
+
`b95bdbf08ad6db76c5fab2bfca254026a3c4bcc1` without product tests. Auto-merge
|
|
51
|
+
remained disabled and the pull request remained open and mergeable until `timurproko`
|
|
52
|
+
manually squash-merged it to `6ab1e4d29b9edec8501bac774bc755e66240ea40`.
|
|
53
|
+
Close-event cleanup run `33188616709` reported `already-absent`, and the remote branch
|
|
54
|
+
was verified absent after the explicit merge.
|
|
55
|
+
|
|
56
|
+
## Automatic maintained-documentation acceptance
|
|
57
|
+
|
|
58
|
+
- Implementation PR #180 was manually squash-merged after required validation from
|
|
59
|
+
head `8f40bfaaa5e8410e77b1c9cc0667c62bc4c62d4b` to
|
|
60
|
+
`45a59a7b696d537a4dc8fe62000a60c20e504ab2`.
|
|
61
|
+
- PR #181 changes only this maintained `docs/**` file and is the live acceptance
|
|
62
|
+
probe for the expanded allowlist.
|
|
63
|
+
- Acceptance requires current-head documentation validation, automatic squash
|
|
64
|
+
integration without maintainer merge action, and exact-head remote branch cleanup.
|
|
65
|
+
Exact run and merge evidence is recorded with the completed OpenSpec change.
|
|
66
|
+
|
|
67
|
+
## Advanced-ref refusal and final policy state
|
|
68
|
+
|
|
69
|
+
The isolated mocked-GitHub fixture executed the production shared reconciler with
|
|
70
|
+
expected SHA `1111111111111111111111111111111111111111` and advanced live SHA
|
|
71
|
+
`2222222222222222222222222222222222222222`. It returned `refused` with reason
|
|
72
|
+
`live branch advanced after merge` and issued zero DELETE requests. The bounded
|
|
73
|
+
record is archived as `evidence/advanced-ref-refusal.json`.
|
|
74
|
+
|
|
75
|
+
The final read-only live report matched all declared repository settings, Actions
|
|
76
|
+
policy, security capabilities, environments, protected refs, complete rulesets, and
|
|
77
|
+
workflow inventory with zero differences. No policy apply was run.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timurproko/a1",
|
|
3
|
-
"version": "0.1.8-dev.
|
|
3
|
+
"version": "0.1.8-dev.214",
|
|
4
4
|
"description": "Standalone terminal workspace for supervised native and managed agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "npm@11.13.0",
|
|
@@ -27,20 +27,27 @@
|
|
|
27
27
|
"build:process-guardian": "node scripts/development/build-process-guardian.mjs",
|
|
28
28
|
"typecheck": "tsgo -p tsconfig.json --noEmit",
|
|
29
29
|
"check:architecture": "node scripts/governance/check-architecture.mjs && node scripts/governance/product-identifier-policy.mjs --check && node scripts/governance/check-product-identity-boundaries.mjs && node scripts/governance/check-package-identity.mjs && node scripts/governance/check-pinned-pi-source-ledger.mjs && node scripts/governance/check-terminal-host-provenance.mjs",
|
|
30
|
+
"check:code-documentation": "node scripts/governance/check-code-documentation.mjs --mode full",
|
|
31
|
+
"check:code-documentation:changed": "node scripts/release/run-changed-documentation.mjs",
|
|
32
|
+
"select:validation-impact": "node scripts/release/select-validation-impact.mjs",
|
|
30
33
|
"check:customization-ready": "node scripts/governance/check-owned-ui-customization-prerequisites.mjs",
|
|
31
34
|
"check:deprecated": "node scripts/governance/check-deprecated-dependencies.mjs",
|
|
35
|
+
"check:docs-governance": "node scripts/governance/check-docs-governance.mjs",
|
|
36
|
+
"check:repository-governance": "node scripts/governance/check-github-repository-governance.mjs --check",
|
|
32
37
|
"branches:prune": "node scripts/prune-merged-branches.mjs",
|
|
33
38
|
"check": "npm run test:fast",
|
|
34
39
|
"develop": "node scripts/development/develop.mjs",
|
|
35
40
|
"release": "node scripts/release/release.mjs",
|
|
36
41
|
"test": "npm run test:fast",
|
|
37
|
-
"test:fast": "node scripts/release/run-validation-tier.mjs typecheck fast",
|
|
42
|
+
"test:fast": "node scripts/release/run-validation-tier.mjs typecheck documentation-changed fast",
|
|
38
43
|
"test:scope": "node scripts/release/run-validation-tier.mjs",
|
|
39
44
|
"test:full": "node scripts/release/run-validation-tier.mjs full-release",
|
|
40
45
|
"test:release": "node scripts/release/run-release-gates.mjs",
|
|
41
46
|
"test:terminal-host": "node scripts/development/run-terminal-host-probe.mjs",
|
|
42
47
|
"test:pi-engine-conformance": "vitest run test/integrations/pi/engine/conformance.test.ts test/integrations/pi/engine/runtime-integration.test.ts test/integrations/pi/engine/session-integration.test.ts",
|
|
43
48
|
"report:pi-engine-conformance": "npm run build --silent && node scripts/pi/run-pi-engine-conformance.mjs",
|
|
49
|
+
"report:rendering-stability": "tsx scripts/pi/report-rendering-stability.ts",
|
|
50
|
+
"report:input-responsiveness": "tsx scripts/pi/report-input-responsiveness.ts",
|
|
44
51
|
"sync:pi-ui": "npm run update:pi-component-parity && npm run update:pi-event-frame-parity && npm run update:pi-settings-metadata",
|
|
45
52
|
"update:pi-component-parity": "tsx scripts/pi/update-pi-component-parity.ts",
|
|
46
53
|
"update:pi-event-frame-parity": "tsx scripts/pi/update-pi-event-frame-parity.ts",
|
|
@@ -58,7 +65,8 @@
|
|
|
58
65
|
"chalk": "5.6.2",
|
|
59
66
|
"cross-spawn": "7.0.6",
|
|
60
67
|
"grok-mermaid": "0.2.2",
|
|
61
|
-
"semver": "7.8.5"
|
|
68
|
+
"semver": "7.8.5",
|
|
69
|
+
"undici": "8.9.0"
|
|
62
70
|
},
|
|
63
71
|
"devDependencies": {
|
|
64
72
|
"@types/cross-spawn": "6.0.6",
|