Compare commits
15
Commits
4ed80d7927
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2daa0dbd9 | ||
|
|
11ac824a32 | ||
|
|
533ddfb38a | ||
|
|
620dec7b2a | ||
|
|
c8feda9d0a | ||
|
|
7b6d0031b4 | ||
|
|
fe7b75aa4d | ||
|
|
1d941afe01 | ||
|
|
48ec71ae1d | ||
|
|
c54d549545 | ||
|
|
08f9864b1e | ||
|
|
6048911c30 | ||
|
|
7ea76fe2ec | ||
|
|
8a8f7632fb | ||
|
|
26a71432e3 |
@@ -1,3 +1,22 @@
|
|||||||
# filepilot-pipeline
|
## Product Scope
|
||||||
|
|
||||||
One-click DevSecOps deployment for controlled LLM-assisted file updates
|
FilePilot demonstrates a controlled file-update workflow. It accepts a target
|
||||||
|
file description, expected text, and replacement text. The application locates
|
||||||
|
the file only within an approved demonstration directory, verifies the expected
|
||||||
|
text, creates a backup, presents a diff, performs the replacement, verifies the
|
||||||
|
result, and records the outcome.
|
||||||
|
|
||||||
|
FilePilot does not provide unrestricted filesystem access, general desktop
|
||||||
|
control, arbitrary shell execution, or open-ended autonomous planning.
|
||||||
|
|
||||||
|
## Demonstration Acceptance Criteria
|
||||||
|
|
||||||
|
The demonstration succeeds when FilePilot:
|
||||||
|
|
||||||
|
1. finds the approved project-status file;
|
||||||
|
2. confirms that it contains `Status: Draft`;
|
||||||
|
3. creates a backup;
|
||||||
|
4. shows the proposed change;
|
||||||
|
5. replaces the line with `Status: Reviewed`;
|
||||||
|
6. verifies the saved result; and
|
||||||
|
7. records the outcome without exposing secrets.
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
acme_ca https://acme-v02.api.letsencrypt.org/directory
|
||||||
|
}
|
||||||
|
|
||||||
|
{$GITEA_HOSTNAME} {
|
||||||
|
reverse_proxy gitea:3000
|
||||||
|
}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
# Gitea Operations
|
||||||
|
|
||||||
|
This directory contains the versioned, non-secret Gitea deployment.
|
||||||
|
|
||||||
|
## Current staging design
|
||||||
|
|
||||||
|
- Gitea image: `docker.gitea.com/gitea:1.27.3-rootless`
|
||||||
|
- Database: SQLite
|
||||||
|
- Application data volume: `filepilot-gitea_gitea-data`
|
||||||
|
- Configuration volume: `filepilot-gitea_gitea-config`
|
||||||
|
- Temporary access: `127.0.0.1:3000`
|
||||||
|
- Public backend port: none
|
||||||
|
- Git-over-SSH: disabled
|
||||||
|
|
||||||
|
The loopback mapping is temporary until the assignment domain, HTTPS proxy,
|
||||||
|
and final hostname are configured.
|
||||||
|
|
||||||
|
## Operations
|
||||||
|
|
||||||
|
Start or update the service:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose up -d
|
||||||
|
docker compose ps
|
||||||
|
docker compose logs --tail=100 gitea
|
||||||
|
docker compose down
|
||||||
|
```
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
name: myfileagent-gitea
|
||||||
|
|
||||||
|
services:
|
||||||
|
caddy:
|
||||||
|
image: caddy:2.11.4-alpine
|
||||||
|
container_name: myfileagent-caddy
|
||||||
|
restart: unless-stopped
|
||||||
|
profiles:
|
||||||
|
- https
|
||||||
|
environment:
|
||||||
|
GITEA_HOSTNAME: ${GITEA_HOSTNAME:-localhost}
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
volumes:
|
||||||
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||||
|
- caddy-data:/data
|
||||||
|
- caddy-config:/config
|
||||||
|
networks:
|
||||||
|
- edge
|
||||||
|
- gitea-private
|
||||||
|
depends_on:
|
||||||
|
- gitea
|
||||||
|
|
||||||
|
gitea:
|
||||||
|
image: docker.gitea.com/gitea:1.27.3-rootless
|
||||||
|
container_name: myfileagent-gitea
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
GITEA__database__DB_TYPE: sqlite3
|
||||||
|
GITEA__database__PATH: /var/lib/gitea/data/gitea.db
|
||||||
|
GITEA__server__DOMAIN: "${GITEA_DOMAIN:-localhost}"
|
||||||
|
GITEA__server__ROOT_URL: "${GITEA_ROOT_URL:-http://localhost:3000/}"
|
||||||
|
GITEA__server__HTTP_PORT: 3000
|
||||||
|
GITEA__server__DISABLE_SSH: "true"
|
||||||
|
GITEA__service__DISABLE_REGISTRATION: "true"
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:3000:3000"
|
||||||
|
volumes:
|
||||||
|
- gitea-data:/var/lib/gitea
|
||||||
|
- gitea-config:/etc/gitea
|
||||||
|
networks:
|
||||||
|
- gitea-private
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
caddy-data:
|
||||||
|
caddy-config:
|
||||||
|
gitea-data:
|
||||||
|
gitea-config:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
edge:
|
||||||
|
gitea-private:
|
||||||
Reference in New Issue
Block a user