@aimlsuperagent/agent 0.1.3 → 0.1.4

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 CHANGED
@@ -124,6 +124,8 @@ Check a project for SuperAgent readiness:
124
124
  npx @aimlsuperagent/agent check .
125
125
  ```
126
126
 
127
+ Generated notes are intended to be safe to commit only after you keep them value-free: record names, roles, decisions, and verification summaries, never credential values, private customer data, local machine paths, or scratch-only notes.
128
+
127
129
  For personal machine-wide use, install the CLI globally:
128
130
 
129
131
  ```bash
@@ -104,6 +104,15 @@ function readJson(file) {
104
104
  return JSON.parse(fs.readFileSync(file, "utf8"));
105
105
  }
106
106
 
107
+ function isFrameworkPackageRepo(rootDir) {
108
+ try {
109
+ const packageJson = readJson(path.join(rootDir, "package.json"));
110
+ return packageJson.name === "@aimlsuperagent/agent";
111
+ } catch {
112
+ return false;
113
+ }
114
+ }
115
+
107
116
  let cachedPackageVersion;
108
117
 
109
118
  function packageVersion() {
@@ -370,7 +379,11 @@ function checkProject(targetDir, options = {}) {
370
379
  }
371
380
  }
372
381
 
373
- for (const file of RECOMMENDED_FILES) {
382
+ const recommendedFiles = isFrameworkPackageRepo(rootDir)
383
+ ? RECOMMENDED_FILES.filter((file) => file !== "DEPLOYMENT_LOG.md")
384
+ : RECOMMENDED_FILES;
385
+
386
+ for (const file of recommendedFiles) {
374
387
  if (!fs.existsSync(path.join(rootDir, file))) {
375
388
  findings.push({
376
389
  severity: "low",
@@ -598,6 +611,7 @@ async function main() {
598
611
  for (const action of actions) {
599
612
  console.log(`${action.type}: ${action.file}`);
600
613
  }
614
+ console.log("commit-safety: run `npx @aimlsuperagent/agent check .` before committing generated notes, and store names/roles only, never secret values.");
601
615
  const exitCode = 0;
602
616
  await recordCliAnalytics(options, {
603
617
  command,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aimlsuperagent/agent",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "A token-efficient operating framework for AI coding assistants.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,7 +16,6 @@
16
16
  "templates/",
17
17
  "AGENTS.md",
18
18
  "CONTRIBUTING.md",
19
- "DEPLOYMENT_LOG.md",
20
19
  "LICENSE",
21
20
  "README.md",
22
21
  "REPO_SOURCE_OF_TRUTH.json",
@@ -16,6 +16,7 @@ Describe the project in one paragraph.
16
16
  - Make small, task-traceable diffs.
17
17
  - Verify production reality before changing code when the task depends on live state.
18
18
  - Do not store secrets in notes, examples, commits, or logs.
19
+ - Keep generated notes commit-safe: names and roles are okay; credential values, local paths, customer data, and scratch-only notes are not.
19
20
  - Update durable notes only when reality changed.
20
21
 
21
22
  ## Do Not Load By Default
@@ -39,4 +40,3 @@ REPLACE_WITH_COMMAND
39
40
  ```
40
41
 
41
42
  If the command cannot run, state why.
42
-
@@ -1,8 +1,7 @@
1
1
  # Safe Environment Audit
2
2
 
3
- Do not store values. Store names, roles, scope, and verification status only.
3
+ This file is intended to be safe to commit when it stores names, roles, scope, and verification status only. Do not store values, connection strings, tokens, private keys, password hashes, customer data, or local machine paths.
4
4
 
5
5
  | Name | Role | Environments | Source Of Truth | Status | Last Verified |
6
6
  | --- | --- | --- | --- | --- | --- |
7
7
  | EXAMPLE_API_KEY | Example external API access | production, preview | hosting provider env | placeholder | YYYY-MM-DD |
8
-
@@ -1,5 +1,7 @@
1
1
  # Working Notes
2
2
 
3
+ These notes are safe to commit only when they contain durable project facts, decisions, and verification summaries. Do not write secrets, credential values, private customer data, local machine paths, or temporary scratch notes here.
4
+
3
5
  ## Current Durable Facts
4
6
 
5
7
  - Add only facts that will help future tasks.
@@ -15,4 +17,3 @@
15
17
  ## Stale Or Deprecated Facts
16
18
 
17
19
  - None recorded.
18
-
package/DEPLOYMENT_LOG.md DELETED
@@ -1,75 +0,0 @@
1
- # Deployment Log
2
-
3
- This repository is public. The npm package is published publicly at `@aimlsuperagent/agent`.
4
-
5
- ## 2026-05-31 - Private Repository Buildout
6
-
7
- Platform: local repository
8
- Commit or build: pending
9
- Change: Created AiML SuperAgent framework docs, templates, examples, schema, and checker.
10
- Verification: `npm run check`
11
- Rollback: revert this repository buildout before public release.
12
- Risks: license choice is intentionally unresolved before publication.
13
-
14
- ## 2026-05-31 - Hardening Pass
15
-
16
- Platform: local repository
17
- Commit or build: pending
18
- Change: Added stricter checker validation, public-repo templates, evaluation docs, anti-pattern docs, adoption playbook, and context-budget guidance.
19
- Verification: `npm run check`; example check; smoke init check; release check.
20
- Rollback: revert hardening pass before public release.
21
- Risks: release mode intentionally requires a license decision before public launch.
22
-
23
- ## 2026-05-31 - License Selection
24
-
25
- Platform: local repository
26
- Commit or build: pending
27
- Change: Added MIT License and updated package metadata.
28
- Verification: `node bin/aiml-superagent.js check . --release --strict`
29
- Rollback: change `LICENSE` and `package.json` before public release if a different license is selected.
30
- Risks: MIT terms apply to public reuse.
31
-
32
- ## 2026-05-31 - Private npm Package Preparation
33
-
34
- Platform: npm package metadata
35
- Commit or build: pending
36
- Change: Prepared package metadata for `@aimlsuperagent/agent` with restricted publish config, file allowlist, dry-run script, and private publishing documentation.
37
- Verification: `npm run check:release`; `npm run pack:dry-run`.
38
- Rollback: revert package metadata to local-only package before publishing.
39
- Risks: publishing remains blocked until npm scope ownership and private package support are confirmed.
40
-
41
- ## 2026-06-01 - Marvin Freedman Repo Connection
42
-
43
- Platform: GitHub and npm package metadata
44
- Commit or build: pending
45
- Change: Cloned `github.com/marvinbfreedman/aimlsuperagent`, updated npm package metadata for `@aimlsuperagent/agent` to point repository and issue links at `marvinbfreedman/aimlsuperagent`, and kept restricted npm publishing config.
46
- Verification: `npm run check:release`; `npm run pack:dry-run`; `npm publish --dry-run --access restricted --cache ./.npm-cache`.
47
- Rollback: restore `package.json` repository and bug links to the previous repository URL and publish a new patch version if npm metadata needs to move back.
48
- Risks: npm package metadata changes only become visible on npm after publishing a new version.
49
-
50
- ## 2026-06-01 - Trusted Publishing Workflow
51
-
52
- Platform: GitHub Actions and npm
53
- Commit or build: `64dc17b`; GitHub Actions run `26748684943`
54
- Change: Added `.github/workflows/npm-publish.yml` for npm Trusted Publishing with GitHub OIDC, `id-token: write`, Node 24, release readiness checks, and restricted npm publish.
55
- Verification: trusted publisher created for `marvinbfreedman/aimlsuperagent` and `npm-publish.yml`; workflow completed successfully; `npm view @aimlsuperagent/agent version repository.url bugs.url --json` reports version `0.1.1` with the Marvin Freedman repository URLs.
56
- Rollback: remove the workflow file and publish manually with npm OTP or an npm token that npm accepts for package PUT writes.
57
- Risks: public package installs no longer require npm organization authorization.
58
-
59
- ## 2026-06-01 - Restricted npm Publish
60
-
61
- Platform: npm
62
- Commit or build: package version `0.1.1`
63
- Change: Published `@aimlsuperagent/agent@0.1.1` from `marvinbfreedman/aimlsuperagent` through npm Trusted Publishing.
64
- Verification: GitHub Actions run `26748684943` completed with `success`; npm metadata now shows repository `git+https://github.com/marvinbfreedman/aimlsuperagent.git` and bugs URL `https://github.com/marvinbfreedman/aimlsuperagent/issues`.
65
- Rollback: publish a new patch version with corrected metadata or access policy; do not unpublish unless there is a security issue.
66
- Risks: package remains private/restricted, so unauthorized users see npm `404`/access errors by design.
67
-
68
- ## 2026-06-01 - Public npm Access
69
-
70
- Platform: npm and GitHub
71
- Commit or build: `69f1a93`; package version `0.1.2`; GitHub Actions run `26749384029`
72
- Change: Changed `@aimlsuperagent/agent` access from private/restricted to public. Confirmed `github.com/marvinbfreedman/aimlsuperagent` is public.
73
- Verification: `npm access set status=public @aimlsuperagent/agent` returned `@aimlsuperagent/agent: public`; repository API reported `visibility: public`; GitHub Actions publish completed successfully; registry metadata reports latest `0.1.2` with `publishConfig.access` set to `public`.
74
- Rollback: npm public access can be changed back only deliberately with `npm access set status=private`; do not do that unless distribution should become private again.
75
- Risks: package and repository are now available to the public, so all future docs and examples must stay secret-safe.