Skip to content

doc: Add llms.txt for the πŸ€– πŸ•·οΈ#446

Draft
popey wants to merge 1 commit intomainfrom
add-llms-txt
Draft

doc: Add llms.txt for the πŸ€– πŸ•·οΈ#446
popey wants to merge 1 commit intomainfrom
add-llms-txt

Conversation

@popey
Copy link
Contributor

@popey popey commented Aug 27, 2025

Description

This PR adds a small text file llms.txt to the root of the repo. The goal being to improve responses from generative AI queries, when they're asked about topics pertinent to the contents of this repo.

Type of change

  • Documentation (updates the documentation)

Signed-off-by: Alan Pope <alan.pope@anchore.com>
@github-actions
Copy link

Benchmark Test Results

Benchmark results from the latest changes vs base branch
make .tool/task
make[1]: Entering directory '/home/runner/work/stereoscope/stereoscope'
make[1]: Leaving directory '/home/runner/work/stereoscope/stereoscope'
.tool/task show-benchstat
?   	github.com/anchore/stereoscope	[no test files]
?   	github.com/anchore/stereoscope/examples	[no test files]
PASS
ok  	github.com/anchore/stereoscope/internal	0.003s
?   	github.com/anchore/stereoscope/internal/bus	[no test files]
PASS
ok  	github.com/anchore/stereoscope/internal/containerd	0.007s
PASS
ok  	github.com/anchore/stereoscope/internal/docker	0.004s
?   	github.com/anchore/stereoscope/internal/log	[no test files]
PASS
ok  	github.com/anchore/stereoscope/internal/podman	0.005s
?   	github.com/anchore/stereoscope/pkg/event	[no test files]
?   	github.com/anchore/stereoscope/pkg/event/parsers	[no test files]
goos: linux
goarch: amd64
pkg: github.com/anchore/stereoscope/pkg/file
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkTarIndex-4   	   35809	     33202 ns/op	    5697 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   35854	     33465 ns/op	    5698 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   35793	     33257 ns/op	    5699 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   35977	     33378 ns/op	    5698 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   35853	     34032 ns/op	    5699 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   35922	     33412 ns/op	    5698 B/op	      93 allocs/op
BenchmarkTarIndex-4   	   35756	     33301 ns/op	    5699 B/op	      93 allocs/op
PASS
ok  	github.com/anchore/stereoscope/pkg/file	10.777s
PASS
ok  	github.com/anchore/stereoscope/pkg/filetree	0.004s
?   	github.com/anchore/stereoscope/pkg/filetree/filenode	[no test files]
PASS
ok  	github.com/anchore/stereoscope/pkg/image	0.005s
PASS
ok  	github.com/anchore/stereoscope/pkg/image/containerd	0.008s
PASS
ok  	github.com/anchore/stereoscope/pkg/image/docker	0.004s
PASS
ok  	github.com/anchore/stereoscope/pkg/image/oci	0.005s
PASS
ok  	github.com/anchore/stereoscope/pkg/image/oci/credhelpers	0.005s
?   	github.com/anchore/stereoscope/pkg/image/podman	[no test files]
PASS
ok  	github.com/anchore/stereoscope/pkg/image/sif	0.004s
?   	github.com/anchore/stereoscope/pkg/imagetest	[no test files]
PASS
ok  	github.com/anchore/stereoscope/pkg/tree	0.003s
PASS
ok  	github.com/anchore/stereoscope/pkg/tree/node	0.003s
goos: linux
goarch: amd64
pkg: github.com/anchore/stereoscope/test/integration
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1026	   1157779 ns/op	  286895 B/op	    2557 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1029	   1159315 ns/op	  286555 B/op	    2556 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1033	   1151631 ns/op	  286400 B/op	    2556 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1026	   1151754 ns/op	  286317 B/op	    2555 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1040	   1196534 ns/op	  286072 B/op	    2555 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	     934	   1268055 ns/op	  285921 B/op	    2555 allocs/op
BenchmarkSimpleImage_GetImage/docker-archive-4 	    1053	   1137007 ns/op	  285844 B/op	    2555 allocs/op
--- FAIL: BenchmarkSimpleImage_GetImage/podman
    fixture_image_simple_test.go:175: could not get fixture image: unable to detect input for 'stereoscope-fixture-image-simple:04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7', errs: podman not available: no host address
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 DONE 0.0s

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 345B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load build context
#3 transferring context: 209B done
#3 DONE 0.0s

#4 [2/3] ADD file-2.txt /somefile-2.txt
#4 CACHED

#5 [1/3] ADD file-1.txt /somefile-1.txt
#5 CACHED

#6 [3/3] ADD target /
#6 CACHED

#7 exporting to image
#7 exporting layers done
#7 writing image sha256:d2c0e474bdf03afc26edda4bf21a34c353405ea203d2dd24a3daf1669b7652bd done
#7 naming to docker.io/library/stereoscope-fixture-image-simple:04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7 done
#7 naming to docker.io/library/stereoscope-fixture-image-simple:latest done
#7 DONE 0.0s
ctr: failed to dial "/run/containerd/containerd.sock": connection error: desc = "transport: error while dialing: dial unix /run/containerd/containerd.sock: connect: permission denied"
--- FAIL: BenchmarkSimpleImage_GetImage
    image_fixtures.go:193: using existing image tar: 'test-fixtures/cache/stereoscope-fixture-image-simple-04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7.tar' (size: 22528, modified: 2025-08-27 14:56:47.047752902 +0000 UTC, mode: -rw-r--r--)
    image_fixtures.go:241: Build docker image: name="stereoscope-fixture-image-simple" tag="04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7"
    image_fixtures.go:291: saveImage running: docker image save stereoscope-fixture-image-simple:04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7
    image_fixtures.go:286: 
        	Error Trace:	/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:286
        	            				/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:162
        	            				/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:152
        	            				/home/runner/work/stereoscope/stereoscope/pkg/imagetest/image_fixtures.go:33
        	            				/home/runner/work/stereoscope/stereoscope/test/integration/fixture_image_simple_test.go:163
        	            				/opt/hostedtoolcache/go/1.24.6/x64/src/testing/benchmark.go:245
        	            				/opt/hostedtoolcache/go/1.24.6/x64/src/runtime/asm_amd64.s:1700
        	Error:      	Received unexpected error:
        	            	exit status 1
        	Test:       	BenchmarkSimpleImage_GetImage
        	Messages:   	could not import docker image to containerd (shell out)
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   61462	     19335 ns/op	    2616 B/op	      18 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   61712	     19347 ns/op	    2616 B/op	      18 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   62005	     19347 ns/op	    2616 B/op	      18 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   62332	     19308 ns/op	    2616 B/op	      18 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   62128	     19304 ns/op	    2616 B/op	      18 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   61310	     19415 ns/op	    2616 B/op	      18 allocs/op
BenchmarkSimpleImage_FetchSquashedContents/docker-archive-4         	   61980	     19317 ns/op	    2616 B/op	      18 allocs/op
--- FAIL: BenchmarkSimpleImage_FetchSquashedContents
    image_fixtures.go:193: using existing image tar: 'test-fixtures/cache/stereoscope-fixture-image-simple-04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7.tar' (size: 22528, modified: 2025-08-27 14:56:47.047752902 +0000 UTC, mode: -rw-r--r--)
    image_fixtures.go:75: error getting fixture image: 'podman' 'image-simple' with request 'podman:stereoscope-fixture-image-simple:04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7': unable to detect input for 'stereoscope-fixture-image-simple:04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7', errs: podman not available: no host address
FAIL
exit status 1
FAIL	github.com/anchore/stereoscope/test/integration	19.742s
?   	github.com/anchore/stereoscope/test/integration/test-fixtures/registry	[no test files]
FAIL
goos: linux
goarch: amd64
pkg: github.com/anchore/stereoscope/pkg/file
cpu: AMD EPYC 7763 64-Core Processor                
ctr: 
           β”‚ .tmp/benchmark-944711e.txt β”‚
           β”‚           sec/op           β”‚
TarIndex-4                  33.38Β΅ Β± 2%

           β”‚ .tmp/benchmark-944711e.txt β”‚
           β”‚            B/op            β”‚
TarIndex-4                 5.564Ki Β± 0%

           β”‚ .tmp/benchmark-944711e.txt β”‚
           β”‚         allocs/op          β”‚
TarIndex-4                   93.00 Β± 0%

pkg: github.com/anchore/stereoscope/test/integration
                                      β”‚ .tmp/benchmark-944711e.txt β”‚
                                      β”‚           sec/op           β”‚
SimpleImage_GetImage/docker-archive-4                 1.158m Β± 10%

                                      β”‚ .tmp/benchmark-944711e.txt β”‚
                                      β”‚            B/op            β”‚
SimpleImage_GetImage/docker-archive-4                 279.6Ki Β± 0%

                                      β”‚ .tmp/benchmark-944711e.txt β”‚
                                      β”‚         allocs/op          β”‚
SimpleImage_GetImage/docker-archive-4                  2.555k Β± 0%

ctr: failed to dial "/run/containerd/containerd.sock": connection error: desc = "transport: error while dialing: dial unix /run/containerd/containerd.sock: connect: permission denied"
                                                   β”‚ .tmp/benchmark-944711e.txt β”‚
                                                   β”‚           sec/op           β”‚
SimpleImage_FetchSquashedContents/docker-archive-4                  19.34Β΅ Β± 0%

                                                   β”‚ .tmp/benchmark-944711e.txt β”‚
                                                   β”‚            B/op            β”‚
SimpleImage_FetchSquashedContents/docker-archive-4                 2.555Ki Β± 0%

                                                   β”‚ .tmp/benchmark-944711e.txt β”‚
                                                   β”‚         allocs/op          β”‚
SimpleImage_FetchSquashedContents/docker-archive-4                   18.00 Β± 0%
goos: linux
goarch: amd64
pkg: github.com/anchore/stereoscope/pkg/file
cpu: AMD EPYC 7763 64-Core Processor                
ctr: 
           β”‚ .tmp/benchmark-944711e.txt β”‚
           β”‚           sec/op           β”‚
TarIndex-4                  33.38Β΅ Β± 2%

           β”‚ .tmp/benchmark-944711e.txt β”‚
           β”‚            B/op            β”‚
TarIndex-4                 5.564Ki Β± 0%

           β”‚ .tmp/benchmark-944711e.txt β”‚
           β”‚         allocs/op          β”‚
TarIndex-4                   93.00 Β± 0%

pkg: github.com/anchore/stereoscope/test/integration
                                      β”‚ .tmp/benchmark-944711e.txt β”‚
                                      β”‚           sec/op           β”‚
SimpleImage_GetImage/docker-archive-4                 1.158m Β± 10%

                                      β”‚ .tmp/benchmark-944711e.txt β”‚
                                      β”‚            B/op            β”‚
SimpleImage_GetImage/docker-archive-4                 279.6Ki Β± 0%

                                      β”‚ .tmp/benchmark-944711e.txt β”‚
                                      β”‚         allocs/op          β”‚
SimpleImage_GetImage/docker-archive-4                  2.555k Β± 0%

ctr: failed to dial "/run/containerd/containerd.sock": connection error: desc = "transport: error while dialing: dial unix /run/containerd/containerd.sock: connect: permission denied"
                                                   β”‚ .tmp/benchmark-944711e.txt β”‚
                                                   β”‚           sec/op           β”‚
SimpleImage_FetchSquashedContents/docker-archive-4                  19.34Β΅ Β± 0%

                                                   β”‚ .tmp/benchmark-944711e.txt β”‚
                                                   β”‚            B/op            β”‚
SimpleImage_FetchSquashedContents/docker-archive-4                 2.555Ki Β± 0%

                                                   β”‚ .tmp/benchmark-944711e.txt β”‚
                                                   β”‚         allocs/op          β”‚
SimpleImage_FetchSquashedContents/docker-archive-4                   18.00 Β± 0%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant