<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/grasp-audit/test-ngit-relay.sh, branch v1.0.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/atom?h=v1.0.1</id>
<link rel='self' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/atom?h=v1.0.1'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/'/>
<updated>2025-11-28T01:44:58+00:00</updated>
<entry>
<title>grasp-audit run all tests in audit mode</title>
<updated>2025-11-28T01:44:58+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2025-11-28T01:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/commit/?id=f053827e0a157f348d9cf834f026a8de322abfe2'/>
<id>urn:sha1:f053827e0a157f348d9cf834f026a8de322abfe2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: sh script to work from main directory</title>
<updated>2025-11-28T00:58:42+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2025-11-28T00:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/commit/?id=0c1d60a2ad69e79e83d36ed8a001743fde3d6666'/>
<id>urn:sha1:0c1d60a2ad69e79e83d36ed8a001743fde3d6666</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix cargo test invocation in test-ngit-relay.sh and documentation</title>
<updated>2025-11-05T12:46:02+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2025-11-05T12:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/commit/?id=94bf5c39af0d8d0a9a15db240d5d46383ec22160'/>
<id>urn:sha1:94bf5c39af0d8d0a9a15db240d5d46383ec22160</id>
<content type='text'>
- Changed from 'cargo test --lib test_grasp01_nostr_relay_against_relay' to 'cargo test --lib -- --ignored --nocapture'
- This correctly runs ALL library tests marked with #[ignore], not just GRASP-01
- Updated AGENTS.md and grasp-audit/README.md with correct commands
- Added examples showing both 'run all ignored tests' and 'run specific test' patterns
</content>
</entry>
<entry>
<title>feat(grasp-audit): standardize testing with test-ngit-relay.sh</title>
<updated>2025-11-05T12:05:38+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2025-11-05T12:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/commit/?id=1e267c282d07c68dbee4682c66d3933032ed7fec'/>
<id>urn:sha1:1e267c282d07c68dbee4682c66d3933032ed7fec</id>
<content type='text'>
Establish test-ngit-relay.sh as the canonical testing approach for
GRASP-01 compliance tests, eliminating manual relay setup and ensuring
consistent, reproducible test environments.

**Enhanced test-ngit-relay.sh:**
- Add command-line argument parsing (--mode, --spec, --help)
- Support both audit and test execution modes
- Comprehensive inline documentation
- Backward compatible (default behavior unchanged)

**Documentation updates:**
- AGENTS.md: Add "Standard Testing Process" section
- AGENTS.md: Update Quick Reference to prioritize test-ngit-relay.sh
- AGENTS.md: Add Critical Gotcha #7 about using the test script
- grasp-audit/README.md: Add prominent Quick Start section
- grasp-audit/README.md: Reorganize testing documentation

**Benefits:**
- Automatic relay lifecycle management (start, cleanup)
- Random port selection prevents conflicts
- Isolated temporary directories per run
- Guaranteed cleanup on success or failure
- Consistent test environment across all developers

All changes tested and verified working.
</content>
</entry>
<entry>
<title>fix: hardcoded port</title>
<updated>2025-11-05T10:19:56+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2025-11-05T10:19:56+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/commit/?id=86077d24e7cc8ff9d474a5947f0151d005f9f747'/>
<id>urn:sha1:86077d24e7cc8ff9d474a5947f0151d005f9f747</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: use CLI tool in test script, ensure cleanup on errors</title>
<updated>2025-11-05T07:35:29+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2025-11-05T07:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/commit/?id=b5bc16daa7e70e6c8a3576be38a8beb564294804'/>
<id>urn:sha1:b5bc16daa7e70e6c8a3576be38a8beb564294804</id>
<content type='text'>
- Replace 'cargo test' with 'cargo run -- audit' CLI command
- Cleanup still happens via trap even when tests fail
- Add helpful message about expected failures for ngit-relay
</content>
</entry>
<entry>
<title>docs: simplify README testing section, point to test script</title>
<updated>2025-11-05T07:35:02+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2025-11-05T07:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/commit/?id=81d611004917afffe5af01925eee7e7695c54b3d'/>
<id>urn:sha1:81d611004917afffe5af01925eee7e7695c54b3d</id>
<content type='text'>
- Remove duplicated setup/cleanup instructions from README
- Point to test-ngit-relay.sh for full details
- Add simple one-liner for manual testing
- Fix container name bug in test script (was using bare $)
</content>
</entry>
<entry>
<title>test: improve test script with unique names and random ports</title>
<updated>2025-11-05T07:17:47+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2025-11-05T07:09:41+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/commit/?id=cb466fbc02b83c5788def5fef73f93573f5c1f70'/>
<id>urn:sha1:cb466fbc02b83c5788def5fef73f93573f5c1f70</id>
<content type='text'>
- Remove python3 dependency for port selection
- Use RANDOM for port selection in range 20000-30000
- Use unique container names based on PID: grasp-audit-run-294183
- Use unique temp directories: grasp-audit-run-XXXXXXXXXX
- Ensures parallel test runs don't conflict
</content>
</entry>
<entry>
<title>test: add ngit-relay integration testing instructions</title>
<updated>2025-11-05T07:03:04+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2025-11-05T07:03:04+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-grasp-mirror/commit/?id=74c7b090a6ec7f749a3a79dcb0c9a0a6bc198702'/>
<id>urn:sha1:74c7b090a6ec7f749a3a79dcb0c9a0a6bc198702</id>
<content type='text'>
- Add RELAY_URL environment variable support to tests
- Document expected behavior when testing against ngit-relay
- Add test-ngit-relay.sh script for automated testing
- Clarify that ngit-relay only accepts Git events (NIP-34)
- Note that 4/6 NIP-01 smoke tests passing is expected
- Key validation tests (invalid signature/ID) pass correctly
- Add instructions for testing against general-purpose relays

The validation tests passing confirms ngit-relay implements NIP-01
correctly, even though it has restrictive acceptance policies.
</content>
</entry>
</feed>
