feat: reproduce innerhtml usage in torch/landing/index.html

- added reproduction script `torch/examples/reproducers/ISSUE_daily_style-agent_innerhtml/repro.py`
- updated `torch/src/issues/ISSUE_daily_style-agent_innerhtml.md` with reproduction results
- added `torch/KNOWN_ISSUES.md` with issue entry
- added missing scripts to `torch/package.json`
- generated scheduler artifacts (CONTEXT, TODO, DECISIONS, TEST_LOG, task-logs/weekly)

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-16 11:57:32 +00:00
1 parent 1e2c865b04
commit 5f3d790822
9 files changed
+104 -1

No files matched your search

@@ -0,0 +1,15 @@
# Context: bug-reproducer-agent run 2026-02-16T11:47:38Z
- Agent: bug-reproducer-agent
- Cadence: weekly
- Run-Start: 2026-02-16T11:47:38Z
- Prompt: src/prompts/weekly/bug-reproducer-agent.md
## Goal
Reproduce innerHTML issue.
## Scope
torch/landing/index.html
## Constraints
None.
@@ -0,0 +1,12 @@
# Decisions: bug-reproducer-agent run 2026-02-16T11:47:38Z
- Agent: bug-reproducer-agent
- Cadence: weekly
- Run-Start: 2026-02-16T11:47:38Z
- Prompt: src/prompts/weekly/bug-reproducer-agent.md
## Decision
Confirmed innerHTML usage.
## Rationale
Reproduction script found the string "innerHTML" in the file.
@@ -16,3 +16,14 @@ The `style-agent` detected usage of `innerHTML` in `landing/index.html`, which v
## Recommendation
Refactor the code to use `document.createElement` or `textContent` where possible.
## Reproduction Attempt (2026-02-16T11:47:38Z)
Ran reproduction script: `torch/examples/reproducers/ISSUE_daily_style-agent_innerhtml/repro.py`
```
Checking torch/landing/index.html for innerHTML usage...
FAILURE: innerHTML found in file.
Line 865: contentDiv.innerHTML = marked.parse(text);
Line 869: contentDiv.innerHTML = `<p class="text-danger">Error loading documentation: ${error.message}</p>`;
Line 931: const originalContent = btn.innerHTML;
Line 937: btn.innerHTML = originalContent;
```
@@ -0,0 +1,12 @@
# Test Log: bug-reproducer-agent run 2026-02-16T11:47:38Z
- Agent: bug-reproducer-agent
- Cadence: weekly
- Run-Start: 2026-02-16T11:47:38Z
- Prompt: src/prompts/weekly/bug-reproducer-agent.md
## Log
- Command: python3 torch/examples/reproducers/ISSUE_daily_style-agent_innerhtml/repro.py
- Result: Failure (innerHTML found).
Related Issue: [ISSUE_daily_style-agent_innerhtml]
@@ -0,0 +1,9 @@
# TODO: bug-reproducer-agent run 2026-02-16T11:47:38Z
- Agent: bug-reproducer-agent
- Cadence: weekly
- Run-Start: 2026-02-16T11:47:38Z
- Prompt: src/prompts/weekly/bug-reproducer-agent.md
## Completed Tasks
- [x] Reproduce innerHTML issue