Skip to content

intuitive-devops/ideal-amd64

Repository files navigation

ideal-amd64

Container-level ideal for autonomous workloads.

Run Locally

dotnet run -- --existence 033 --cycles 20 --format text

CLI Inputs

  • --existence (-e): 010 | 020 | 030 | 031 | 032 | 033 | 040 (default 033)
  • --cycles (-c): integer >= 1 (default 20)
  • --format (-f): text | json (default text)
  • --include-engine-logs: include internal learning logs in JSON mode
  • --list-instructional-assets: print packaged instructional image paths and exit
  • --print-instructional-readme: print the packaged Section 4 instructional README and exit
  • --export-instructional-assets <output-dir>: copy packaged instructional assets (README + images) to a directory and exit

Containerize And Run (Podman)

Build:

podman build -t localhost/ideal-amd64:local .

Run with text output:

podman run --rm localhost/ideal-amd64:local --existence 033 --cycles 20 --format text

Run with machine-readable trained outputs:

podman run --rm localhost/ideal-amd64:local --existence 033 --cycles 30 --format json --include-engine-logs

Retrieve packaged instructional images (list paths):

podman run --rm localhost/ideal-amd64:local --list-instructional-assets

Print the packaged Section 4 README:

podman run --rm localhost/ideal-amd64:local --print-instructional-readme

Retrieve packaged instructional assets as output files (mount host folder):

mkdir -p ./instructional-output
podman run --rm -v "$(pwd)/instructional-output:/output:Z" localhost/ideal-amd64:local --export-instructional-assets /output

Automated Retrieval (Makefile)

Default image: cartheur/ideal-amd64:latest

Export instructional README + images to ./instructional-output:

make docs-out

Print the instructional README to terminal:

make docs-readme

List instructional assets in the container:

make docs-list

Export assets and render PDF automatically:

make docs-pdf

Override image and output directory:

make docs-out IMAGE=localhost/ideal-amd64:local OUTPUT_DIR="$(pwd)/tmp-docs"

Override for PDF generation as well:

make docs-pdf IMAGE=localhost/ideal-amd64:local OUTPUT_DIR="$(pwd)/tmp-docs"

The JSON output emits one object per step, for example:

{"step":0,"mood":"Pleased","engineLogs":["Enacted e1r2"]}

Push To Docker Hub (After Tests)

podman login docker.io
podman tag localhost/ideal-amd64:local docker.io/<dockerhub-username>/ideal-amd64:0.1.0
podman push docker.io/<dockerhub-username>/ideal-amd64:0.1.0

Optional latest tag:

podman tag localhost/ideal-amd64:local docker.io/<dockerhub-username>/ideal-amd64:latest
podman push docker.io/<dockerhub-username>/ideal-amd64:latest

About

Container-level ideal for autonomous workloads

Resources

License

Stars

Watchers

Forks

Contributors