What is wrong with this code?

GTH is a an action applying to nothing. Understand "go to house" as GTH.

For some reason Inform says that

The sentence 'GTH is a an action applying to nothing'   appears to say two things are the same - I am reading 'GTH' and 'an action applying to nothing' as two different things, and therefore it makes no sense to say that one is the other: it would be like saying that 'Adam is Eve'.

Whyyyyyyyyy?!

I also tried

GTH is an action. Understand "go to house" as GTH.

Same error message. I don’t want “go to [any room]” for this.

Your problem is the spare “a” in

“GTH is a an action applying to nothing”

– Inform ignores the first article, but on encountering the second, it thinks the “an” must be part of the name of something, not part of an action definition. So it’s now looking to understand “a an action applying to nothing” as “a (an action applying to nothing)” where everything in the parens there must be some kind. But of course it doesn’t know of any such kind, so it’s at a loss.

Take out the first “a” and it compiles fine.

Ohhhhh. I missed that ‘a’

Oops. Brain fart.