mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 19:07:04 +01:00
Apply prettier to endurain/README.md
Committed unformatted in 558883f2, which makes the pre-push prettier
hook fail for anyone pushing afterwards. Formatting only: 9 lines
reflowed, no content touched.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9677da2832
commit
cf4077712a
@ -0,0 +1,28 @@
|
||||
{
|
||||
"intent": "Unblock the shared branch by applying prettier to endurain/README.md, which was committed unformatted by another agent and fails the pre-push prettier hook for everyone pushing after it.",
|
||||
"scope": [
|
||||
"endurain/README.md (formatting only)",
|
||||
"Non-goal: any content change; this file belongs to another agent's feature"
|
||||
],
|
||||
"changes": [
|
||||
"Ran the repo's prettier over endurain/README.md, reflowing 9 lines"
|
||||
],
|
||||
"verification": [
|
||||
{
|
||||
"command": "npx prettier --check on every markdown/json/yaml file in the push range",
|
||||
"result": "fail",
|
||||
"evidence": "Only endurain/README.md was flagged; my own files and the other agent's json/yml were already clean."
|
||||
},
|
||||
{
|
||||
"command": "npx prettier --write endurain/README.md; git diff --stat",
|
||||
"result": "pass",
|
||||
"evidence": "9 insertions, 9 deletions -- pure reflow, no content added or removed."
|
||||
}
|
||||
],
|
||||
"risks": [
|
||||
"The file belongs to another agent's in-flight feature; a formatting-only change could conflict with their next edit, though prettier output is deterministic so a re-run converges."
|
||||
],
|
||||
"rollback": [
|
||||
"git revert the commit; the pre-push prettier hook will then block pushes again until it is reformatted"
|
||||
]
|
||||
}
|
||||
@ -10,15 +10,15 @@ unlock authority.
|
||||
|
||||
## Paths
|
||||
|
||||
| What | Where |
|
||||
|---|---|
|
||||
| Public URL | `https://endurain.kuhy.duckdns.org` |
|
||||
| Local URL | `http://127.0.0.1:8085` (loopback only) |
|
||||
| WebDAV inbox | `https://kuhy-cloud.duckdns.org/RunnerUp` → `~/cloud/RunnerUp/` |
|
||||
| Runtime data | `/var/opt/endurain/` |
|
||||
| Ledger | `~/.local/state/endurain-import/ledger.json` |
|
||||
| What | Where |
|
||||
| ------------- | --------------------------------------------------------------------------- |
|
||||
| Public URL | `https://endurain.kuhy.duckdns.org` |
|
||||
| Local URL | `http://127.0.0.1:8085` (loopback only) |
|
||||
| WebDAV inbox | `https://kuhy-cloud.duckdns.org/RunnerUp` → `~/cloud/RunnerUp/` |
|
||||
| Runtime data | `/var/opt/endurain/` |
|
||||
| Ledger | `~/.local/state/endurain-import/ledger.json` |
|
||||
| Importer code | `../python_pkg/endurain_import/` (repo requires Python under `python_pkg/`) |
|
||||
| Secrets | `.env`, `.api_key` (both gitignored, mode 600) |
|
||||
| Secrets | `.env`, `.api_key` (both gitignored, mode 600) |
|
||||
|
||||
## Flow
|
||||
|
||||
@ -56,7 +56,7 @@ cd .. && .venv/bin/python -m pytest python_pkg/endurain_import/tests/ -q # 52 t
|
||||
it rides on the existing Let's Encrypt cert.
|
||||
- **Endurain does not deduplicate.** Re-uploading a file creates a second
|
||||
activity. All dedupe is the importer's job, on two axes: the content hash,
|
||||
*and* an activity key that collapses the `.gpx`/`.tcx` pair RunnerUp writes
|
||||
_and_ an activity key that collapses the `.gpx`/`.tcx` pair RunnerUp writes
|
||||
for a single run (different bytes, same run).
|
||||
- **`X-API-Key`, not `X-Client-Type`.** Endurain's own OpenAPI schema declares
|
||||
the `APIKeyHeader` scheme with the wrong name; verified against the server.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user