Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
45efe94
fixed table parsing issue
smervs Apr 4, 2023
73516f2
README: Fix strike delimiter comment
Tobbe Jun 20, 2023
6e22b73
docs: add comprehensive issue and PR analysis report
claude Nov 7, 2025
88b9510
docs: add comprehensive assessment prompt template
claude Nov 7, 2025
d2e7eb6
docs: add master plan and agent prompt templates
claude Nov 7, 2025
03109ff
chore: update dependencies to latest CJS-compatible versions
claude Nov 7, 2025
f1a5046
fix: eliminate circular dependency between config and utilities
claude Nov 7, 2025
eae5d0d
fix: remove perf functions from browser builds
claude Nov 7, 2025
10e5c2a
fix: handle mixed-case HTML tags correctly
claude Nov 7, 2025
8c5aa49
docs: add comprehensive newline handling documentation
claude Nov 7, 2025
5aea8d9
fix: merge PR #53 and PR #47 - docs and table fixes
claude Nov 7, 2025
0eaaee3
fix: correct nested list indentation to 2 spaces
claude Nov 7, 2025
14913a6
fix: preserve whitespace and newlines in code blocks
claude Nov 7, 2025
1414207
docs: add validation report for issue #63
claude Nov 7, 2025
dde5687
fix: preserve whitespace before inline formatting elements
claude Nov 7, 2025
d4f7729
merge: Agent 00 - Dependency updates
claude Nov 7, 2025
71dc817
merge: Agent 01 - Critical build issues (#74, #58, #63)
claude Nov 7, 2025
e87e854
merge: Agent 02 - PR merges (#47, #35) for table cells and critical p…
claude Nov 7, 2025
63497f3
merge: Agent 03 - Validation and critical parsing analysis
claude Nov 7, 2025
e2a8920
merge: Agent 04 - Whitespace before inline elements (#61, #34)
claude Nov 7, 2025
fe044ad
merge: Agent 05 - Nested list indents (#57) with configurable indent
claude Nov 7, 2025
29a1a57
merge: Agent 07 - Code block whitespace fixes (#52, #24)
claude Nov 7, 2025
cc0b233
fix: resolve merge conflict in defaultCodeBlockTranslators
claude Nov 7, 2025
a181639
fix: prevent multiplicative indentation in nested lists (#57)
claude Nov 7, 2025
4b9ee2d
fix: trim trailing whitespace while preserving two-space line breaks
claude Nov 7, 2025
d1cfa43
Updated deps (#77)
nonara Nov 8, 2025
2b66e9b
fix: eliminate circular dependency between config and utilities
claude Nov 7, 2025
8de76c8
fix: remove perf functions from browser builds
claude Nov 7, 2025
f5bf924
fix: handle mixed-case HTML tags correctly
claude Nov 7, 2025
6bc7520
docs: add comprehensive newline handling documentation
claude Nov 7, 2025
b938034
refactor!: Explicitly deny special handling for elements that should …
nonara Nov 14, 2025
5d0c03e
test: Updated tests for all current changes
nonara Nov 14, 2025
a11053a
build: Added local configs to .gitignore
nonara Nov 14, 2025
9a8a2a2
build(npm): Updated lockfile
nonara Nov 14, 2025
4a8c79c
Merge branch 'claude/agent-issues-cleanup-011CUsYjWB7NMJYAHfjx8RPr' i…
nonara Nov 14, 2025
b836687
Merge pull request #80
nonara Nov 14, 2025
a98c31d
build(npm): Updated package.json to require Node >=20
nonara Nov 14, 2025
7a4f1a9
fix: Ignore options overwritten if block element. (fixes #49)
nonara Nov 14, 2025
a83d728
fix: Prevent backslash escaping in tables within list items (fixes #60)
nonara Nov 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
165 changes: 165 additions & 0 deletions .agents/plan/fixes/agents/agent-00.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
# Agent 00: Dependency Updates

## ROLE

You are a Staff Software Engineer with 25+ years of experience specializing in HTML/Markdown parsing, build systems, and open source project maintenance. You have deep expertise in TypeScript, Node.js, and browser compatibility.

## CONTEXT

### Repository: node-html-markdown
A TypeScript library that converts HTML to Markdown, supporting both Node.js and browser environments.

### Your Assignment: Foundation Dependency Updates

**Branch:** `fixes/agent-00-deps`
**Parent Branch:** `claude/agent-issues-cleanup-011CUsYjWB7NMJYAHfjx8RPr` (base)
**Type:** Implementation
**Phase:** 0 (Foundation - SEQUENTIAL)

**Items to address:**
- Update all dependencies to latest CJS-compatible versions
- Run dependency security audit
- Ensure no ESM-only dependencies are introduced
- Validate all tests and builds pass with updated dependencies

**Expected deliverable:** Updated package.json and package-lock.json with all dependencies current, tests passing, build working, no security vulnerabilities

**Why this is first:** This creates a clean foundation for all subsequent fixes and prevents version conflicts during parallel execution.

**Blocks:** All other agents (01-12) depend on this completing successfully

---

## BRANCHING INSTRUCTIONS

### Step 1: Create Your Branch
```bash
# Ensure you're on the base branch
git checkout claude/agent-issues-cleanup-011CUsYjWB7NMJYAHfjx8RPr

# Pull latest changes
git pull origin claude/agent-issues-cleanup-011CUsYjWB7NMJYAHfjx8RPr

# Create your branch
git checkout -b fixes/agent-00-deps
```

### Step 2: Work on Your Branch
- All changes go to `fixes/agent-00-deps`
- Commit frequently with conventional commits
- Run tests before each commit

### Step 3: Push Your Branch
```bash
# Push your branch
git push -u origin fixes/agent-00-deps
```

### Step 4: Report Completion
After pushing, report:
- Branch name: `fixes/agent-00-deps`
- Commits made: List with messages
- Tests status: All passing
- Build status: Success
- Dependencies updated: List major version changes
- Security vulnerabilities: None remaining
- Ready for: Agent 01 to begin

---

## TASK

### Implementation Tasks (Do NOT just assess - IMPLEMENT)

**This agent is Type: Implementation - you must execute the changes, not just plan them.**

#### Task 1: Analyze Current Dependencies
1. Read `package.json` and `package-lock.json`
2. Identify all dependencies and their current versions
3. Check for known security vulnerabilities: `npm audit`
4. Document current state

#### Task 2: Update Dependencies
1. Update all dependencies to latest CJS-compatible versions
2. **CRITICAL:** Do NOT introduce ESM-only dependencies
3. Pay special attention to:
- TypeScript and build tools
- Test frameworks and dependencies
- Any html/dom parsing libraries
- Development dependencies
4. Run: `npm update`
5. Run: `npm audit fix`
6. If major version updates are available, evaluate carefully:
- Check breaking changes in CHANGELOGs
- Test thoroughly before committing
- Document any major version bumps

#### Task 3: Validate Changes
1. **Build test:** Run the build process
```bash
npm run build
```
2. **Test suite:** Run all tests
```bash
npm test
```
3. **Security check:** Verify no vulnerabilities
```bash
npm audit
```
4. **Manual smoke test:** Test a few conversions manually if possible

#### Task 4: Commit Changes
Use conventional commits:
```bash
git add package.json package-lock.json
git commit -m "chore: update dependencies to latest CJS-compatible versions"
```

If you made multiple update passes, use separate commits:
```bash
git commit -m "chore: update dev dependencies"
git commit -m "chore: update production dependencies"
git commit -m "chore: fix security vulnerabilities"
```

#### Task 5: Document and Report
Create a summary of:
- Dependencies updated (name, old version → new version)
- Any major version bumps and their impact
- Security vulnerabilities fixed
- Test results
- Build status
- Any issues encountered

---

## CONSTRAINTS

### Test Quality Requirements (CRITICAL)
- **ALL tests MUST pass** - No shortcuts, no exceptions
- **NEVER delete tests to make them pass** - This is absolutely forbidden
- **NEVER skip tests** - Use `.skip()` only temporarily with justification
- **NEVER lower test standards** - Don't weaken assertions to pass
- **NEVER ignore test failures** - Every failure must be investigated and resolved
- **If tests prove difficult** - Flag for additional agent support, don't compromise
- **Test failures are data** - They reveal problems that must be fixed, not hidden
- **When in doubt** - Write MORE tests, not fewer

---

## SUCCESS CRITERIA

Your implementation is successful if:

✅ **All dependencies updated** - Everything at latest CJS-compatible version
✅ **No ESM-only deps** - Build remains CommonJS compatible
✅ **All tests pass** - Full test suite green
✅ **Build succeeds** - Production build works
✅ **No security vulns** - `npm audit` shows no vulnerabilities
✅ **Clear documentation** - Summary of all changes made
✅ **Branch pushed** - Changes available for Agent 01 to build upon

---

**Good luck! You're creating the foundation for 11 other agents to build upon.**
Loading
Loading