nex-code 0.4.23 → 0.4.25

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
@@ -909,18 +909,20 @@ This enables non-linear conversations: try an approach, and if it doesn't work,
909
909
 
910
910
  ### Autoresearch
911
911
 
912
- Autonomous optimization loops inspired by Karpathy's autoresearch pattern. The agent edits code, runs experiments, logs results, and automatically keeps improvements or reverts failures:
912
+ Autonomous optimization loops inspired by [Karpathy's autoresearch](https://github.com/karpathy/autoresearch). The agent creates a dedicated experiment branch, edits code, runs experiments, and automatically keeps improvements or reverts failures:
913
913
 
914
914
  ```
915
915
  /autoresearch reduce test runtime while maintaining correctness
916
916
  /autoresearch optimize bundle size under 500kb
917
917
  ```
918
918
 
919
- The agent follows a repeating cycle: **checkpoint** (git) -> **edit** -> **run experiment** -> **log result** -> **keep or revert**. All experiments are logged to `.nex/autoresearch/experiments.json` with metrics and trend tracking.
919
+ The agent follows a repeating cycle on a dedicated `autoresearch/<tag>` branch: **setup branch** -> **checkpoint** -> **edit** -> **run experiment** -> **log result** -> **keep or revert (git reset)**. Runs indefinitely until you interrupt. Experiments are logged to `.nex/autoresearch/experiments.json` with metrics, resource usage, and complexity tracking. Output can be redirected to log files with metric extraction via grep patterns to protect context.
920
920
 
921
921
  ```
922
- /ar-status # show experiment history with trends
923
- /ar-clear # reset experiment history
922
+ /ar-self-improve # self-improvement loop using nex-code's benchmark as metric
923
+ /ar-self-improve sysadmin # focus on a specific weak category
924
+ /ar-status # show experiment history with trends
925
+ /ar-clear # reset experiment history
924
926
  ```
925
927
 
926
928
  ### Memory