harbor run -t openthoughts/tasktrove-exp-rpt-pr-v2-pr-3174harbor download openthoughts/tasktrove-exp-rpt-pr-v2-pr-3174This task asks you to build a small, self-contained Linux project in /app that simulates a hardware watchdog timer using a POSIX timer and a signal-based interrupt handler. The implementation must rely only on standard C and POSIX APIs and should be fully self-contained (no external dependencies). The goal is to provide a simple, observable demonstration of a watchdog that can be “kicked” to prevent a timeout, and that triggers a simulated interrupt (signal) when the watchdog expires.
What to change / add (high level)
Pre-commit file contents (starting state)
# Placeholder — original code before the change
pass
What to modify/create in /app/ (files to add or update)
Behavioral outcomes / observable results you should achieve
Notes and constraints
How this maps to the commit message
Please implement in /app/ exactly as described above, creating the new C source/header layout, the Makefile, and a demonstration main program. Do not reveal or include the exact patch code here; the goal is to implement the described behavior and structure.