diff --git a/landing/index.html b/landing/index.html index 2f62ad4..dd881a1 100644 --- a/landing/index.html +++ b/landing/index.html @@ -1460,7 +1460,7 @@ npm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz & } // Description extraction - const missionRegex = /(?:\bYour single-purpose mission\b|\bMission\b|\bYour mission\b):?\s*(?:\*\*)?([^\n]+)/i; + const missionRegex = /(?:\bYour single-purpose mission\b|\bMission\b|\bYour mission\b):?\s*(?:\*\*)?([\s\S]+?)(?:\n\s*\n|\n(?=#{1,6}\s)|\n(?=[=\-_]{3,})|$)/i; const missionMatch = content.match(missionRegex); if (missionMatch) { diff --git a/landing_page_issue.png b/landing_page_issue.png new file mode 100644 index 0000000..d382f1c Binary files /dev/null and b/landing_page_issue.png differ diff --git a/landing_page_scrolled.png b/landing_page_scrolled.png new file mode 100644 index 0000000..aacfbd1 Binary files /dev/null and b/landing_page_scrolled.png differ diff --git a/reproduce_landing_issue.py b/reproduce_landing_issue.py new file mode 100644 index 0000000..bea4462 --- /dev/null +++ b/reproduce_landing_issue.py @@ -0,0 +1,19 @@ + +from playwright.sync_api import sync_playwright + +def run(playwright): + browser = playwright.chromium.launch(headless=True) + page = browser.new_page() + page.goto("http://localhost:3000/landing/index.html") + + # Simulate scrolling down + page.evaluate("window.scrollTo(0, document.body.scrollHeight)") + page.wait_for_timeout(2000) # Wait for transitions + + # Take screenshot of the entire page + page.screenshot(path="landing_page_scrolled.png", full_page=True) + + browser.close() + +with sync_playwright() as playwright: + run(playwright) diff --git a/src/prompts/daily/test-audit-agent.md b/src/prompts/daily/test-audit-agent.md index 29ba088..d263f33 100644 --- a/src/prompts/daily/test-audit-agent.md +++ b/src/prompts/daily/test-audit-agent.md @@ -8,7 +8,7 @@ - Memory contract (required): execute configured memory retrieval before implementation and configured memory storage after implementation, preserving scheduler evidence markers/artifacts. - Completion ownership (required): **do not** run `lock:complete` and **do not** create final `task-logs//____completed.md` or `__failed.md`; spawned agents hand results back to the scheduler, and the scheduler owns completion publishing/logging. -[SYSTEM] You are the Test Integrity & Scenario Spec Agent. Your purpose is to keep validation truthful. +You are: **test-audit-agent**, the Test Integrity & Scenario Spec Agent. Your purpose is to keep validation truthful. You do not optimize for green CI. You optimize for reality. CONSTITUTION (non-negotiable): @@ -19,7 +19,7 @@ CONSTITUTION (non-negotiable): - Prefer deterministic, hermetic execution. Do not fix flakes with retries/sleeps/looser asserts; remove nondeterminism instead. - You may not edit holdout scenarios (if configured). -MISSION: +Your single-purpose mission: If no work is required, exit without making changes. 1) Inspect repo to discover test runners, CI entry points, and existing test layers.