Case Study

trail.venturanomadica.com

The Trail Framework website. Built end-to-end using Trail.

← Back to trail.venturanomadica.com

trail/runs/intent-002/run-2026-03-15-18-15-13/tasks.md

tasks.md

What's this? →
# Run: run-2026-03-15-18-15-13
# Purpose: Finish the nav fix, case study update, deploy workflow, and git push

## Task T01

**Description**  
Inspect the current scoped files and git state, then initialize `results.md` with any assumptions, blockers, or observations that could affect execution.

**Inputs**  
- `header.php`
- `case-studies.php`
- `style.css`
- `.git/`

**Outputs**  
- `results.md` updated with pre-change notes

**Acceptance Criteria**  
- `results.md` exists before code changes begin
- Any implementation-impacting observation is recorded

## Task T02

**Description**  
Fix the header navigation active-state behavior so the Scaffold item is no longer persistently highlighted and only the current page's nav item is marked active.

**Inputs**  
- `header.php`
- `style.css` if a minimal CSS change is required

**Outputs**  
- Updated `header.php`
- Updated `style.css` only if required

**Acceptance Criteria**  
- Navigating to each site page shows only that page's nav item highlighted
- Scaffold is not highlighted on unrelated pages
- No unrelated layout or styling changes are introduced

## Task T03

**Description**  
Update the `trail.venturanomadica.com` case-study stats in `case-studies.php` and leave the description text unchanged.

**Inputs**  
- `case-studies.php`

**Outputs**  
- Updated `case-studies.php`

**Acceptance Criteria**  
- The entry still says `This website.`
- The stats shown for `trail.venturanomadica.com` are exactly:
  - `2 intents`
  - `6 hours planning`
  - `8 min: Manager — both intents`
  - `25 min: Developer — both intents`
  - `45 minutes: Testing`

## Task T04

**Description**  
Create `.github/workflows/deploy.yml` to deploy the site to Infomaniak via rsync over SSH on pushes to `main`.

**Inputs**  
- Existing repository root

**Outputs**  
- `.github/workflows/deploy.yml`

**Acceptance Criteria**  
- The workflow triggers on push to `main`
- It uses `ubuntu-latest`
- It checks out the repository
- It authenticates SSH using `DEPLOY_SSH_KEY`
- It deploys with rsync over SSH
- It includes placeholder variables for `DEPLOY_HOST`, `DEPLOY_USER`, and `DEPLOY_PATH`
- The placeholders are clearly marked for human replacement

## Task T05

**Description**  
Commit all current and modified files required by the intent and push the resulting commit to `origin main`.

**Inputs**  
- Updated working tree
- Existing `origin` remote

**Outputs**  
- New git commit on `main`
- Pushed state on `origin/main`

**Acceptance Criteria**  
- All intended modifications are included in the commit
- The push targets `origin main`
- If push fails, the exact failure is documented in `results.md`

## Task T06

**Description**  
Verify the requested outcomes and record the final results in `results.md`.

**Inputs**  
- Completed local implementation
- Git state after commit/push attempt

**Outputs**  
- Updated `results.md`

**Acceptance Criteria**  
- `results.md` records each task as completed, partially completed, or blocked
- `results.md` includes verification notes for nav highlighting, case-study stats, workflow presence, and commit/push state
- `results.md` includes notable observations, surprising findings, and deviation reasoning