@aliip/pilah 1.0.0 → 1.0.1
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/BUILD_STATUS.md +2 -2
- package/README.md +1 -1
- package/docs/AGENT_DECISION_REVIEW.md +1 -1
- package/docs/ENGINEERING_METHOD.md +1 -1
- package/docs/INDEPENDENT_ACCEPTANCE_RUNBOOK.md +1 -1
- package/docs/INTERVENTION_LEDGER.md +1 -1
- package/docs/MAIN_VALIDATION_BACKLOG.md +2 -2
- package/docs/ORCHESTRATION_ADVISOR.md +1 -1
- package/docs/README.md +1 -5
- package/docs/RELEASE.md +1 -1
- package/docs/SECURITY_RELIABILITY_AUDIT_V2_0_1.md +1 -1
- package/docs/SEMANTIC_EVIDENCE.md +1 -1
- package/docs/TOKEN_PROVENANCE.md +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/scripts/a2a.mjs +5 -4
- package/docs/AB_EVALUATION.md +0 -62
- package/docs/AGENT_TRACE_BENCHMARK.md +0 -17
- package/docs/PRIVATE_BENCHMARK_EXPORT.md +0 -14
- package/docs/STOCKROOM_BENCHMARK_RECHECK_2026_11_18.md +0 -53
package/BUILD_STATUS.md
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
| Engineering hardening | PRs #111–#115 | MCP contracts, directional graph, SAFE handoffs, consent-gated privacy, Python imports, and fail-closed CLI host preflight passed their PR suites; no live host proof |
|
|
11
11
|
| Installed Antigravity | [Backlog](docs/MAIN_VALIDATION_BACKLOG.md) | No complete independent live-host acceptance for PILAH |
|
|
12
12
|
| Context Guardian overhead | [Backlog](docs/MAIN_VALIDATION_BACKLOG.md) | Host per-invocation latency/CPU/token effect not measured |
|
|
13
|
-
| Token savings | [
|
|
14
|
-
| Real
|
|
13
|
+
| Token savings | [Validation backlog](docs/MAIN_VALIDATION_BACKLOG.md) | Not established through matched independent trials |
|
|
14
|
+
| Real Acceptance F01–F18 | [Independent runbook](docs/INDEPENDENT_ACCEPTANCE_RUNBOOK.md) | Runtime HTTP/DB/browser cases not established as PASS |
|
|
15
15
|
| npm / GitHub Package / tagged release | [Release authorization](docs/RELEASE_AUTHORIZATION.md) | **NO-GO** without signed external evidence and approval |
|
|
16
16
|
|
|
17
17
|
Green CI means the complete checked-in test suite and static release checks passed for the specified commit and runner—not actual browser, printing, database race, installed plugin, autonomous tool selection, or cost evidence. Keep missing acceptance marked **not tested**.
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ PILAH helps coding agents find relevant cross-file context, reason about change
|
|
|
6
6
|
|
|
7
7
|
**CI:** view the repository's Actions tab · [Documentation](docs/README.md) · [MIT License](LICENSE)
|
|
8
8
|
|
|
9
|
-
> **Source status — 24 November 2026:** The plugin is named **PILAH** (manifest `1.0.
|
|
9
|
+
> **Source status — 24 November 2026:** The plugin is named **PILAH** (manifest `1.0.1`); the repository is accessed through the current URL displayed in GitHub's **Code** menu. The package manifest uses `@aliip/pilah`, but **publication is not verified**. The source-level CI passed on the latest main push (3/3 OS jobs on Node 24). Real installed Antigravity adoption, independent Acceptance F01–F18 runtime validation and matched token benchmarks are **not yet verified**. See [current status](BUILD_STATUS.md) and [validation backlog](docs/MAIN_VALIDATION_BACKLOG.md).
|
|
10
10
|
|
|
11
11
|
## What it provides
|
|
12
12
|
|
|
@@ -14,4 +14,4 @@ The external review JSON identifies `reviewer.role="independent"` and annotation
|
|
|
14
14
|
|
|
15
15
|
The utility validates that referenced observable steps exist and summarizes **reviewer-reported judgments**. It cannot certify reviewer independence, inspect hidden chain-of-thought, authenticate raw transcript observations, or demonstrate that an PILAH intervention caused better code. Store transcripts privately; remove credentials and user content before any sharing.
|
|
16
16
|
|
|
17
|
-
**Current context:** behavioral reliability PR #36 merged into `v2.0.1`, with local MCP/SQLite E2E passing. Live Antigravity/18-case acceptance remains open in #15. See [5 Whys](BEHAVIORAL_5_WHYS_V2_0_1.md)
|
|
17
|
+
**Current context:** behavioral reliability PR #36 merged into `v2.0.1`, with local MCP/SQLite E2E passing. Live Antigravity/18-case acceptance remains open in #15. See [5 Whys](BEHAVIORAL_5_WHYS_V2_0_1.md).
|
|
@@ -59,7 +59,7 @@ The following sources inform **design decisions**; none proves a percent improve
|
|
|
59
59
|
4. Make a single versioned change to the skill or tool surface; rerun the same suite plus unseen holdout tasks.
|
|
60
60
|
5. Reject regression, misleading green tests, invented provenance and lower-cost failures. Require review before merging. **No automatic self-improvement daemon.**
|
|
61
61
|
|
|
62
|
-
See [CI and evaluation](CI_EFFICIENCY.md)
|
|
62
|
+
See [CI and evaluation](CI_EFFICIENCY.md) and [unverified live acceptance](MAIN_VALIDATION_BACKLOG.md).
|
|
63
63
|
|
|
64
64
|
## Brand and compatibility status
|
|
65
65
|
|
|
@@ -22,7 +22,7 @@ node scripts/pilah.mjs doctor
|
|
|
22
22
|
Verify MCP `tools/list` exposes **exactly four** tools and `pilah_verify` includes assess, assess_release, assess_semantic, assess_browser and verify_handoff. Verify workspace-trust rejection and source-revision invalidation after file changes. The test suite is intended for Linux/macOS/Windows on Node 22/24. No agent/browser is automatically spawned by PILAH.
|
|
23
23
|
|
|
24
24
|
## 3. Frozen 18-case external acceptance matrix
|
|
25
|
-
Use `tests/fixtures/
|
|
25
|
+
Use `tests/fixtures/acceptance-18.json` for IDs F01–F18; every case begins **not tested**. The external runner must issue **real HTTP/browser/database** operations against each generated app copied from frozen ZIPs.
|
|
26
26
|
|
|
27
27
|
- F01–F03: deny unauthorized roles and foreign-store/related IDs, then query the database for zero changes.
|
|
28
28
|
- F04–F07: verify exact price, tax, payments, duplicate-line refund and money-only refund stock invariants.
|
|
@@ -10,7 +10,7 @@ Output contains per-call step, sanitized tool name, result classification, next
|
|
|
10
10
|
|
|
11
11
|
**Important:** a successful `pilah_impact` invocation does not prove PILAH saved tokens or produced a better application. Such statements require matched independent Native/PILAH runs, observable outcome checks and provider-reported usage where available. The ledger may miss calls unavailable in the archived transcript.
|
|
12
12
|
|
|
13
|
-
Current behavioral reliability implementation is in PR #36, merged to `v2.0.1`, but its local E2E does not validate third-party model outcomes. See [
|
|
13
|
+
Current behavioral reliability implementation is in PR #36, merged to `v2.0.1`, but its local E2E does not validate third-party model outcomes. See [token provenance](TOKEN_PROVENANCE.md).
|
|
14
14
|
|
|
15
15
|
### 20 November 2026 classification update
|
|
16
16
|
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
|
|
13
13
|
1. **Installed PILAH adoption (#71):** use the [independent host runbook](HOST_VALIDATION.md) with H01–H06, then first run `node scripts/pilah.mjs host-check` on an actual Antigravity machine (CLI-only preflight, not E2E). Then run `agy plugin validate --strict .`, inspect `agy plugin list`, check all four `pilah_*` tools in the actual IDE, permission-denial negatives, spontaneous qualified cross-file use, and a trivial no-call control. Inspect actual parent/subagent traces.
|
|
14
14
|
2. **Guardian overhead (#91):** default-off, explicit enabling, preserved user hooks, absolute NVM Node binary, clean disable, and measured per-invocation host latency, CPU and token overhead. No automatic compaction.
|
|
15
|
-
3. **Native vs PILAH (#92):** at least five counterbalanced trials per variant using the [candidate six-scenario suite](../tests/fixtures/pilah-eval-scenarios.json) frozen outside the agent-controlled repository with matching model, effort, source snapshot, permissions and independent task rubric. Record provider-reported usage if available, elapsed time, turns, tool failures, accepted tasks; report missing usage as unknown.
|
|
16
|
-
4. **
|
|
15
|
+
3. **Native vs PILAH (#92):** at least five counterbalanced trials per variant using the [candidate six-scenario suite](../tests/fixtures/pilah-eval-scenarios.json) frozen outside the agent-controlled repository with matching model, effort, source snapshot, permissions and independent task rubric. Record provider-reported usage if available, elapsed time, turns, tool failures, accepted tasks; report missing usage as unknown.
|
|
16
|
+
4. **Acceptance F01–F18 (#15):** run isolated real PHP HTTP/DB/browser scenarios including tenant and role denials, refund/ledger reconciliation, true two-connection concurrency, offline recovery across browser process restarts, exactly-once retries, stale-build checks and frozen independent negative controls. See [scenario fixture](../tests/fixtures/acceptance-18.json) and [runbook](INDEPENDENT_ACCEPTANCE_RUNBOOK.md).
|
|
17
17
|
5. **Release authority:** frozen evaluator-owned registry, signed machine evidence, independent privacy review and detached approval bound to the exact commit. Verify with the [fail-closed authorization mechanism](RELEASE_AUTHORIZATION.md).
|
|
18
18
|
|
|
19
19
|
**Merged to main ≠ installed in a real IDE ≠ independently accepted ≠ published.** No CI PASS, native advice or self-reported transcript substitutes for unexecuted host/app scenarios.
|
|
@@ -33,4 +33,4 @@
|
|
|
33
33
|
|
|
34
34
|
Even when recommended, `user_approval_required:true`, `automatic_worker_launch:false`. Prevent file ownership conflicts, validate worker MCP permissions independently, and require a named handoff test via `pilah_verify(operation="verify_handoff")`. Parallel execution can cost **more** time/tokens and does not inherently improve quality.
|
|
35
35
|
|
|
36
|
-
The code-level requirements were strengthened in behavioral issue #34, merged through PR #36. Live native capability availability and actual productivity benefits still need an independently controlled test. See [workflow](NATIVE_FIRST_WORKFLOW.md)
|
|
36
|
+
The code-level requirements were strengthened in behavioral issue #34, merged through PR #36. Live native capability availability and actual productivity benefits still need an independently controlled test. See [workflow](NATIVE_FIRST_WORKFLOW.md).
|
package/docs/README.md
CHANGED
|
@@ -24,14 +24,13 @@ Start with the [README](../README.md) for source setup and CLI usage, [build sta
|
|
|
24
24
|
- [Signed, fail-closed publication gate](RELEASE_AUTHORIZATION.md)
|
|
25
25
|
- [What is not yet independently proven](MAIN_VALIDATION_BACKLOG.md)
|
|
26
26
|
- [Evidence and release acceptance criteria](ACCEPTANCE_GATE.md)
|
|
27
|
-
- [
|
|
27
|
+
- [Production Acceptance F01–F18 independent test runbook](INDEPENDENT_ACCEPTANCE_RUNBOOK.md)
|
|
28
28
|
- [Risk-aware test recommendations](RISK_GUIDANCE.md)
|
|
29
29
|
- [Browser, semantic and local proof boundaries](SEMANTIC_EVIDENCE.md)
|
|
30
30
|
- [Opt-in checkpoints and recovery](CHECKPOINT_RECOVERY.md)
|
|
31
31
|
- [Optional native agent teamwork](ORCHESTRATION_ADVISOR.md)
|
|
32
32
|
- [Local conversation token diagnostics](CONVERSATION_USAGE.md)
|
|
33
33
|
- [What token counts can and cannot establish](TOKEN_PROVENANCE.md)
|
|
34
|
-
- [Controlled Native-versus-PILAH evaluation](AB_EVALUATION.md)
|
|
35
34
|
- [Observed MCP intervention logging](INTERVENTION_LEDGER.md)
|
|
36
35
|
|
|
37
36
|
## Historical implementation audits and research — reference only
|
|
@@ -42,14 +41,11 @@ These dated records explain earlier decisions; they are **not current installati
|
|
|
42
41
|
- [Earlier Always-On incident analysis](ALWAYS_ON_5_WHYS.md)
|
|
43
42
|
- [Adaptive RCA design history](ADAPTIVE_RCA_WORKFLOW.md)
|
|
44
43
|
- [Agent decision findings](AGENT_DECISION_REVIEW.md)
|
|
45
|
-
- [Historical agent trace evaluation](AGENT_TRACE_BENCHMARK.md)
|
|
46
44
|
- [v2.0.1 behavioral Five Whys](BEHAVIORAL_5_WHYS_V2_0_1.md)
|
|
47
45
|
- [Engineering standards research](OPEN_SOURCE_ENGINEERING_STANDARDS.md)
|
|
48
46
|
- [Pre-vNext migration and audit](PRE_VNEXT_INTEGRATION.md)
|
|
49
|
-
- [Earlier private-export design](PRIVATE_BENCHMARK_EXPORT.md)
|
|
50
47
|
- [v2.0.1 security audit](SECURITY_RELIABILITY_AUDIT_V2_0_1.md)
|
|
51
48
|
- [Historical research references](SOURCES.md)
|
|
52
|
-
- [Frozen source preflight snapshot](STOCKROOM_BENCHMARK_RECHECK_2026_11_18.md)
|
|
53
49
|
- [Earlier token-efficiency review](TOKEN_EFFICIENCY.md)
|
|
54
50
|
- [v2.0.1 issue/PR provenance](V2_0_1_TRACEABILITY.md)
|
|
55
51
|
|
package/docs/RELEASE.md
CHANGED
|
@@ -25,7 +25,7 @@ Run `agy plugin validate --strict .` and inspect `agy plugin list` on the exact
|
|
|
25
25
|
## Independent application and release gate
|
|
26
26
|
|
|
27
27
|
- Execute the frozen [STOCKROOM F01–F18 scenarios](INDEPENDENT_ACCEPTANCE_RUNBOOK.md) in a real, isolated HTTP/database/browser environment, including negative and concurrency cases.
|
|
28
|
-
- Run matched
|
|
28
|
+
- Run matched Native-vs-PILAH evaluations under controlled trials. Avoid false claims about quota percentages and token savings.
|
|
29
29
|
- Review privacy, evidence source revisions, scope binding and named test provenance. False PASS or stale signatures must fail closed.
|
|
30
30
|
- Satisfy the [independently signed package-release authorization](RELEASE_AUTHORIZATION.md), including immutable registry, evaluator keys, trusted F01–F18 results and human approval for the exact `main` commit.
|
|
31
31
|
- Only after authorization should the separately guarded npm/GitHub Packages workflows publish. The source manifest alone is not proof of package availability.
|
|
@@ -48,7 +48,7 @@ Follow issue #15 for independent acceptance and [v2.0.1 traceability](./V2_0_1_T
|
|
|
48
48
|
|
|
49
49
|
After the initial audit, package publication was made **fail-closed** through an external frozen registry, independently signed scenario evidence, release-attesting Ed25519 reviewer signature, exact `main` SHA match, exact tag/version match, and a separately configured maintainer-approved SHA. Both npm and GitHub Packages workflows reject unapproved releases, including manual dispatch. A spoofable Linux process-argv source of workspace auto-trust was removed. `active-only` auto-trust now intersects IDE/CLI trust state with the current bounded hook workspace rather than treating process names or bare hook paths as grants. No new third-party runtime dependencies were introduced.
|
|
50
50
|
|
|
51
|
-
The private frozen
|
|
51
|
+
The private frozen acceptance ZIPs were located and checked independently: 82/82 PHP syntax checks and a Vite build passed for Native; 61/61 PHP syntax checks and a Vite build passed for the PILAH-generated app. PHPUnit **could not start** for either because DOM, mbstring and XMLWriter were absent, so the full 18-case live acceptance remains blocked. See [Release Authorization](./RELEASE_AUTHORIZATION.md).
|
|
52
52
|
|
|
53
53
|
## Behavioral reliability follow-up and interpretation
|
|
54
54
|
|
|
@@ -12,7 +12,7 @@ PILAH provides read-only local evidence assessment via:
|
|
|
12
12
|
|
|
13
13
|
The browser contract is `<browser-evidence-schema-id-from-source>`. It requires a scenario ID, source fingerprint, build artifact SHA-256, claimed served build hash, browser version, runner version, timestamps, executed assertions, and optional hashed local artifact references. PILAH recomputes referenced artifact file hashes locally using workspace-safety rules. A matching pair of digest strings is **not** proof that the expected build was served; external harness/CI review remains necessary. Screenshots by themselves are not functional assertions.
|
|
14
14
|
|
|
15
|
-
The 18 predefined negative-control cases
|
|
15
|
+
The 18 predefined negative-control cases are listed in `tests/fixtures/acceptance-18.json`. They are **frozen acceptance specifications**, not completed independent browser/PHP E2E results. Backend isolation, payment and exactly-once invariants still require independently executed test runners.
|
|
16
16
|
|
|
17
17
|
PILAH does not control Chrome, install dependencies, run arbitrary project commands or bypass approvals.
|
|
18
18
|
|
package/docs/TOKEN_PROVENANCE.md
CHANGED
|
@@ -12,4 +12,4 @@ The future benchmark must validate worker inclusion and exact plugin overhead ag
|
|
|
12
12
|
|
|
13
13
|
## Current developer status
|
|
14
14
|
|
|
15
|
-
The PR #36 behavioral work added recovery and evidence scopes but **did not** add a provider usage API or promise token savings. Local MCP/SQLite E2E is not a controlled Native/PILAH model-token benchmark. See
|
|
15
|
+
The PR #36 behavioral work added recovery and evidence scopes but **did not** add a provider usage API or promise token savings. Local MCP/SQLite E2E is not a controlled Native/PILAH model-token benchmark. See open acceptance.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aliip/pilah",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "PILAH (Project Intelligence, Logic, Analysis & Handoffs): native-first engineering context, minimal-change guidance and evidence-scoped verification for Google Antigravity.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/engine.mjs",
|
package/plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://antigravity.google/schemas/v1/plugin.json",
|
|
3
3
|
"name": "pilah",
|
|
4
4
|
"displayName": "PILAH",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.1",
|
|
6
6
|
"description": "PILAH (Project Intelligence, Logic, Analysis & Handoffs): native-first engineering context, minimal-change guidance and evidence-scoped verification for Google Antigravity.",
|
|
7
7
|
"logo": "assets/logo.svg",
|
|
8
8
|
"author": {
|
package/scripts/a2a.mjs
CHANGED
|
@@ -157,14 +157,15 @@ try{
|
|
|
157
157
|
else if(cmd==='stats'){
|
|
158
158
|
const {execFileSync}=await import('node:child_process');
|
|
159
159
|
try{
|
|
160
|
-
const
|
|
161
|
-
const
|
|
162
|
-
const
|
|
160
|
+
const repoName=process.env.PILAH_REPO||'alifakbxr/pilah';
|
|
161
|
+
const clonesRaw=execFileSync('gh',['api',`/repos/${repoName}/traffic/clones`],{encoding:'utf8',timeout:6000});
|
|
162
|
+
const viewsRaw=execFileSync('gh',['api',`/repos/${repoName}/traffic/views`],{encoding:'utf8',timeout:6000});
|
|
163
|
+
const repoRaw=execFileSync('gh',['api',`/repos/${repoName}`],{encoding:'utf8',timeout:6000});
|
|
163
164
|
const clones=JSON.parse(clonesRaw);
|
|
164
165
|
const views=JSON.parse(viewsRaw);
|
|
165
166
|
const repo=JSON.parse(repoRaw);
|
|
166
167
|
print({
|
|
167
|
-
repository:
|
|
168
|
+
repository:repoName,
|
|
168
169
|
install_metrics:{
|
|
169
170
|
total_clones_last_14d: clones.count||0,
|
|
170
171
|
unique_installers_last_14d: clones.uniques||0,
|
package/docs/AB_EVALUATION.md
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# Reproducible Antigravity A/B evaluation (issue #3)
|
|
2
|
-
|
|
3
|
-
**Representative candidate suite:** [six PILAH evaluation scenarios](../tests/fixtures/pilah-eval-scenarios.json) cover zero-call edits, cross-file impact, workspace denial, negative acceptance, stale handoff and complex UI/API work. The checked-in fixture is a reproducible *candidate*, not a signed independent evaluator-owned registry. Copy and freeze it outside the agent-controlled workspace before scoring. Every scenario starts `not_tested`; do not infer success or provider usage.
|
|
4
|
-
|
|
5
|
-
This read-only evaluator consumes completed official `agy -p ... --output-format json` or `stream-json` captures. It **does not launch model runs**, claim equal quotas, or overwrite either benchmark application.
|
|
6
|
-
|
|
7
|
-
Capture with the same prompt, task repository snapshot, model, thinking effort, permissions and independent acceptance suite. Record those settings in a manifest. Use a fresh workspace per run. Alternate or randomize order; at least five repetitions per variant are recommended. Keep source, environment and success criteria immutable.
|
|
8
|
-
|
|
9
|
-
Example `manifest.json`:
|
|
10
|
-
|
|
11
|
-
```json
|
|
12
|
-
{
|
|
13
|
-
"setup": {
|
|
14
|
-
"task_id": "stockroom-eval-v1",
|
|
15
|
-
"snapshot_sha": "pinned-source-commit",
|
|
16
|
-
"model": "gemini-3.8-flash",
|
|
17
|
-
"effort": "high",
|
|
18
|
-
"antigravity_version": "1.5.7",
|
|
19
|
-
"permissions": "request-review",
|
|
20
|
-
"evaluation_version": "acceptance-v1"
|
|
21
|
-
},
|
|
22
|
-
"scenarios": ["checkout-idempotency", "offline-reopen", "cross-tenant-isolation"],
|
|
23
|
-
"runs": [
|
|
24
|
-
{
|
|
25
|
-
"variant": "native",
|
|
26
|
-
"repeat": 1,
|
|
27
|
-
"capture": "native-run-1.json",
|
|
28
|
-
"acceptance": {
|
|
29
|
-
"checkout-idempotency": "passed",
|
|
30
|
-
"offline-reopen": "not-tested",
|
|
31
|
-
"cross-tenant-isolation": "failed"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Run:
|
|
39
|
-
|
|
40
|
-
```sh
|
|
41
|
-
node benchmarks/ab-evaluate.mjs manifest.json > aggregated.json
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Supported variants: `native`, `pilah-on-demand`, `pilah-always-on`, plus corresponding subagent, swarm and teamwork variants. Swarm/Teamwork availability depends on the current Antigravity plan and should never be presumed for Free Tier.
|
|
45
|
-
|
|
46
|
-
Values are medians with min/max, but interpretation depends on independent evidence. A `passed` verdict must be assigned by an external evaluator, not the implementation agent itself. Unknown/skipped are not passes. The final `result.usage.total_tokens` is cumulative for streaming sessions; do not sum step records or add cache-read/thinking to it.
|
|
47
|
-
|
|
48
|
-
**Privacy:** transcripts can contain prompts, paths and secrets; store captures locally and never commit or publish unreviewed copies. The aggregated output includes metadata but not raw transcript content.
|
|
49
|
-
|
|
50
|
-
**Sources:** [Antigravity headless output](https://antigravity.google/docs/cli/headless/), [plan quotas](https://antigravity.google/docs/plans), [Google DeepMind AlphaProof Code: independent verification](https://deepmind.google/blog/introducing-alphaproof-code/).
|
|
51
|
-
|
|
52
|
-
**Limitations:** Comparison readiness means repeated captures exist; it does not automatically prove randomization, identical external conditions, causal improvements or quota equivalence.
|
|
53
|
-
|
|
54
|
-
**Pre-vNext correction (18 Nov 2026):** This evaluator now refuses identical capture bytes reused as independent runs (SHA-256 collision of the entire captured result) and rejects per-run setup overrides that contradict the frozen manifest. `comparability.capture_repetitions_ready` only indicates sufficient **distinct captures**; `comparability.ready` remains **false** until independence, acceptance evidence and provider usage are established out of band. Distinct files alone still do not prove statistical or causal equivalence. No winner can be declared from self-reported weekly Free Tier percentages.
|
|
55
|
-
|
|
56
|
-
## Distribution scope
|
|
57
|
-
|
|
58
|
-
The evaluator at `benchmarks/ab-evaluate.mjs` is intentionally **source-checkout-only**. It is excluded from the installable npm tarball to avoid distributing optional research code in the runtime plugin. Clone or download the source repository at a pinned revision to run the command above; this does not require a new dependency. The packaged PILAH MCP and CLI remain independent of the benchmark runner.
|
|
59
|
-
|
|
60
|
-
## Behavioral reliability comparison — current candidate
|
|
61
|
-
|
|
62
|
-
The v2.0.1 behavioral changes include a truthful completion summary, explicit checkpoints, native error guidance and parallel-ownership gating. To evaluate their effect, hold the prompt, source, model, effort, tool permissions and acceptance registry fixed across **Native, prior PILAH baseline and v2.0.1**. Run at least **five independent trials per variant**; randomize order and measure user-visible acceptance outcomes as well as official usage when exposed. Reused transcripts, simulated F01–F18 proofs or browser-tab reloads cannot substitute for independent execution. **No matched repeated benchmark proving an improvement has been completed as of 18 November 2026**; issue #15 remains open.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
> **Historical research record:** Terminology has been standardized to PILAH. Dates, CI results and observed limitations refer to the source revision investigated at that time, not necessarily the current plugin.
|
|
2
|
-
|
|
3
|
-
# Observable Agent-Trace Comparison
|
|
4
|
-
|
|
5
|
-
The optional local-only comparison from issue #12 counts observable Antigravity events. **It cannot inspect hidden model thinking or establish causal speed/quality improvements.**
|
|
6
|
-
|
|
7
|
-
## Usage
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
node scripts/compare-agent-traces.mjs native-transcript.jsonl pilah-transcript.jsonl
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Input is local `transcript.jsonl` material containing available `USER_INPUT`, `PLANNER_RESPONSE`, `GENERIC` and `ERROR_MESSAGE` records. Repeated planner `step_index` entries are deduplicated. Output is bounded counts, sanitized tool names, timestamps and coverage warnings — **not prompts, arguments or model responses**.
|
|
14
|
-
|
|
15
|
-
A larger number of tool calls is not automatically lower quality; repeated source reads can be necessary after edits. Pair this comparison with independent acceptance results, matched task/model/effort/permissions and official CLI usage if available. Baseline Native/PILAH output quality has **not** been causally established by the current CI.
|
|
16
|
-
|
|
17
|
-
Private transcripts may contain login credentials; do not commit unreviewed originals. See [Decision review](AGENT_DECISION_REVIEW.md), [Intervention ledger](INTERVENTION_LEDGER.md), [benchmark protocol](AB_EVALUATION.md) and release blocker #15.
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# Private Benchmark Report Export
|
|
2
|
-
|
|
3
|
-
The **opt-in**, source-checkout-only exporter from issue #14 minimizes content before manual release of an A/B aggregate. It does **not** upload or publish anything.
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
node benchmarks/ab-evaluate.mjs manifest.json > aggregated.json
|
|
7
|
-
node scripts/export-benchmark.mjs aggregated.json > public-candidate.json
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
Only supported `<ab-evaluation-schema-id-from-source>` input can be exported. Output uses an explicit allowlist of recognized variant/status metadata and aggregate numeric measures. Setup prompts, paths, logs, conversation text, user IDs, cookies, credentials and source content are not intentionally emitted.
|
|
11
|
-
|
|
12
|
-
**Manually inspect every proposed public artifact anyway.** Redaction is not an authorization to share private Antigravity brain ZIPs, original STOCKROOM application snapshots, customer data or model transcripts. Compare actual native/PILAH quality and usage under controlled trials; an exported aggregate is **not** independent acceptance evidence.
|
|
13
|
-
|
|
14
|
-
Related: [A/B evaluation](AB_EVALUATION.md), [Token efficiency](TOKEN_EFFICIENCY.md), [Security](SECURITY.md), Open release blocker.
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
> **Historical research record:** Product terminology is standardized to PILAH; observed results belong to their original source revisions and must not be interpreted as current independent acceptance.
|
|
2
|
-
|
|
3
|
-
# Frozen STOCKROOM benchmark — independent local rerun
|
|
4
|
-
|
|
5
|
-
**Date:** 18 November 2026.
|
|
6
|
-
**Repository target:** `v2.0.1`.
|
|
7
|
-
**Source archives:** User-owned private Library ZIPs. This is an independent **environment/build preflight**, not F01–F18 execution evidence.
|
|
8
|
-
|
|
9
|
-
## Reproducible archive identity
|
|
10
|
-
|
|
11
|
-
| Private archive | SHA-256 |
|
|
12
|
-
| --- | --- |
|
|
13
|
-
| `stockroom-native(2).zip` | `b0add01495d7f3f763d08383de78bb6b49ba99937823309e20bb24ca17ef64f4` |
|
|
14
|
-
| `stockroom-pilah(1).zip` | `b69d9bd6e9245afdb918ca150fff6bcf0971cb59f06f127572db8bf9e099c48e` |
|
|
15
|
-
| `brain-native(2).zip` | `c51ec921268df83e643686d542966d88e77e298c8b26208e503d1a615fa5f1a4` |
|
|
16
|
-
| `Brain-PILAH(1).zip` | `e1235269992c7b87227b71dac660c71aeb591ce5881ca612c99bb97719907ef9` |
|
|
17
|
-
|
|
18
|
-
The four originals were not modified. The two app archives were extracted only into disposable, private copies with path traversal and ZIP symlinks skipped. Extracted executable bit normalization was required to run the existing esbuild binary.
|
|
19
|
-
|
|
20
|
-
## Observed executable checks
|
|
21
|
-
|
|
22
|
-
| Check | Native copy | PILAH-generated copy |
|
|
23
|
-
| --- | --- | --- |
|
|
24
|
-
| PHP `php -l` on app, routes, migrations and tests | **82/82 syntax checks passed** | **61/61 syntax checks passed** |
|
|
25
|
-
| Frontend Vite production build | **PASSED**, 665 modules transformed | **PASSED** |
|
|
26
|
-
| PHPUnit/Laravel integration test | **BLOCKED at test startup** | **BLOCKED at test startup** |
|
|
27
|
-
| Independent F01–F18 live HTTP/browser/database validation | **NOT RUN** | **NOT RUN** |
|
|
28
|
-
|
|
29
|
-
Environment: PHP CLI 8.4.24, Node 22.16.0, Chromium binary present. PHPUnit could not start because PHP `dom`, `mbstring`, and `xmlwriter` extensions were missing. The environment did not expose an installed `agy` command. An attempt to refresh apt repositories timed out; tests requiring the missing PHP runtime were not silently counted as passed or failed application assertions.
|
|
30
|
-
|
|
31
|
-
Commands executed on disposable copies, not the original ZIPs:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
find app routes database/migrations tests -type f -name '*.php' -print0 | xargs -0 -n1 php -l
|
|
35
|
-
node node_modules/vite/bin/vite.js build
|
|
36
|
-
php artisan test --stop-on-failure
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
**Interpretation:** both apps have parseable PHP code and buildable frontend assets under this toolchain. This says nothing about last-stock transaction safety, refund correctness, offline cache isolation, role enforcement, error sanitization or end-to-end browser recovery. These remain externally unverified. The original test suite did not produce independent passes because the PHP test runner did not start.
|
|
40
|
-
|
|
41
|
-
## Remaining required acceptance
|
|
42
|
-
|
|
43
|
-
All 18 scenarios in `tests/fixtures/stockroom-acceptance-18.json` remain **not-tested** in this rerun.
|
|
44
|
-
|
|
45
|
-
Execution still requires isolated Laravel PHP with PDO SQLite and DOM/mbstring/XMLWriter, a real backend and database per application, clean browser profiles and controlled full browser restart, and an independent assessor controlling scenario definitions and signing keys. F08/F09 require **two actual overlapping DB connections**. F10/F11 require complete browser process termination and profile restore; navigating or reloading a tab does not count.
|
|
46
|
-
|
|
47
|
-
The reproducible, frozen source archives are available to the user in their private Library and were intentionally **not committed** to `the existing repository`. Do not put their `.env`, logs, browser profiles, customer data or session archives into a public GitHub release.
|
|
48
|
-
|
|
49
|
-
This report is not release acceptance. The release gate remains blocked until independent live evidence and controlled repeated benchmark trials are available.
|
|
50
|
-
|
|
51
|
-
## Later PILAH implementation does not retroactively change this baseline
|
|
52
|
-
|
|
53
|
-
Behavioral PR #36 later merged to `v2.0.1` with 213/213 **PILAH Node tests**, including local MCP stdio/SQLite E2E. Those tests are **not reruns of these frozen Laravel applications**. The PHP extension blocker and missing independent F01–F18 browser/database execution remain unchanged. Do not relabel the private STOCKROOM negative controls as passing just because PILAH CI succeeded. See release issue #15.
|