agenticu 0.1.0 → 0.1.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/PROVENANCE.md ADDED
@@ -0,0 +1,33 @@
1
+ # Release contract and upstream pass
2
+
3
+ HEL-1177, Ryan's "let's do" on 2026-11-29 authorizes finishing npm distribution and the fresh-house connection. His next instruction explicitly asks for a proper upstream pass and automatic updating or recurring house upkeep. This release uses the package name `agenticu`; staff, not the principal, operates it.
4
+
5
+ Desired ordinary use:
6
+
7
+ ```sh
8
+ npm install --global --prefix "$HOME/.local/share/agenticu/cli" agenticu@0.1.1
9
+ ~/.local/share/agenticu/cli/bin/agenticu --version
10
+ ~/.local/share/agenticu/cli/bin/agenticu login --root /absolute/house
11
+ ~/.local/share/agenticu/cli/bin/agenticu sync --root /absolute/house
12
+ ~/.local/share/agenticu/cli/bin/agenticu where --root /absolute/house
13
+ ```
14
+
15
+ Release gate: pack, install into a separate prefix outside this repository, run the actual installed executable against a temporary university and the live public map, then exercise the deployed approval/sync flow. A source import passing inside this monorepo is insufficient. Node 22+ remains the runtime prerequisite; no Node type stripping, private workspace package or compilation is required by the consumer. The package is proprietary (`UNLICENSED`); this does not relicense the bundled MIT/ISC dependencies, whose full notices ship with it.
16
+
17
+ ## Packaging
18
+
19
+ Adopt esbuild 0.28.2's existing Node bundle API; it is already pinned transitively in this owner. Upstream evanw/esbuild, MIT, inspected at f6058f8364fe7ab91ca57a83e02577ed74c9cae4: `lib/npm/node.ts` exports `build`; `internal/bundler_tests/bundler_default_test.go`, `TestHashbangBundle`, `TestHashbangNoBundle`, and `TestHashbangBannerUseStrictOrder` cover retaining an executable entry's hashbang. Its API remains build-only, never bundled into the product. Bundle Effect and the precise path-profile schema/readiness implementation into one ESM JavaScript executable, retain dependency notices, and test the packed executable itself outside the workspace. No copied bundler code or new compiler framework.
20
+
21
+ ## Recurring updates
22
+
23
+ Cloudflare cf, MIT OR Apache-2.0, inspected at b0d81a466e6c796a91f705fc7d49d34dca72abbf: `packages/cli/src/commands/update/{index,install}.ts` and `src/__tests__/commands/update.test.ts`. Adopt its invariant that an update must target the installation actually being used; refuse ambiguous ownership and preserve package-manager failure. Useful tested failure cases: a different global copy, ephemeral npx execution, a non-registry dependency, malformed metadata, shared pnpm groups and an invalid URL target. Do not copy its five-manager dispatcher into a product whose supported install is npm in one dedicated user-owned prefix. npm already performs registry integrity checks and installation; staff can invoke that directly with an exact version and prefix. No second installer or per-invocation background updater is needed.
24
+
25
+ Compared sindresorhus/update-notifier at 012a61df21bed8b13043da732d4ed15404b78b03 (MIT): `update-notifier.js`, `check.js`, and `test/update-notifier.js`. Its daily cache/background process defers a notice; its tests exercise opt-outs, and the child records successful checks separately from failures. It does not adopt updates. A known daily house routine can check source, announcements and package versions together, report named failures, adopt allowed stable updates at a safe boundary and verify the installed command afterward. Keep the house's private files and university tokens outside the installation prefix. Save the previous version and reinstall that exact version if the new executable fails its smoke check; never silently claim the update succeeded. Starter UPDATES.md owns the recurring policy and opt-out. This implementation does not start a daemon or change a project's pinned dependency.
26
+
27
+ Actual publication and live connection evidence are now in QUALIFICATION.md: 0.1.0 is in the public registry, downloaded bytes match the qualified release, fresh registry installs pass on Mac/Linux and a real observed attempt reached production. This does not claim factory-new OS preparation or a complete daily upgrade cycle.
28
+
29
+ Published versions are immutable. Release source is tagged at its actual snapshot, not at a newer main that happens to exist when the tag is made. Later main changes can remain development work; a subsequent registry publication needs a new version in the package manifest and CLI version constant, whose agreement the consumer regression checks. The registry and its exact release artifact own the installed version; no recipient upgrades from an unpublished main build.
30
+
31
+ The official npm 11 `npm-install` documentation confirms global prefix ownership and exact-version installs. Its `npm-cache` documentation explicitly rejects treating the cache as durable storage. Recovery therefore retains an actual previous release tarball outside the tool prefix; it does not merely assume a cache hit. These primary docs were read on 2026-11-29: https://docs.npmjs.com/cli/v11/commands/npm-install/ and https://docs.npmjs.com/cli/v11/commands/npm-cache/.
32
+
33
+ Publication uses the installed npm 11.20.0's own 2FA flow. Inspected `lib/utils/auth.js`, `otplease`: it only invokes `npm-profile`'s `webAuthOpener` when stdin/stdout are terminals; a captured child instead returns EOTP with its approval/done URLs. The release helper therefore inherits the caller's terminal for publish and retains npm's own retry/poll/OTP behavior. Run it in a terminal with browser opening disabled, use the approved browser/private authentication card for the returned URL, and let npm finish. It verifies the tarball hash before making a private frozen copy, keeps the supplied token in a temporary mode-0600 npmrc, preserves failure and removes the temporary config afterward. No registry credential is placed in package data or global npm configuration.
@@ -0,0 +1,34 @@
1
+ # agenticu 0.1.0 release qualification
2
+
3
+ Observed 2026-11-29 under Ryan's release request, Codex gpt-6.1-sol. This is staff qualification using the owner's existing account, not customer acceptance or a factory-new Mac trial. Native thread identity and private originals remain in the owning intake and local evidence.
4
+
5
+ ## Public artifact
6
+
7
+ `agenticu@0.1.0` is published at https://www.npmjs.com/package/agenticu/v/0.1.0. Anonymous registry metadata returned latest=0.1.0 and the downloaded registry tarball matched the checked release exactly:
8
+
9
+ - Tarball SHA-256: 611dc0f2a92d4ad289f988ce4329c70dd49948de5aed8d1f92317d44ae84d5a1.
10
+ - Registry SHA-512 integrity: sha512-o3mTHsk59SAH01oFqSsODIM434LemrDoIJmnPMUQ+xIk/TJ/bIAnJH6Yl6CU1wfIDUwvvO3Uty2OSWx/Pq82GQ==.
11
+ - Executable SHA-256: 5119a8b202877d4c408f2b6b52643bf37ed14d5bc53ce4f4c6fc1a1d03e379c9.
12
+ - Release source: 73cc49e, before the later additive map changes on main. The runtime bundle is identical to the previously qualified 31438cd candidate; the final change was truthful README qualification text.
13
+
14
+ The four-file tarball contains the executable, full dependency notices, README and package manifest, with no runtime package dependencies. Node 22+ is required. No provider credentials, account records or business material ship.
15
+
16
+ ## Real consumers
17
+
18
+ The same regression installed into a fresh prefix outside the source tree, ran the actual executable, matched its version to the installed manifest, read a canonical map into a fresh house, observed not-ready rather than invented readiness, verified unsigned whoami fails, and reinstalled while preserving private house files. It passed from the local tarball and again from the public registry on Mac arm64/Node26.13.1 and Linux arm64/Node22.23.5. The tarball Linux run had networking disabled. The registry Linux run used a fresh container with network access and no source-tree dependencies or credentials mounted.
19
+
20
+ Linux image: node:22-alpine@sha256:1314fb30ec37592d5845e5a160d522c0e680972aa534549940b8d73bde88481a. Root check/test/build and the origin-confinement/argument-admission regressions passed. The same consumer regression is in root pnpm test; an explicit agenticu@VERSION source selects registry qualification.
21
+
22
+ ## Deployed connection and progress
23
+
24
+ An isolated qualification house connected to the existing owner's deployed university account via native email sign-in and one house approval. Staff operated the browser on Ryan's behalf under his explicit request; this does not claim he physically clicked or accepted a new-member experience. Optional clip telemetry stayed off. The token was verified mode0600 outside the house.
25
+
26
+ Whoami, sync, map/path, g-welcome and follow-up-quotes succeeded. The qualification producer encoded one actual observed university-connection attempt using the authoritative path-profile Attempt schema, then used the installed CLI to sync it. Production reported sent1/received1/kept1; the staff counts page reflected university reached1. The house retained lock=null and setup incomplete; no other capability or installed result was invented. Full ran/seen/receipt material stayed local; only contracted progress metadata left the house.
27
+
28
+ This proves a real nonempty progress upload. It does not distribute the general starter writer (HEL-1158), prove all house prerequisites, install a result or establish a business outcome for a new customer.
29
+
30
+ ## Failure evidence and release method
31
+
32
+ The original npm credential returned401. The owner provided a private publishing credential. Captured publication failed EOTP; installed npm source showed that its native web-OTP flow requires a terminal, and JSON output buffers its approval URL. The helper now preserves a terminal and uses npm's own approval/poll/retry behavior with browser opening disabled; the owner completed npm's real browser2FA. The first interrupted temporary credential directory was enumerated and removed interactively; the successful helper removed its own private temporary config. No global npmrc was changed.
33
+
34
+ npm's publication acknowledgment initially preceded anonymous registry availability. Publication was claimed only after anonymous readback, exact downloaded-byte comparison and registry consumer installation succeeded. Private source receipts and authentication failures remain under .local/cli-release*; authentication links, email addresses and house/token identifiers are deliberately omitted here.
package/README.md CHANGED
@@ -5,7 +5,7 @@ Built fresh under ADR 0053, to `docs/design/agenticu-cli-direction.md`. A house'
5
5
  One bundled JavaScript executable, with no runtime package dependencies. Staff installs the official release in a dedicated user-owned prefix:
6
6
 
7
7
  ```sh
8
- npm install --global --prefix "$HOME/.local/share/agenticu/cli" --ignore-scripts agenticu@0.1.0
8
+ npm install --global --prefix "$HOME/.local/share/agenticu/cli" --ignore-scripts agenticu@0.1.1
9
9
  ~/.local/share/agenticu/cli/bin/agenticu login --root ~/AgenticU/house
10
10
  ```
11
11
 
@@ -36,7 +36,9 @@ Each attempt's id, what it was for (a capability or a result), whether it passed
36
36
 
37
37
  ## Release and recurring upkeep
38
38
 
39
- Build with `pnpm --filter agenticu build`; pack with `pnpm --filter agenticu pack`. `pnpm --filter agenticu test` packs and installs the actual executable outside this checkout, reads the house's map/path, checks the unsigned-in failure and verifies a reinstall preserves private files. Root `pnpm test` includes this regression. The tarball includes full Effect and Lucide license notices; build/test scripts and private sources are excluded. [PROVENANCE.md](PROVENANCE.md) records the exact upstream code/tests and intended caller.
39
+ Build with `pnpm --filter agenticu build`; pack with `pnpm --filter agenticu pack`. `pnpm --filter agenticu test` packs and installs the actual executable outside this checkout, reads the house's map/path, checks the unsigned-in failure and verifies a reinstall preserves private files. Root `pnpm test` includes this regression. The tarball includes full Effect and Lucide license notices; build/test scripts and private sources are excluded. [PROVENANCE.md](https://unpkg.com/agenticu@0.1.1/PROVENANCE.md) records the exact upstream code/tests and intended caller and is also included in the installed package.
40
+
41
+ 0.1.1 includes the linked provenance and sanitized [initial release qualification](https://unpkg.com/agenticu@0.1.1/QUALIFICATION.md), which the 0.1.0 file allowlist omitted. It also incorporates the current additive map schema fields from the owner without changing agenticu-map/1 or the six command contracts. Private run records and authentication data remain excluded.
40
42
 
41
43
  The public starter's UPDATES.md owns automatic recurring updates: first local turn of the day, check the official source, public feed and installed CLI together; adopt compatible stable updates unless opted out or pinned, stage/check first and retain the previous release tarball for recovery. Use npm to replace the recorded installation, preserving house files and tokens outside the tool prefix. This CLI does not launch an updater in the background on every command or implement a second installer.
42
44
 
package/dist/agenticu.js CHANGED
@@ -45930,7 +45930,19 @@ var PublishedClip = Schema_exports.Struct({
45930
45930
  take: Schema_exports.NullOr(Take)
45931
45931
  });
45932
45932
  var RecordNext = Schema_exports.Struct({ capability: Id, clips: Schema_exports.NonEmptyArray(Id) });
45933
- var Shape = Schema_exports.Struct({ in: Text, out: Text, check: Text });
45933
+ var Thing = Schema_exports.Struct({
45934
+ id: Id,
45935
+ title: Text,
45936
+ to_owner: Text,
45937
+ sort_of: Schema_exports.NullOr(Id)
45938
+ });
45939
+ var Shape = Schema_exports.Struct({
45940
+ in: Text,
45941
+ out: Text,
45942
+ check: Text,
45943
+ takes: Schema_exports.optionalKey(Schema_exports.Array(Id)),
45944
+ makes: Schema_exports.optionalKey(Schema_exports.Array(Id))
45945
+ });
45934
45946
  var prerequisites = (ref) => Schema_exports.Union([
45935
45947
  Schema_exports.Struct({ join: Schema_exports.Literal("all"), of: Schema_exports.Array(ref) }),
45936
45948
  Schema_exports.Struct({ join: Schema_exports.Literal("any"), of: Schema_exports.NonEmptyArray(ref) }),
@@ -46012,6 +46024,7 @@ var MapFile = Schema_exports.Struct({
46012
46024
  version: Schema_exports.String.check(Schema_exports.isPattern(/^sha256:[0-9a-f]{64}$/u)),
46013
46025
  capabilities: Schema_exports.Array(Capability),
46014
46026
  tools: Schema_exports.Array(Tool),
46027
+ things: Schema_exports.optionalKey(Schema_exports.Array(Thing)),
46015
46028
  frameworks: Schema_exports.Array(Framework),
46016
46029
  results: Schema_exports.Array(Result2),
46017
46030
  clips: Schema_exports.Array(PublishedClip),
@@ -46374,7 +46387,7 @@ var Aims = Schema_exports.Struct({
46374
46387
  var aimsFile = ".agenticu/university/aims.json";
46375
46388
 
46376
46389
  // src/university.ts
46377
- var version = "0.1.0";
46390
+ var version = "0.1.1";
46378
46391
  var defaultOrigin = "https://agenticu.surf";
46379
46392
  var Refused = class extends Data_exports.TaggedError("Refused") {
46380
46393
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agenticu",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Ties a house to its owner's Agentic University account and syncs path progress against the map. Six commands; a staff runs it, the owner approves once in a browser.",
5
5
  "homepage": "https://agenticu.surf",
6
6
  "license": "UNLICENSED",
@@ -9,7 +9,9 @@
9
9
  },
10
10
  "files": [
11
11
  "dist/agenticu.js",
12
- "dist/THIRD_PARTY_NOTICES.txt"
12
+ "dist/THIRD_PARTY_NOTICES.txt",
13
+ "PROVENANCE.md",
14
+ "QUALIFICATION.md"
13
15
  ],
14
16
  "type": "module",
15
17
  "publishConfig": {